]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Nov 2020 17:29:42 +0000 (11:29 -0600)
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>
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

index f8a371078a08052f73e0127cd232f69ecb29bcbc..44fc5aaaf1c63c344d8d0653e332d8cce95d5938 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;