]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: armada: align GPIO hog names with dtschema
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 16 Sep 2020 15:57:14 +0000 (17:57 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 29 Nov 2020 10:51:09 +0000 (11:51 +0100)
The convention for node names is to use hyphens, not underscores.
dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-388-clearfog.dts
arch/arm/boot/dts/armada-388-clearfog.dtsi
arch/arm/boot/dts/armada-388-helios4.dts

index 20f8d4667753c18ff06733e002d196240c99662c..4140a5303b4824e5741b70b996c6caaada1b72bf 100644 (file)
         * 14-SFP_TX_DISABLE
         * 15-SFP_MOD_DEF0
         */
-       pcie2_0_clkreq {
+       pcie2-0-clkreq-hog {
                gpio-hog;
                gpios = <4 GPIO_ACTIVE_LOW>;
                input;
                line-name = "pcie2.0-clkreq";
        };
-       pcie2_0_w_disable {
+       pcie2-0-w-disable-hog {
                gpio-hog;
                gpios = <7 GPIO_ACTIVE_LOW>;
                output-low;
index a0aa1d188f0cb62d7744c5590708154e49b36749..f8a06ae4a3c91613cfb37370e62b6f1336fa0664 100644 (file)
                #gpio-cells = <2>;
                reg = <0x20>;
 
-               pcie1_0_clkreq {
+               pcie1-0-clkreq-hog {
                        gpio-hog;
                        gpios = <0 GPIO_ACTIVE_LOW>;
                        input;
                        line-name = "pcie1.0-clkreq";
                };
-               pcie1_0_w_disable {
+               pcie1-0-w-disable-hog {
                        gpio-hog;
                        gpios = <3 GPIO_ACTIVE_LOW>;
                        output-low;
                        line-name = "pcie1.0-w-disable";
                };
-               usb3_ilimit {
+               usb3-ilimit-hog {
                        gpio-hog;
                        gpios = <5 GPIO_ACTIVE_LOW>;
                        input;
                        line-name = "usb3-current-limit";
                };
-               usb3_power {
+               usb3-power-hog {
                        gpio-hog;
                        gpios = <6 GPIO_ACTIVE_HIGH>;
                        output-high;
                        line-name = "usb3-power";
                };
-               m2_devslp {
+               m2-devslp-hog {
                        gpio-hog;
                        gpios = <11 GPIO_ACTIVE_HIGH>;
                        output-low;
index fb49df2a3bce7b02169dae13551dd5eb5f7befba..b3728de3bd3fa8825142d77d0a2c068b238a1359 100644 (file)
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
 
-                                       board_rev_bit_0 {
+                                       board-rev-bit-0-hog {
                                                gpio-hog;
                                                gpios = <0 GPIO_ACTIVE_LOW>;
                                                input;
                                                line-name = "board-rev-0";
                                        };
-                                       board_rev_bit_1 {
+                                       board-rev-bit-1-hog {
                                                gpio-hog;
                                                gpios = <1 GPIO_ACTIVE_LOW>;
                                                input;
                                                line-name = "board-rev-1";
                                        };
-                                       usb3_ilimit {
+                                       usb3-ilimit-hog {
                                                gpio-hog;
                                                gpios = <5 GPIO_ACTIVE_HIGH>;
                                                input;