mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

DT schema expects PMIC GPIO pin configuration nodes to be named with '-state' suffix. Optional children should be either 'pinconf' or followed with '-pins' suffix. This fixes dtbs_check warnings like: sdm845-xiaomi-beryllium.dtb: gpios@c000: 'vol-up-active' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220507194913.261121-6-krzysztof.kozlowski@linaro.org
55 lines
1.2 KiB
Text
55 lines
1.2 KiB
Text
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2021, AngeloGioacchino Del Regno
|
|
* <angelogioacchino.delregno@somainline.org>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8998-sony-xperia-yoshino.dtsi"
|
|
|
|
/ {
|
|
model = "Sony Xperia XZ Premium";
|
|
compatible = "sony,xperia-maple", "qcom,msm8998";
|
|
chassis-type = "handset";
|
|
|
|
disp_dvdd_vreg: disp-dvdd-vreg {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "disp_dvdd_en";
|
|
regulator-min-microvolt = <1350000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
startup-delay-us = <0>;
|
|
enable-active-high;
|
|
gpio = <&pmi8998_gpio 10 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&disp_dvdd_en>;
|
|
};
|
|
};
|
|
|
|
&ibb {
|
|
regulator-min-microvolt = <5600000>;
|
|
regulator-max-microvolt = <5600000>;
|
|
};
|
|
|
|
&lab {
|
|
regulator-min-microvolt = <5800000>;
|
|
regulator-max-microvolt = <5800000>;
|
|
qcom,soft-start-us = <200>;
|
|
};
|
|
|
|
&pmi8998_gpio {
|
|
disp_dvdd_en: disp-dvdd-en-active-state {
|
|
pins = "gpio10";
|
|
function = "normal";
|
|
bias-disable;
|
|
drive-push-pull;
|
|
output-high;
|
|
power-source = <0>;
|
|
qcom,drive-strength = <1>;
|
|
};
|
|
};
|
|
|
|
&vreg_l22a_2p85 {
|
|
regulator-min-microvolt = <2704000>;
|
|
regulator-max-microvolt = <2704000>;
|
|
};
|