OSDN Git Service

arm64: dts: qcom: align PMIC GPIO pin configuration with DT schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 28 Aug 2022 08:43:37 +0000 (11:43 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 30 Aug 2022 02:59:34 +0000 (21:59 -0500)
DT schema expects PMIC GPIO pin configuration nodes to be named with
'-state' suffix:

  qcom/sc7280-herobrine-crd.dtb: pmic@2: gpio@8800: 'edp-bl-reg-en' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220828084341.112146-11-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts

index d17f925..bc795c4 100644 (file)
@@ -167,7 +167,7 @@ ap_ts_pen_1v8: &i2c13 {
                          "PMIC_EDP_BL_PWM",
                          "";
 
-       edp_bl_reg_en: edp-bl-reg-en {
+       edp_bl_reg_en: edp-bl-reg-en-state {
                pins = "gpio6";
                function = "normal";
                bias-disable;
index fc0505e..afc17e4 100644 (file)
 };
 
 &pm8998_gpio {
-       volume_up_gpio: pm8998_gpio6 {
+       volume_up_gpio: pm8998-gpio6-state {
                pinconf {
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
                        function = "normal";