ARM: dts: sun5i: Remove underscores from nodes names
authorMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 8 Nov 2018 10:20:15 +0000 (11:20 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 13:27:11 +0000 (14:27 +0100)
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.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts
arch/arm/boot/dts/sun5i-a13-hsg-h702.dts
arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
arch/arm/boot/dts/sun5i-a13-olinuxino.dts
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
arch/arm/boot/dts/sun5i-r8-chip.dts
arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi

index 30c8e7b..f5c50b6 100644 (file)
 };
 
 &pio {
-       led_pins_t003: led_pins@0 {
+       led_pins_t003: led-pin {
                pins = "PB2";
                function = "gpio_out";
                drive-strength = <20>;
index bae5a35..5405136 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG12";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       led_pins_t004: led_pins@0 {
+       led_pins_t004: led-pin {
                pins = "PB2";
                function = "gpio_out";
                drive-strength = <20>;
index b1fe122..ae6d4a0 100644 (file)
 };
 
 &pio {
-       led_pins_olinuxino: led_pins@0 {
+       led_pins_olinuxino: led-pin {
                pins = "PE3";
                function = "gpio_out";
                drive-strength = <20>;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG12";
                function = "gpio_in";
                bias-pull-up;
index a32025e..afbda5d 100644 (file)
@@ -98,7 +98,7 @@
 };
 
 &pio {
-       led_pins_r7: led_pins@0 {
+       led_pins_r7: led-pin {
                pins = "PB2";
                function = "gpio_out";
                drive-strength = <20>;
index 34c9325..49eaa19 100644 (file)
 };
 
 &pio {
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PG1";
                function = "gpio_in";
                bias-pull-down;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG2";
                function = "gpio_in";
                bias-pull-up;
index 4f5b124..082a150 100644 (file)
 };
 
 &pio {
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG2";
                function = "gpio_in";
                bias-pull-up;
index 70445d2..cf5f730 100644 (file)
 };
 
 &pio {
-       led_pins_olinuxinom: led_pins@0 {
+       led_pins_olinuxinom: led-pin {
                pins = "PG9";
                function = "gpio_out";
                drive-strength = <20>;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG2";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PG1";
                function = "gpio_in";
                bias-pull-down;
index 8855ddb..ae270ed 100644 (file)
 };
 
 &pio {
-       led_pins_olinuxino: led_pins@0 {
+       led_pins_olinuxino: led-pin {
                pins = "PG9";
                function = "gpio_out";
                drive-strength = <20>;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG2";
                function = "gpio_in";
                bias-pull-up;
        };
 
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PG1";
                function = "gpio_in";
                bias-pull-down;
index 31a4b61..732873c 100644 (file)
@@ -58,7 +58,7 @@
                /delete-property/stdout-path;
        };
 
-       i2c_lcd: i2c@0 {
+       i2c_lcd: i2c-gpio {
                /* The lcd panel i2c interface is hooked up via gpios */
                compatible = "i2c-gpio";
                pinctrl-names = "default";
@@ -95,7 +95,7 @@
 };
 
 &pio {
-       i2c_lcd_pins: i2c_lcd_pin@0 {
+       i2c_lcd_pins: i2c-lcd-pin {
                pins = "PG10", "PG12";
                function = "gpio_out";
                bias-pull-up;
index a913084..3c9f4f3 100644 (file)
 };
 
 &pio {
-
-       chip_w1_pin: chip_w1_pin@0 {
+       chip_w1_pin: chip-w1-pin {
                pins = "PD2";
                function = "gpio_in";
                bias-pull-up;
index ca75561..b046436 100644 (file)
 };
 
 &pio {
-       usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+       usb0_vbus_detect_pin: usb0-vbus-detect-pin {
                pins = "PG1";
                function = "gpio_in";
                bias-pull-down;
        };
 
-       usb0_id_detect_pin: usb0_id_detect_pin@0 {
+       usb0_id_detect_pin: usb0-id-detect-pin {
                pins = "PG2";
                function = "gpio_in";
                bias-pull-up;