arm64: dts: qcom: c630: Fix pinctrl pins properties
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Nov 2020 17:00:28 +0000 (11:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:26 +0000 (11:53 +0100)
[ Upstream commit f55d373f7953909160cb4c1398f62123cdbe7650 ]

The "pins" property takes an array of pin _names_, not pin numbers. Fix
this.

Tested-by: Steev Klimaszewski <steev@kali.org>
Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630")
Link: https://lore.kernel.org/r/20201130170028.319798-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

index 60c6ab8..76a8c99 100644 (file)
        gpio-reserved-ranges = <0 4>, <81 4>;
 
        i2c3_hid_active: i2c2-hid-active {
-               pins = <37>;
+               pins = "gpio37";
                function = "gpio";
 
                input-enable;
        };
 
        i2c5_hid_active: i2c5-hid-active {
-               pins = <125>;
+               pins = "gpio125";
                function = "gpio";
 
                input-enable;
        };
 
        i2c11_hid_active: i2c11-hid-active {
-               pins = <92>;
+               pins = "gpio92";
                function = "gpio";
 
                input-enable;
        };
 
        wcd_intr_default: wcd_intr_default {
-               pins = <54>;
+               pins = "gpio54";
                function = "gpio";
 
                input-enable;