ARM: dts: sun4i: Remove underscores from nodes names
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 4 Oct 2017 18:07:23 +0000 (20:07 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 13 Oct 2017 07:21:53 +0000 (09:21 +0200)
Some GPIO pinctrl nodes cannot be easily removed, because they would also
change the pin configuration, for example to add a pull resistor or change
the current delivered by the pin.

Those nodes still have underscores and unit-addresses in their node names
in our DTs, so adjust their name to remove the warnings. Use that occasion
to also fix some poorly chosen node-names.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
arch/arm/boot/dts/sun4i-a10-cubieboard.dts
arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts
arch/arm/boot/dts/sun4i-a10-hyundai-a7hd.dts
arch/arm/boot/dts/sun4i-a10-inet1.dts
arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts
arch/arm/boot/dts/sun4i-a10-marsboard.dts
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
arch/arm/boot/dts/sun4i-a10-pcduino.dts
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts

index b2dbdac19c0f332a72747266d29bd5e629f0fed7..dfc88aee4fe35f04209e585661288cf0dc8f3de9 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index b48cc70aa6c27855cfad7f32fc14d6b993445a7a..d5ba5400a97528966528926bd4b5906ab20fb7a2 100644 (file)
 };
 
 &pio {
-       led_pins_cubieboard: led_pins@0 {
+       led_pins_cubieboard: led-pins {
                pins = "PH20", "PH21";
                function = "gpio_out";
                drive-strength = <20>;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
index acbf692e837f5d19f5f308d170ef939e5cdade3d..147cbc5e08ac560cbd703da412f47628aca10f3e 100644 (file)
@@ -75,7 +75,7 @@
                max-microvolt = <3000000>;
        };
 
-       reg_motor: reg_motor {
+       reg_motor: reg-motor {
                compatible = "regulator-fixed";
                regulator-name = "vcc-motor";
                regulator-min-microvolt = <3000000>;
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index f5e9b643007ecc77aaabd423919a3f3f9385e25b..35c57d065dd8f2d306da46fb98f09e9f8416e375 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index 2374ee7dfc6436ba824f89a7d95ef8f07f5850f3..9482e831a9a169e7e9ce7f63108b9a5666d9d66b 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index c76f2538e3a2340593b8ec0af18c27cb5dd48df7..4b5c91c8e85bff25c135e2d1e1dd2bdf1d19f55d 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index 4188907b04773a4dc6ccabea4da53fbacbec2b3f..13224f5ac166620efc8c5081cab2972f87de0ec2 100644 (file)
@@ -59,7 +59,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       gpio_keys {
+       gpio-keys {
                compatible = "gpio-keys-polled";
                pinctrl-names = "default";
                pinctrl-0 = <&key_pins_inet9f>;
 };
 
 &pio {
-       key_pins_inet9f: key_pins@0 {
+       key_pins_inet9f: key-pins {
                pins = "PA0", "PA1", "PA3", "PA4",
                       "PA5", "PA6", "PA8", "PA9",
                       "PA11", "PA12", "PA13",
                bias-pull-up;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index 86c7c3fcaf9c85bfdd443e14360e7e6ea839420e..435c551aef0f398375ee42462f4ab590c70f931f 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
index 3689b8c3b7a0997a7bf7e17aa27ad9819ef96191..2d1b4329f54a95fe39449cab26668587a480a820 100644 (file)
 };
 
 &pio {
-       led_pins_olinuxinolime: led_pins@0 {
+       led_pins_olinuxinolime: led-pin {
                pins = "PH2";
                function = "gpio_out";
                drive-strength = <20>;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;
index dbb310f65a6e5f8fd54b938ef78fc18933370c70..6e140547b638f9a45bf63fbe1b8ee5c8387b962a 100644 (file)
@@ -74,7 +74,7 @@
                };
        };
 
-       gpio_keys {
+       gpio-keys {
                compatible = "gpio-keys";
                #address-cells = <1>;
                #size-cells = <0>;
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
index 46e485ff925be66e76cd77dc7ab4ff0fbee0ed6a..5081303f79e739e7bb3f865771ca36fabda8b07f 100644 (file)
 &i2c2 {
        status = "okay";
 
-       pixcir_ts@5c {
+       touchscreen@5c {
                compatible = "pixcir,pixcir_tangoc";
                reg = <0x5c>;
                interrupt-parent = <&pio>;
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PH4";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PH5";
                function = "gpio_in";
                bias-pull-down;