]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: marvell: armada: Align GPIO hog name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 16 Jan 2025 08:59:47 +0000 (09:59 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 7 Mar 2025 16:48:52 +0000 (17:48 +0100)
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it
to fix dtbs_check warnings like:

  armada-385-clearfog-gtr-s4.dtb: wifi-disable: $nodename:0: 'wifi-disable' does not match '^.+-hog(-[0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi
arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts

index 8208c6a9627a8cee2ed584d21b87c53888742307..7aa71a9aa1bbca4f6dbd327e2728bac54661d2f5 100644 (file)
        pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>;
        pinctrl-names = "default";
 
-       wifi-disable {
+       wifi-disable-hog {
                gpio-hog;
                gpios = <30 GPIO_ACTIVE_LOW>, <31 GPIO_ACTIVE_LOW>;
                output-low;
        pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>;
        pinctrl-names = "default";
 
-       lte-disable {
+       lte-disable-hog {
                gpio-hog;
                gpios = <2 GPIO_ACTIVE_LOW>;
                output-low;
         * This signal, when asserted, isolates Armada 38x sample at reset pins
         * from control of external devices. Should be de-asserted after reset.
         */
-       sar-isolation {
+       sar-isolation-hog {
                gpio-hog;
                gpios = <15 GPIO_ACTIVE_LOW>;
                output-low;
                line-name = "sar-isolation";
        };
 
-       poe-reset {
+       poe-reset-hog {
                gpio-hog;
                gpios = <16 GPIO_ACTIVE_LOW>;
                output-low;
index f7daa3bc707ef0219a392d9d23158902b7ec2115..cf32ba9b4e8e69abf1cc2b4e2766fa3529a415b6 100644 (file)
@@ -34,7 +34,7 @@
 };
 
 &gpio0 {
-       phy1_reset {
+       phy1-reset-hog {
                gpio-hog;
                gpios = <19 GPIO_ACTIVE_LOW>;
                output-low;