Skip to contentSkip to conversation

dt-bindings: arm: Remove the CPU compatible documentation

PATCH In review Maxime Ripard 2 participants 64 messages Mar 25, 2019 – Mar 26, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/28 dt-bindings: arm: Remove the CPU compatible documentation

Commit 1f8afea8fee0 ("dt-bindings: Add YAML description for Allwinner boards") added an exhaustive list of the valid compatibles used for both the SoCs and boards.

We can therefore remove the old documentation, that never got as well updated as it should have.

---
 .../devicetree/bindings/arm/sunxi.txt         | 23 -------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/sunxi.txt
Documentation/devicetree/bindings/arm/sunxi.txt deleted +0 -23
deleted file mode 100644
index 9254cbe7d516..000000000000
@@ -1,23 +0,0 @@
-Allwinner sunXi Platforms Device Tree Bindings
-
-Each device tree must specify which Allwinner SoC it uses,
-using one of the following compatible strings:
-
-  allwinner,sun4i-a10
-  allwinner,sun5i-a10s
-  allwinner,sun5i-a13
-  allwinner,sun5i-r8
-  allwinner,sun6i-a31
-  allwinner,sun7i-a20
-  allwinner,sun8i-a23
-  allwinner,sun8i-a33
-  allwinner,sun8i-a83t
-  allwinner,sun8i-h2-plus
-  allwinner,sun8i-h3
-  allwinner,sun8i-r40
-  allwinner,sun8i-t3
-  allwinner,sun8i-v3s
-  allwinner,sun9i-a80
-  allwinner,sun50i-a64
-  allwinner,suniv-f1c100s
-  nextthing,gr8
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/28 ARM: dts: sun9i: optimus: Fix fixed-regulators

Commit 1848f3f44444 ("ARM: dts: sun9i: Remove GPIO pinctrl nodes to avoid warnings") was wrong on the optimus, and instead of droping the pinctrl-names property, it dropped the regulator-name one.

Obviously, that wasn't what was intended. Reinstate regulator-name and drop pinctrl-names.

Fixes 1848f3f44444 ("ARM: dts: sun9i: Remove GPIO pinctrl nodes to avoid warnings")
---
 arch/arm/boot/dts/sun9i-a80-optimus.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun9i-a80-optimus.dts +2 -2
index 864715ec3cb0..2ed28d9e2787 100644
@@ -82,7 +82,7 @@
 
 	reg_usb1_vbus: usb1-vbus {
 		compatible = "regulator-fixed";
-		pinctrl-names = "default";
+		regulator-name = "usb1-vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
 		enable-active-high;
@@ -91,7 +91,7 @@
 
 	reg_usb3_vbus: usb3-vbus {
 		compatible = "regulator-fixed";
-		pinctrl-names = "default";
+		regulator-name = "usb3-vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
 		enable-active-high;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 2/28
#2 lore raw

Re: [PATCH 02/28] ARM: dts: sun9i: optimus: Fix fixed-regulators

Quoted 10 lines · Maxime Ripard

Commit 1848f3f44444 ("ARM: dts: sun9i: Remove GPIO pinctrl nodes to avoid warnings") was wrong on the optimus, and instead of droping the pinctrl-names property, it dropped the regulator-name one.

Obviously, that wasn't what was intended. Reinstate regulator-name and drop pinctrl-names.

Fixes 1848f3f44444 ("ARM: dts: sun9i: Remove GPIO pinctrl nodes to avoid warnings")

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

PATCH 3/28 ARM: dts: sunxi: Remove stale pinctrl-names entry

In reply to Maxime Ripard

Some nodes still have pinctrl-names entry, yet they don't have any pinctrl group anymore. Drop them.

---
 arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts           | 3 ---
 arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts                  | 1 -
 arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts             | 1 -
 arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi                  | 3 ---
 .../boot/dts/allwinner/sun50i-h5-emlid-neutis-n5-devboard.dts  | 1 -
 arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi   | 1 -
 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts   | 3 ---
 .../arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts | 1 -
 8 files changed, 14 deletions(-)
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +0 -3
index 1db2541135a7..c38a806191df 100644
@@ -28,7 +28,6 @@
 
 	leds {
 		compatible = "gpio-leds";
-		pinctrl-names = "default";
 
 		pwr_led {
 			label = "bananapi-m2-zero:red:pwr";
@@ -39,7 +38,6 @@
 
 	gpio_keys {
 		compatible = "gpio-keys";
-		pinctrl-names = "default";
 
 		sw4 {
 			label = "power";
@@ -67,7 +65,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
 	};
 };
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts +0 -1
index 4ec94d72f021..aee666b59b01 100644
@@ -64,7 +64,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
 	};
 
arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts +0 -1
index c834048c325e..f2f7b7a92571 100644
@@ -79,7 +79,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
 		post-power-on-delay-ms = <200>;
 	};
arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi +0 -3
index 3bed375b9c03..f9958c5a5c8c 100644
@@ -69,7 +69,6 @@
 
 	leds {
 		compatible = "gpio-leds";
-		pinctrl-names = "default";
 
 		pwr_led {
 			label = "bananapi-m2-plus:red:pwr";
@@ -80,7 +79,6 @@
 
 	gpio_keys {
 		compatible = "gpio-keys";
-		pinctrl-names = "default";
 
 		sw4 {
 			label = "power";
@@ -101,7 +99,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
 		clocks = <&rtc 1>;
 		clock-names = "ext_clock";
arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5-devboard.dts +0 -1
index 85e7993a74e7..342fa4a577ea 100644
@@ -46,7 +46,6 @@
 
 	vdd_cpux: gpio-regulator {
 		compatible = "regulator-gpio";
-		pinctrl-names = "default";
 		regulator-name = "vdd-cpux";
 		regulator-type = "voltage";
 		regulator-boot-on;
arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi +0 -1
index e4d50373c8ef..82f4b44d525f 100644
@@ -21,7 +21,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 */
 		post-power-on-delay-ms = <200>;
 	};
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +0 -3
index 506e25ba028a..75c95125e894 100644
@@ -78,7 +78,6 @@
 
 	reg_gmac_3v3: gmac-3v3 {
 		compatible = "regulator-fixed";
-		pinctrl-names = "default";
 		regulator-name = "gmac-3v3";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
@@ -96,7 +95,6 @@
 
 	vdd_cpux: gpio-regulator {
 		compatible = "regulator-gpio";
-		pinctrl-names = "default";
 		regulator-name = "vdd-cpux";
 		regulator-type = "voltage";
 		regulator-boot-on;
@@ -112,7 +110,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
 		post-power-on-delay-ms = <200>;
 	};
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +0 -1
index 53c8c11620e0..fb6ddca6e373 100644
@@ -78,7 +78,6 @@
 
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
-		pinctrl-names = "default";
 		reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
 		post-power-on-delay-ms = <200>;
 	};
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 3/28
#4 lore raw

Re: [PATCH 03/28] ARM: dts: sunxi: Remove stale pinctrl-names entry

Quoted 5 lines · Maxime Ripard

Some nodes still have pinctrl-names entry, yet they don't have any pinctrl group anymore. Drop them.

Though you might want to add "h3/h5:" to the subject.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#5 lore raw

Re: [PATCH 03/28] ARM: dts: sunxi: Remove stale pinctrl-names entry

Quoted 10 lines · Chen-Yu Tsai
Quoted 5 lines · Maxime Ripard

Some nodes still have pinctrl-names entry, yet they don't have any pinctrl group anymore. Drop them.

Though you might want to add "h3/h5:" to the subject.

Added the prefix and applied, thanks!

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#6 lore raw

PATCH 4/28 ARM: dts: sun5i: lichee-pi one: Remove stale pinctrl-names entry

In reply to Maxime Ripard

Some nodes still have pinctrl-names entry, yet they don't have any pinctrl group anymore. Drop them.

---
 arch/arm/boot/dts/sun5i-a13-licheepi-one.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/sun5i-a13-licheepi-one.dts +0 -1
index ca8f3fd1ddfe..9231294a8fa1 100644
@@ -206,7 +206,6 @@
 };
 
 &usbphy {
-	pinctrl-names = "default";
 	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 4/28
#7 lore raw

Re: [PATCH 04/28] ARM: dts: sun5i: lichee-pi one: Remove stale pinctrl-names entry

Quoted 5 lines · Maxime Ripard

Some nodes still have pinctrl-names entry, yet they don't have any pinctrl group anymore. Drop them.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#8 lore raw

PATCH 5/28 ARM: dts: sunxi: Fix GIC compatible

In reply to Maxime Ripard

As can be shown by the YAML schema now, the combination of GIC compatibles we were using has never been an option.

Switch to the gic-400 variant, which is the more correct option.

---
 arch/arm/boot/dts/sun6i-a31.dtsi     | 2 +-
 arch/arm/boot/dts/sun7i-a20.dtsi     | 2 +-
 arch/arm/boot/dts/sun8i-a23-a33.dtsi | 2 +-
 arch/arm/boot/dts/sun8i-a83t.dtsi    | 2 +-
 arch/arm/boot/dts/sun8i-v3s.dtsi     | 2 +-
 arch/arm/boot/dts/sun9i-a80.dtsi     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/sun6i-a31.dtsi +1 -1
index 2445b51dec14..2bc273ce2fe4 100644
@@ -1027,7 +1027,7 @@
 		};
 
 		gic: interrupt-controller@1c81000 {
-			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c81000 0x1000>,
 			      <0x01c82000 0x2000>,
 			      <0x01c84000 0x2000>,
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
index 792897a1a215..c153ded1a275 100644
@@ -1453,7 +1453,7 @@
 		};
 
 		gic: interrupt-controller@1c81000 {
-			compatible = "arm,gic-400", "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c81000 0x1000>,
 			      <0x01c82000 0x2000>,
 			      <0x01c84000 0x2000>,
arch/arm/boot/dts/sun8i-a23-a33.dtsi +1 -1
index 5d2c438e5959..1c1320cfd546 100644
@@ -599,7 +599,7 @@
 		};
 
 		gic: interrupt-controller@1c81000 {
-			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c81000 0x1000>,
 			      <0x01c82000 0x2000>,
 			      <0x01c84000 0x2000>,
arch/arm/boot/dts/sun8i-a83t.dtsi +1 -1
index 7340b01c1994..2d06070bd2bf 100644
@@ -931,7 +931,7 @@
 		};
 
 		gic: interrupt-controller@1c81000 {
-			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c81000 0x1000>,
 			      <0x01c82000 0x2000>,
 			      <0x01c84000 0x2000>,
arch/arm/boot/dts/sun8i-v3s.dtsi +1 -1
index 7918064e0940..ebb496bc8cf5 100644
@@ -413,7 +413,7 @@
 		};
 
 		gic: interrupt-controller@1c81000 {
-			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c81000 0x1000>,
 			      <0x01c82000 0x1000>,
 			      <0x01c84000 0x2000>,
arch/arm/boot/dts/sun9i-a80.dtsi +1 -1
index 7a495c84ab65..7ac1e50808a2 100644
@@ -527,7 +527,7 @@
 		};
 
 		gic: interrupt-controller@1c41000 {
-			compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
+			compatible = "arm,gic-400";
 			reg = <0x01c41000 0x1000>,
 			      <0x01c42000 0x2000>,
 			      <0x01c44000 0x2000>,
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 5/28
#9 lore raw

Re: [PATCH 05/28] ARM: dts: sunxi: Fix GIC compatible

Quoted 7 lines · Maxime Ripard

As can be shown by the YAML schema now, the combination of GIC compatibles we were using has never been an option.

Switch to the gic-400 variant, which is the more correct option.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#10 lore raw

PATCH 6/28 ARM: dts: sunxi: Switch to new GPIOs properties for i2c-gpio

In reply to Maxime Ripard

The i2c-gpio driver uses named gpios now and the array of GPIOs is deprecated. Switch to the new binding.

---
 arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 6 +++---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts +3 -3
index 732873cbeedc..379d530ea2a7 100644
@@ -58,13 +58,13 @@
 		/delete-property/stdout-path;
 	};
 
-	i2c_lcd: i2c-gpio {
+	i2c_lcd: i2c {
 		/* The lcd panel i2c interface is hooked up via gpios */
 		compatible = "i2c-gpio";
 		pinctrl-names = "default";
 		pinctrl-0 = <&i2c_lcd_pins>;
-		gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>, /* PG12, sda */
-			<&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10, scl */
+		sda-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
+		scl-gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */
 		i2c-gpio,delay-us = <5>;
 	};
 };
arch/arm/boot/dts/sun6i-a31-colombus.dts +2 -2
index 0b7bedf85fb9..0e62b4042100 100644
@@ -65,8 +65,8 @@
 		compatible = "i2c-gpio";
 		pinctrl-names = "default";
 		pinctrl-0 = <&i2c_lcd_pins>;
-		gpios = <&pio 0 23 GPIO_ACTIVE_HIGH>, /* PA23, sda */
-			<&pio 0 24 GPIO_ACTIVE_HIGH>; /* PA24, scl */
+		sda-gpios = <&pio 0 23 GPIO_ACTIVE_HIGH>; /* PA23 */
+		scl-gpios = <&pio 0 24 GPIO_ACTIVE_HIGH>; /* PA24 */
 		i2c-gpio,delay-us = <5>;
 	};
 };
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 6/28
#11 lore raw

Re: [PATCH 06/28] ARM: dts: sunxi: Switch to new GPIOs properties for i2c-gpio

Quoted 5 lines · Maxime Ripard

The i2c-gpio driver uses named gpios now and the array of GPIOs is deprecated. Switch to the new binding.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#12 lore raw

PATCH 7/28 ARM: sunxi: Fix the USB PHY ID detect GPIO properties

In reply to Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_id_det-gpios, a significant number of device tree use usb0_id_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

---
 arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts        | 2 +-
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts             | 2 +-
 arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts       | 2 +-
 arch/arm/boot/dts/sun4i-a10-hyundai-a7hd.dts           | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet1.dts                  | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet97fv2.dts              | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts           | 2 +-
 arch/arm/boot/dts/sun4i-a10-marsboard.dts              | 2 +-
 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts         | 2 +-
 arch/arm/boot/dts/sun4i-a10-pcduino.dts                | 2 +-
 arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts       | 2 +-
 arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts           | 2 +-
 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts       | 2 +-
 arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts | 2 +-
 arch/arm/boot/dts/sun5i-a13-licheepi-one.dts           | 2 +-
 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts        | 2 +-
 arch/arm/boot/dts/sun5i-a13-olinuxino.dts              | 2 +-
 arch/arm/boot/dts/sun5i-gr8-chip-pro.dts               | 2 +-
 arch/arm/boot/dts/sun5i-gr8-evb.dts                    | 2 +-
 arch/arm/boot/dts/sun5i-r8-chip.dts                    | 2 +-
 arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi   | 2 +-
 arch/arm/boot/dts/sun6i-a31-hummingbird.dts            | 2 +-
 arch/arm/boot/dts/sun6i-a31s-primo81.dts               | 2 +-
 arch/arm/boot/dts/sun6i-reference-design-tablet.dtsi   | 2 +-
 arch/arm/boot/dts/sun7i-a20-bananapi.dts               | 2 +-
 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts            | 2 +-
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts              | 2 +-
 arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts      | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts         | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts        | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts        | 2 +-
 arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts          | 2 +-
 arch/arm/boot/dts/sun7i-a20-orangepi.dts               | 2 +-
 arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts          | 2 +-
 arch/arm/boot/dts/sun7i-a20-pcduino3.dts               | 2 +-
 arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts         | 2 +-
 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts       | 2 +-
 arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi   | 2 +-
 arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts          | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts +1 -1
index cf7b392dff31..9bfd3804b968 100644
@@ -167,7 +167,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-cubieboard.dts +1 -1
index 197a1f2b75ff..d5eb2a151b89 100644
@@ -256,7 +256,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts +1 -1
index 896e27a08727..13a49230893c 100644
@@ -225,7 +225,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-hyundai-a7hd.dts +1 -1
index f63767cddd8e..aa86e39fa9cc 100644
@@ -123,7 +123,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-inet1.dts +1 -1
index 26d0c1d6a02b..574ecfaa8c3d 100644
@@ -235,7 +235,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun4i-a10-inet97fv2.dts +1 -1
index 71c27ea0b53e..94ee70f38af5 100644
@@ -211,7 +211,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts +1 -1
index 2f0d966f39ad..bfa265b582c6 100644
@@ -377,7 +377,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-marsboard.dts +1 -1
index 0dbf69576512..cb94e083ea3b 100644
@@ -185,7 +185,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts +1 -1
index b74a61496537..f552304b8593 100644
@@ -231,7 +231,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio   = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply   = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun4i-a10-pcduino.dts +1 -1
index d82a604f3d9c..08f3e385fe63 100644
@@ -203,7 +203,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_vcc5v0>; /* USB1 VBUS is always on */
 	usb2_vbus-supply = <&reg_vcc5v0>; /* USB2 VBUS is always on */
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts +1 -1
index 84b25be1ac94..d543db54116d 100644
@@ -213,7 +213,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts +1 -1
index c88f08984483..6d7a2f4bd05c 100644
@@ -151,7 +151,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
+	usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
 };
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +1 -1
index 262c2ffbdcfa..430caf873fe2 100644
@@ -273,7 +273,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
+	usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts +1 -1
index f3cede9beb63..82c89575a1c3 100644
@@ -197,7 +197,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_ldo3>;
arch/arm/boot/dts/sun5i-a13-licheepi-one.dts +1 -1
index 9231294a8fa1..359983d3d59d 100644
@@ -206,7 +206,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_vcc5v0>;
arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts +1 -1
index 943868e495bc..f1b1e6f99777 100644
@@ -147,7 +147,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun5i-a13-olinuxino.dts +1 -1
index 54ca140fc258..8948ef24616d 100644
@@ -253,7 +253,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun5i-gr8-chip-pro.dts +1 -1
index 3f70b8c53132..533a4ecc05e2 100644
@@ -233,7 +233,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb1_vbus-supply = <&reg_vcc5v0>;
 	status = "okay";
arch/arm/boot/dts/sun5i-gr8-evb.dts +1 -1
index 86e46aa59134..29cadd9576d1 100644
@@ -325,7 +325,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun5i-r8-chip.dts +1 -1
index f4298facf9dc..de5e67497f20 100644
@@ -279,7 +279,7 @@
 &usbphy {
 	status = "okay";
 
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_vcc5v0>;
arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi +1 -1
index 5b1f0e198eb6..8ed381ada577 100644
@@ -200,7 +200,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
+	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
arch/arm/boot/dts/sun6i-a31-hummingbird.dts +1 -1
index 63b84327f4e9..03ae33acfb01 100644
@@ -327,7 +327,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
+	usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
 	usb0_vbus_det-gpio = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_drivevbus>;
arch/arm/boot/dts/sun6i-a31s-primo81.dts +1 -1
index 60b355f7184c..bc3170a0b8b5 100644
@@ -260,7 +260,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
+	usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_drivevbus>;
 	usb1_vbus-supply = <&reg_dldo1>;
arch/arm/boot/dts/sun6i-reference-design-tablet.dtsi +1 -1
index 86143de21c22..1ebc042f5e6c 100644
@@ -175,7 +175,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
+	usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_drivevbus>;
 	usb1_vbus-supply = <&reg_dldo1>;
arch/arm/boot/dts/sun7i-a20-bananapi.dts +1 -1
index 81bc85d398c1..76252455d485 100644
@@ -331,7 +331,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +1 -1
index 200685b0b1cb..365ac2b9bcdf 100644
@@ -238,7 +238,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +1 -1
index f91e1bee44e8..0a87a45787ae 100644
@@ -324,7 +324,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts +1 -1
index 823aabce0462..cce52699ef3e 100644
@@ -314,7 +314,7 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +1 -1
index 5e411194bf62..53043f31fd39 100644
@@ -219,7 +219,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +1 -1
index 3de479bfa4cf..bd514cb9e8e9 100644
@@ -275,7 +275,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +1 -1
index 840ae1194a66..cfbf7f9feb6d 100644
@@ -357,7 +357,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts +1 -1
index 15881081cac4..872f6f35d40d 100644
@@ -241,7 +241,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-orangepi.dts +1 -1
index d64de2e73a9f..93fa89b84a88 100644
@@ -200,7 +200,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +1 -1
index 538ea15fa32f..24781f5c231e 100644
@@ -228,7 +228,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun7i-a20-pcduino3.dts +1 -1
index a72ed4318d04..606630ac5f3a 100644
@@ -228,7 +228,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts +1 -1
index ffade253d129..80ead52db270 100644
@@ -225,7 +225,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts +1 -1
index c27e56091fb1..57a4d6a5d163 100644
@@ -208,7 +208,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi +1 -1
index 189e479eb95a..c773ddf45e66 100644
@@ -226,7 +226,7 @@
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;
-	usb0_id_det-gpio = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */
+	usb0_id_det-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_drivevbus>;
 	status = "okay";
arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts +1 -1
index 99c8cf7bb86c..2e4587d26ce5 100644
@@ -96,6 +96,6 @@
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
+	usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 };
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 7/28
#13 lore raw

Re: [PATCH 07/28] ARM: sunxi: Fix the USB PHY ID detect GPIO properties

Quoted 9 lines · Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_id_det-gpios, a significant number of device tree use usb0_id_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#14 lore raw

PATCH 8/28 ARM: sunxi: Fix the USB PHY VBUS detect GPIO properties

In reply to Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_vbus_det-gpios, a significant number of device tree use usb0_vbus_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

---
 arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts        | 2 +-
 arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts       | 2 +-
 arch/arm/boot/dts/sun4i-a10-hyundai-a7hd.dts           | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet1.dts                  | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet97fv2.dts              | 2 +-
 arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts           | 2 +-
 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts         | 2 +-
 arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts       | 2 +-
 arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts | 2 +-
 arch/arm/boot/dts/sun5i-a13-licheepi-one.dts           | 2 +-
 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts        | 2 +-
 arch/arm/boot/dts/sun5i-a13-olinuxino.dts              | 2 +-
 arch/arm/boot/dts/sun5i-gr8-evb.dts                    | 2 +-
 arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi   | 2 +-
 arch/arm/boot/dts/sun6i-a31-hummingbird.dts            | 2 +-
 arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts      | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts         | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts        | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts        | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts +1 -1
index 9bfd3804b968..66555e437ce4 100644
@@ -168,7 +168,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts +1 -1
index 13a49230893c..f7af24cb66e7 100644
@@ -226,7 +226,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-hyundai-a7hd.dts +1 -1
index aa86e39fa9cc..0cf752a990b9 100644
@@ -124,7 +124,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-inet1.dts +1 -1
index 574ecfaa8c3d..2e5c452ca9c6 100644
@@ -236,7 +236,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-inet97fv2.dts +1 -1
index 94ee70f38af5..c1ff846cb442 100644
@@ -212,7 +212,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts +1 -1
index bfa265b582c6..31ba7b93df51 100644
@@ -378,7 +378,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts +1 -1
index f552304b8593..4cbc58363caf 100644
@@ -232,7 +232,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply   = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts +1 -1
index d543db54116d..cd516543a9e5 100644
@@ -214,7 +214,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts +1 -1
index 82c89575a1c3..ac3b2221cdef 100644
@@ -198,7 +198,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_ldo3>;
 	status = "okay";
arch/arm/boot/dts/sun5i-a13-licheepi-one.dts +1 -1
index 359983d3d59d..ba8d75b3c716 100644
@@ -207,7 +207,7 @@
 
 &usbphy {
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_vcc5v0>;
 	status = "okay";
arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts +1 -1
index f1b1e6f99777..f8dc4bbf249c 100644
@@ -148,7 +148,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun5i-a13-olinuxino.dts +1 -1
index 8948ef24616d..e49596c721a9 100644
@@ -254,7 +254,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun5i-gr8-evb.dts +1 -1
index 29cadd9576d1..d003b895a696 100644
@@ -326,7 +326,7 @@
 
 &usbphy {
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	status = "okay";
arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi +1 -1
index 8ed381ada577..cf33ad09ef1e 100644
@@ -201,7 +201,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
-	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_ldo3>;
arch/arm/boot/dts/sun6i-a31-hummingbird.dts +1 -1
index 03ae33acfb01..09832b4e8fc8 100644
@@ -328,7 +328,7 @@
 
 &usbphy {
 	usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
-	usb0_vbus_det-gpio = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */
+	usb0_vbus_det-gpios = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_drivevbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts +1 -1
index cce52699ef3e..c34a83f666c7 100644
@@ -315,7 +315,7 @@
 
 &usbphy {
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus_power-supply = <&usb_power_supply>;
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +1 -1
index 53043f31fd39..fafe01ee5ea0 100644
@@ -220,7 +220,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +1 -1
index bd514cb9e8e9..bdf894c054db 100644
@@ -276,7 +276,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +1 -1
index cfbf7f9feb6d..ba18e14fa229 100644
@@ -358,7 +358,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
 	usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
-	usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+	usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 8/28
#15 lore raw

Re: [PATCH 08/28] ARM: sunxi: Fix the USB PHY VBUS detect GPIO properties

Quoted 2 lines · Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin

                                                              ^^ copy/paste?
Quoted 7 lines

should be usb0_vbus_det-gpios, a significant number of device tree use usb0_vbus_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

Otherwise,

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#16 lore raw

Re: [PATCH 08/28] ARM: sunxi: Fix the USB PHY VBUS detect GPIO properties

Quoted 9 lines · Chen-Yu Tsai
Quoted 2 lines · Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin

                                                              ^^ copy/paste?
Quoted 3 lines

should be usb0_vbus_det-gpios, a significant number of device tree use usb0_vbus_det-gpio instead.

Quoted 8 lines
Quoted 4 lines

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

Otherwise,

Good catch, fixed while applying, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#17 lore raw

PATCH 9/28 ARM: dts: sunxi: Fix the TCON output clock

In reply to Maxime Ripard

Even though we shouldn't really have any external user of the clock provided by the TCON, if clock-output-names is set, then #clock-cells must be there as well.

Fix this.

---
 arch/arm/boot/dts/sun4i-a10.dtsi              | 2 ++
 arch/arm/boot/dts/sun5i.dtsi                  | 1 +
 arch/arm/boot/dts/sun6i-a31.dtsi              | 2 ++
 arch/arm/boot/dts/sun7i-a20.dtsi              | 2 ++
 arch/arm/boot/dts/sun8i-a23-a33.dtsi          | 1 +
 arch/arm/boot/dts/sun8i-a83t.dtsi             | 1 +
 arch/arm/boot/dts/sun8i-v3s.dtsi              | 1 +
 arch/arm/boot/dts/sun9i-a80.dtsi              | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
 9 files changed, 12 insertions(+)
arch/arm/boot/dts/sun4i-a10.dtsi +2 -0
index 73c3ac42095f..93bc260a80af 100644
@@ -343,6 +343,7 @@
 				      "tcon-ch1";
 			clock-output-names = "tcon0-pixel-clock";
 			dmas = <&dma SUN4I_DMA_DEDICATED 14>;
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
@@ -392,6 +393,7 @@
 				      "tcon-ch1";
 			clock-output-names = "tcon1-pixel-clock";
 			dmas = <&dma SUN4I_DMA_DEDICATED 15>;
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun5i.dtsi +1 -0
index ccd793795e58..14205dc18435 100644
@@ -276,6 +276,7 @@
 				      "tcon-ch1";
 			clock-output-names = "tcon-pixel-clock";
 			status = "disabled";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun6i-a31.dtsi +2 -0
index 2bc273ce2fe4..e8eebc60787c 100644
@@ -292,6 +292,7 @@
 				      "tcon-ch0",
 				      "tcon-ch1";
 			clock-output-names = "tcon0-pixel-clock";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
@@ -340,6 +341,7 @@
 				      "tcon-ch0",
 				      "tcon-ch1";
 			clock-output-names = "tcon1-pixel-clock";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun7i-a20.dtsi +2 -0
index c153ded1a275..2a74eeabe8dc 100644
@@ -407,6 +407,7 @@
 				      "tcon-ch1";
 			clock-output-names = "tcon0-pixel-clock";
 			dmas = <&dma SUN4I_DMA_DEDICATED 14>;
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
@@ -456,6 +457,7 @@
 				      "tcon-ch1";
 			clock-output-names = "tcon1-pixel-clock";
 			dmas = <&dma SUN4I_DMA_DEDICATED 15>;
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun8i-a23-a33.dtsi +1 -0
index 1c1320cfd546..738618cde72f 100644
@@ -188,6 +188,7 @@
 			resets = <&ccu RST_BUS_LCD>;
 			reset-names = "lcd";
 			status = "disabled";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun8i-a83t.dtsi +1 -0
index 2d06070bd2bf..1453a4afabf5 100644
@@ -435,6 +435,7 @@
 			clock-output-names = "tcon-pixel-clock";
 			resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
 			reset-names = "lcd", "lvds";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun8i-v3s.dtsi +1 -0
index ebb496bc8cf5..5bf7c3940add 100644
@@ -150,6 +150,7 @@
 			resets = <&ccu RST_BUS_TCON0>;
 			reset-names = "lcd";
 			status = "disabled";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm/boot/dts/sun9i-a80.dtsi +1 -0
index 7ac1e50808a2..a991f689b99a 100644
@@ -870,6 +870,7 @@
 			resets = <&ccu RST_BUS_LCD0>, <&ccu RST_BUS_EDP>;
 			reset-names = "lcd", "edp";
 			clock-output-names = "tcon0-pixel-clock";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +1 -0
index ccd143d82aea..6b0b1a55a005 100644
@@ -354,6 +354,7 @@
 			clock-output-names = "tcon-pixel-clock";
 			resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>;
 			reset-names = "lcd", "lvds";
+			#clock-cells = <0>;
 
 			ports {
 				#address-cells = <1>;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 9/28
#18 lore raw

Re: [PATCH 09/28] ARM: dts: sunxi: Fix the TCON output clock

Quoted 25 lines · Maxime Ripard

Even though we shouldn't really have any external user of the clock provided by the TCON, if clock-output-names is set, then #clock-cells must be there as well.

Fix this.

---
 arch/arm/boot/dts/sun4i-a10.dtsi              | 2 ++
 arch/arm/boot/dts/sun5i.dtsi                  | 1 +
 arch/arm/boot/dts/sun6i-a31.dtsi              | 2 ++
 arch/arm/boot/dts/sun7i-a20.dtsi              | 2 ++
 arch/arm/boot/dts/sun8i-a23-a33.dtsi          | 1 +
 arch/arm/boot/dts/sun8i-a83t.dtsi             | 1 +
 arch/arm/boot/dts/sun8i-v3s.dtsi              | 1 +
 arch/arm/boot/dts/sun9i-a80.dtsi              | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
 9 files changed, 12 insertions(+)
arch/arm/boot/dts/sun4i-a10.dtsi +0 -0
index 73c3ac42095f..93bc260a80af 100644

arch/arm/boot/dts/sun4i-a10.dtsi line 346

Quoted 4 lines
arch/arm/boot/dts/sun4i-a10.dtsi +1 -0
@@ -343,6 +343,7 @@
                                      "tcon-ch1";
                        clock-output-names = "tcon0-pixel-clock";
                        dmas = <&dma SUN4I_DMA_DEDICATED 14>;
+                       #clock-cells = <0>;

Nit: could we group #clock-cells with clock-output-names?

Either way,

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#19 lore raw

Re: [PATCH 09/28] ARM: dts: sunxi: Fix the TCON output clock

Quoted 33 lines · Chen-Yu Tsai
Quoted 25 lines · Maxime Ripard

Even though we shouldn't really have any external user of the clock provided by the TCON, if clock-output-names is set, then #clock-cells must be there as well.

Fix this.

---
 arch/arm/boot/dts/sun4i-a10.dtsi              | 2 ++
 arch/arm/boot/dts/sun5i.dtsi                  | 1 +
 arch/arm/boot/dts/sun6i-a31.dtsi              | 2 ++
 arch/arm/boot/dts/sun7i-a20.dtsi              | 2 ++
 arch/arm/boot/dts/sun8i-a23-a33.dtsi          | 1 +
 arch/arm/boot/dts/sun8i-a83t.dtsi             | 1 +
 arch/arm/boot/dts/sun8i-v3s.dtsi              | 1 +
 arch/arm/boot/dts/sun9i-a80.dtsi              | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
 9 files changed, 12 insertions(+)
arch/arm/boot/dts/sun4i-a10.dtsi +0 -0
index 73c3ac42095f..93bc260a80af 100644

arch/arm/boot/dts/sun4i-a10.dtsi line 346

Quoted 4 lines
arch/arm/boot/dts/sun4i-a10.dtsi +1 -0
@@ -343,6 +343,7 @@
                                      "tcon-ch1";
                        clock-output-names = "tcon0-pixel-clock";
                        dmas = <&dma SUN4I_DMA_DEDICATED 14>;
+                       #clock-cells = <0>;

Nit: could we group #clock-cells with clock-output-names?

Quoted 3 lines

Either way,

I fixed it (and split the A64 change in a separate patch) while applying, thanks!

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#20 lore raw

PATCH 10/28 ARM: dts: sun8i: tbs-a711: Fix typo in regulators

In reply to Maxime Ripard

The regulator properties suffix is -supply, yet a _supply slipped in.

This was working because the regulator framework will provide a dummy regulator when none is provided in the device tree, and the regulator itself was always enabled.

---
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +2 -2
index 4bda2f9372cb..1e840ab5a541 100644
@@ -417,7 +417,7 @@
 &usbphy {
 	usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
 	usb0_vbus-supply = <&reg_drivevbus>;
-	usb1_vbus_supply = <&reg_vmain>;
-	usb2_vbus_supply = <&reg_vmain>;
+	usb1_vbus-supply = <&reg_vmain>;
+	usb2_vbus-supply = <&reg_vmain>;
 	status = "okay";
 };
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 10/28
#21 lore raw

Re: [PATCH 10/28] ARM: dts: sun8i: tbs-a711: Fix typo in regulators

Quoted 8 lines · Maxime Ripard

The regulator properties suffix is -supply, yet a _supply slipped in.

This was working because the regulator framework will provide a dummy regulator when none is provided in the device tree, and the regulator itself was always enabled.

Could you add a fixes tag?

Once added,

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#22 lore raw

Re: [PATCH 10/28] ARM: dts: sun8i: tbs-a711: Fix typo in regulators

Quoted 8 lines · Chen-Yu Tsai
Quoted 7 lines · Maxime Ripard

The regulator properties suffix is -supply, yet a _supply slipped in.

This was working because the regulator framework will provide a dummy regulator when none is provided in the device tree, and the regulator itself was always enabled.

Quoted 7 lines
Quoted 1 line

Could you add a fixes tag?

Once added,

I added it, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#23 lore raw

PATCH 11/28 ARM: sunxi: dts: Split USB PHY cells into an array

In reply to Maxime Ripard

Even though it doesn't make any difference at the binary level, the reg property is an array of cells, and should be represented as such.

---
 arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
 arch/arm/boot/dts/sun5i.dtsi     | 2 +-
 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/sun4i-a10.dtsi +1 -1
index 93bc260a80af..6f76d9cb370a 100644
@@ -502,7 +502,7 @@
 		usbphy: phy@1c13400 {
 			#phy-cells = <1>;
 			compatible = "allwinner,sun4i-a10-usb-phy";
-			reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
+			reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>;
 			reg-names = "phy_ctrl", "pmu1", "pmu2";
 			clocks = <&ccu CLK_USB_PHY>;
 			clock-names = "usb_phy";
arch/arm/boot/dts/sun5i.dtsi +1 -1
index 14205dc18435..31af6e36aacd 100644
@@ -366,7 +366,7 @@
 		usbphy: phy@1c13400 {
 			#phy-cells = <1>;
 			compatible = "allwinner,sun5i-a13-usb-phy";
-			reg = <0x01c13400 0x10 0x01c14800 0x4>;
+			reg = <0x01c13400 0x10>, <0x01c14800 0x4>;
 			reg-names = "phy_ctrl", "pmu1";
 			clocks = <&ccu CLK_USB_PHY0>;
 			clock-names = "usb_phy";
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
index 2a74eeabe8dc..7d663a939239 100644
@@ -594,7 +594,7 @@
 		usbphy: phy@1c13400 {
 			#phy-cells = <1>;
 			compatible = "allwinner,sun7i-a20-usb-phy";
-			reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
+			reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>;
 			reg-names = "phy_ctrl", "pmu1", "pmu2";
 			clocks = <&ccu CLK_USB_PHY>;
 			clock-names = "usb_phy";
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 11/28
#24 lore raw

Re: [PATCH 11/28] ARM: sunxi: dts: Split USB PHY cells into an array

Quoted 5 lines · Maxime Ripard

Even though it doesn't make any difference at the binary level, the reg property is an array of cells, and should be represented as such.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#25 lore raw

PATCH 12/28 ARM: dts: sun8i: r40: Fix AHCI reset-names property

In reply to Maxime Ripard

The AHCI node was introduced with a typo in the reset-names property that got written resets-name instead.

This was working because the reset is optional for that driver, and the controller was put out of reset by the bootloader.

---
 arch/arm/boot/dts/sun8i-r40.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun8i-r40.dtsi +1 -1
index 1061d46efafd..9784c23346a8 100644
@@ -562,7 +562,7 @@
 			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
 			resets = <&ccu RST_BUS_SATA>;
-			resets-name = "ahci";
+			reset-names = "ahci";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 12/28
#26 lore raw

Re: [PATCH 12/28] ARM: dts: sun8i: r40: Fix AHCI reset-names property

Quoted 8 lines · Maxime Ripard

The AHCI node was introduced with a typo in the reset-names property that got written resets-name instead.

This was working because the reset is optional for that driver, and the controller was put out of reset by the bootloader.

Fixes tag? For the odd case that the bootloader didn't pull the controller out of reset.

Otherwise,

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#27 lore raw

Re: [PATCH 12/28] ARM: dts: sun8i: r40: Fix AHCI reset-names property

Quoted 8 lines · Chen-Yu Tsai
Quoted 7 lines · Maxime Ripard

The AHCI node was introduced with a typo in the reset-names property that got written resets-name instead.

This was working because the reset is optional for that driver, and the controller was put out of reset by the bootloader.

Quoted 8 lines
Quoted 1 line

Fixes tag? For the odd case that the bootloader didn't pull the controller out of reset.

Otherwise,

I added the fixes tag and applied, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#28 lore raw

PATCH 13/28 ARM: dts: sun8i: r40: Remove useless AHCI properties

In reply to Maxime Ripard

The SATA controller never have any children nodes, so we don't need the address and size cells properties.

---
 arch/arm/boot/dts/sun8i-r40.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/sun8i-r40.dtsi +0 -2
index 9784c23346a8..56c6885b02d1 100644
@@ -563,8 +563,6 @@
 			clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
 			resets = <&ccu RST_BUS_SATA>;
 			reset-names = "ahci";
-			#address-cells = <1>;
-			#size-cells = <0>;
 			status = "disabled";
 
 		};
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 13/28
#29 lore raw

Re: [PATCH 13/28] ARM: dts: sun8i: r40: Remove useless AHCI properties

Quoted 5 lines · Maxime Ripard

The SATA controller never have any children nodes, so we don't need the address and size cells properties.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#30 lore raw

PATCH 14/28 arm64: dts: allwinner: a64: Fix endpoints nodes

In reply to Maxime Ripard

Commit a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers") introduced a few errors while fixing the cross links. Make sure to correct them.

Fixes a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers")
---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +3 -1
index 6b0b1a55a005..4b79d34da63d 100644
@@ -282,6 +282,8 @@
 					#size-cells = <0>;
 
 					mixer1_out: port@1 {
+						#address-cells = <1>;
+						#size-cells = <0>;
 						reg = <1>;
 
 						mixer1_out_tcon0: endpoint@0 {
@@ -372,7 +374,7 @@
 
 					tcon0_in_mixer1: endpoint@1 {
 						reg = <1>;
-						remote-endpoint = <&mixer1_out_tcon1>;
+						remote-endpoint = <&mixer1_out_tcon0>;
 					};
 				};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 14/28
#31 lore raw

Re: [PATCH 14/28] arm64: dts: allwinner: a64: Fix endpoints nodes

Quoted 1 line · Maxime Ripard

You might want to be a bit more specific in the topic, as in "display pipeline endpoints".

One might confuse it with endpoints of the camera sensor.

Quoted 6 lines

Commit a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers") introduced a few errors while fixing the cross links. Make sure to correct them.

Fixes a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers")

Otherwise,

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#32 lore raw

Re: [PATCH 14/28] arm64: dts: allwinner: a64: Fix endpoints nodes

Quoted 12 lines · Chen-Yu Tsai
Quoted 1 line · Maxime Ripard

You might want to be a bit more specific in the topic, as in "display pipeline endpoints".

One might confuse it with endpoints of the camera sensor.

Quoted 4 lines

Commit a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers") introduced a few errors while fixing the cross links. Make sure to correct them.

Quoted 6 lines
Quoted 2 lines
Fixes a7f7047ffcee ("arm64: dts: allwinner: a64: Add cross links for the mixers")

Otherwise,

I fixed it and applied, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#33 lore raw

PATCH 15/28 ARM: dts: sunxi: Remove pinctrl size-cells property

In reply to Maxime Ripard

The children nodes of the pinctrl node hadn't have any reg property for quite some time, so we don't need the size-cells property. Remove it.

---
 arch/arm/boot/dts/sun6i-a31.dtsi | 1 -
 arch/arm/boot/dts/sun9i-a80.dtsi | 1 -
 2 files changed, 2 deletions(-)
arch/arm/boot/dts/sun6i-a31.dtsi +0 -1
index e8eebc60787c..4d155592a17c 100644
@@ -1374,7 +1374,6 @@
 			gpio-controller;
 			interrupt-controller;
 			#interrupt-cells = <3>;
-			#size-cells = <0>;
 			#gpio-cells = <3>;
 
 			s_ir_rx_pin: s-ir-rx-pin {
arch/arm/boot/dts/sun9i-a80.dtsi +0 -1
index a991f689b99a..28ff54d45549 100644
@@ -958,7 +958,6 @@
 			gpio-controller;
 			interrupt-controller;
 			#interrupt-cells = <3>;
-			#size-cells = <0>;
 			#gpio-cells = <3>;
 
 			gmac_rgmii_pins: gmac-rgmii-pins {
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 15/28
#34 lore raw

Re: [PATCH 15/28] ARM: dts: sunxi: Remove pinctrl size-cells property

Quoted 5 lines · Maxime Ripard

The children nodes of the pinctrl node hadn't have any reg property for quite some time, so we don't need the size-cells property. Remove it.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#35 lore raw

PATCH 16/28 ARM: dts: sun8i: A23/A33: Fix pinctrl node names

In reply to Maxime Ripard

The NAND pinctrl nodes names don't follow the pattern we've used and enforced for some time. Make sure they do.

---
 arch/arm/boot/dts/sun8i-a23-a33.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/sun8i-a23-a33.dtsi +4 -4
index 738618cde72f..f999588c6af2 100644
@@ -394,25 +394,25 @@
 				function = "nand0";
 			};
 
-			nand_pins_cs0: nand-pins-cs0 {
+			nand_cs0_pin: nand-cs0-pin {
 				pins = "PC4";
 				function = "nand0";
 				bias-pull-up;
 			};
 
-			nand_pins_cs1: nand-pins-cs1 {
+			nand_cs1_pin: nand-cs1-pin {
 				pins = "PC3";
 				function = "nand0";
 				bias-pull-up;
 			};
 
-			nand_pins_rb0: nand-pins-rb0 {
+			nand_rb0_pin: nand-rb0-pin {
 				pins = "PC6";
 				function = "nand0";
 				bias-pull-up;
 			};
 
-			nand_pins_rb1: nand-pins-rb1 {
+			nand_rb1_pin: nand-rb1-pin {
 				pins = "PC7";
 				function = "nand0";
 				bias-pull-up;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 16/28
#36 lore raw

Re: [PATCH 16/28] ARM: dts: sun8i: A23/A33: Fix pinctrl node names

Quoted 5 lines · Maxime Ripard

The NAND pinctrl nodes names don't follow the pattern we've used and enforced for some time. Make sure they do.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#37 lore raw

PATCH 17/28 ARM: dts: sun9i: Remove deprecated pinctrl properties

In reply to Maxime Ripard

We switched to the generic pinctrl binding some time ago, yet the GMAC pinctrl node apparently slipped through. Fix this.

---
 arch/arm/boot/dts/sun9i-a80.dtsi | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
arch/arm/boot/dts/sun9i-a80.dtsi +4 -5
index 28ff54d45549..c1aa26db44ae 100644
@@ -961,11 +961,10 @@
 			#gpio-cells = <3>;
 
 			gmac_rgmii_pins: gmac-rgmii-pins {
-				allwinner,pins = "PA0", "PA1", "PA2", "PA3",
-						 "PA4", "PA5", "PA7", "PA8",
-						 "PA9", "PA10", "PA12", "PA13",
-						 "PA15", "PA16", "PA17";
-				allwinner,function = "gmac";
+				pins = "PA0", "PA1", "PA2", "PA3", "PA4", "PA5",
+				       "PA7", "PA8", "PA9", "PA10", "PA12",
+				       "PA13", "PA15", "PA16", "PA17";
+				function = "gmac";
 				/*
 				 * data lines in RGMII mode use DDR mode
 				 * and need a higher signal drive strength
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 17/28
#38 lore raw

Re: [PATCH 17/28] ARM: dts: sun9i: Remove deprecated pinctrl properties

Quoted 5 lines · Maxime Ripard

We switched to the generic pinctrl binding some time ago, yet the GMAC pinctrl node apparently slipped through. Fix this.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#39 lore raw

PATCH 18/28 arm64: dts: allwinner: a64: Add missing PIO clocks

In reply to Maxime Ripard

The pinctrl binding mandates that we have the three clocks fed into the PIO described.

Even though the old case is still supported for backward compatibility, we should update our DTs to fix this.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +2 -1
index 4b79d34da63d..4b5fd161dc60 100644
@@ -583,7 +583,8 @@
 			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&ccu 58>;
+			clocks = <&ccu 58>, <&osc24M>, <&rtc 0>;
+			clock-names = "apb", "hosc", "losc";
 			gpio-controller;
 			#gpio-cells = <3>;
 			interrupt-controller;
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 18/28
#40 lore raw

Re: [PATCH 18/28] arm64: dts: allwinner: a64: Add missing PIO clocks

Quoted 8 lines · Maxime Ripard

The pinctrl binding mandates that we have the three clocks fed into the PIO described.

Even though the old case is still supported for backward compatibility, we should update our DTs to fix this.

Maybe a fixes tag?

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#41 lore raw

Re: [PATCH 18/28] arm64: dts: allwinner: a64: Add missing PIO clocks

Quoted 5 lines · Chen-Yu Tsai
Quoted 4 lines · Maxime Ripard

The pinctrl binding mandates that we have the three clocks fed into the PIO described.

Quoted 8 lines
Quoted 4 lines

Even though the old case is still supported for backward compatibility, we should update our DTs to fix this.

Maybe a fixes tag?

I've added the fixes tag and applied, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#42 lore raw

PATCH 19/28 arm64: dts: allwinner: Fix pinctrl node names

In reply to Maxime Ripard

Some pinctrl node names for the A64 and H6 do not follow the convention that we switched to and enforced, most notably by using underscores in node names, which also trigger a DTC warning.

Let's change that.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 24 +++++++++----------
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  |  6 ++---
 2 files changed, 15 insertions(+), 15 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +12 -12
index 4b5fd161dc60..becef9683c7a 100644
@@ -596,12 +596,12 @@
 				function = "csi";
 			};
 
-			i2c0_pins: i2c0_pins {
+			i2c0_pins: i2c0-pins {
 				pins = "PH0", "PH1";
 				function = "i2c0";
 			};
 
-			i2c1_pins: i2c1_pins {
+			i2c1_pins: i2c1-pins {
 				pins = "PH2", "PH3";
 				function = "i2c1";
 			};
@@ -638,19 +638,19 @@
 				bias-pull-up;
 			};
 
-			pwm_pin: pwm_pin {
+			pwm_pin: pwm-pin {
 				pins = "PD22";
 				function = "pwm";
 			};
 
-			rmii_pins: rmii_pins {
+			rmii_pins: rmii-pins {
 				pins = "PD10", "PD11", "PD13", "PD14", "PD17",
 				       "PD18", "PD19", "PD20", "PD22", "PD23";
 				function = "emac";
 				drive-strength = <40>;
 			};
 
-			rgmii_pins: rgmii_pins {
+			rgmii_pins: rgmii-pins {
 				pins = "PD8", "PD9", "PD10", "PD11", "PD12",
 				       "PD13", "PD15", "PD16", "PD17", "PD18",
 				       "PD19", "PD20", "PD21", "PD22", "PD23";
@@ -658,17 +658,17 @@
 				drive-strength = <40>;
 			};
 
-			spdif_tx_pin: spdif {
+			spdif_tx_pin: spdif-tx-pin {
 				pins = "PH8";
 				function = "spdif";
 			};
 
-			spi0_pins: spi0 {
+			spi0_pins: spi0-pins {
 				pins = "PC0", "PC1", "PC2", "PC3";
 				function = "spi0";
 			};
 
-			spi1_pins: spi1 {
+			spi1_pins: spi1-pins {
 				pins = "PD0", "PD1", "PD2", "PD3";
 				function = "spi1";
 			};
@@ -678,12 +678,12 @@
 				function = "uart0";
 			};
 
-			uart1_pins: uart1_pins {
+			uart1_pins: uart1-pins {
 				pins = "PG6", "PG7";
 				function = "uart1";
 			};
 
-			uart1_rts_cts_pins: uart1_rts_cts_pins {
+			uart1_rts_cts_pins: uart1-rts-cts-pins {
 				pins = "PG8", "PG9";
 				function = "uart1";
 			};
@@ -1095,12 +1095,12 @@
 				function = "s_i2c";
 			};
 
-			r_pwm_pin: pwm {
+			r_pwm_pin: r-pwm-pin {
 				pins = "PL10";
 				function = "s_pwm";
 			};
 
-			r_rsb_pins: rsb {
+			r_rsb_pins: r-rsb-pins {
 				pins = "PL0", "PL1";
 				function = "s_rsb";
 			};
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +3 -3
index e6cbe01e5558..91fecab58836 100644
@@ -217,7 +217,7 @@
 			interrupt-controller;
 			#interrupt-cells = <3>;
 
-			ext_rgmii_pins: rgmii_pins {
+			ext_rgmii_pins: rgmii-pins {
 				pins = "PD0", "PD1", "PD2", "PD3", "PD4",
 				       "PD5", "PD7", "PD8", "PD9", "PD10",
 				       "PD11", "PD12", "PD13", "PD19", "PD20";
@@ -247,7 +247,7 @@
 				bias-pull-up;
 			};
 
-			uart0_ph_pins: uart0-ph {
+			uart0_ph_pins: uart0-ph-pins {
 				pins = "PH0", "PH1";
 				function = "uart0";
 			};
@@ -625,7 +625,7 @@
 			interrupt-controller;
 			#interrupt-cells = <3>;
 
-			r_i2c_pins: r-i2c {
+			r_i2c_pins: r-i2c-pins {
 				pins = "PL0", "PL1";
 				function = "s_i2c";
 			};
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 19/28
#43 lore raw

Re: [PATCH 19/28] arm64: dts: allwinner: Fix pinctrl node names

Quoted 8 lines · Maxime Ripard

Some pinctrl node names for the A64 and H6 do not follow the convention that we switched to and enforced, most notably by using underscores in node names, which also trigger a DTC warning.

Let's change that.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#44 lore raw

PATCH 20/28 ARM: dts: sun8i: h3: Refactor the pinctrl node names

In reply to Maxime Ripard

The H3 and H5 have never been converted to the new convention we want to have for the pinctrl nodes.

Convert them.

---
 .../dts/sun8i-h2-plus-bananapi-m2-zero.dts    |  2 +-
 .../boot/dts/sun8i-h2-plus-orangepi-zero.dts  |  2 +-
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts     |  6 +--
 .../boot/dts/sun8i-h3-mapleboard-mp130.dts    |  4 +-
 arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts |  2 +-
 arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts      |  2 +-
 arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts |  2 +-
 arch/arm/boot/dts/sun8i-h3-nanopi.dtsi        |  2 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-2.dts     |  4 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts  |  4 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-one.dts   |  2 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts    |  4 +-
 .../boot/dts/sun8i-h3-orangepi-zero-plus2.dts |  2 +-
 arch/arm/boot/dts/sun8i-h3-rervision-dvk.dts  |  2 +-
 arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi |  4 +-
 arch/arm/boot/dts/sunxi-h3-h5.dtsi            | 38 +++++++++----------
 .../boot/dts/sunxi-libretech-all-h3-cc.dtsi   |  4 +-
 .../sun50i-h5-emlid-neutis-n5-devboard.dts    |  2 +-
 .../allwinner/sun50i-h5-nanopi-neo-plus2.dts  |  2 +-
 .../dts/allwinner/sun50i-h5-nanopi-neo2.dts   |  2 +-
 .../dts/allwinner/sun50i-h5-orangepi-pc2.dts  |  4 +-
 .../allwinner/sun50i-h5-orangepi-prime.dts    |  4 +-
 .../sun50i-h5-orangepi-zero-plus.dts          |  2 +-
 .../sun50i-h5-orangepi-zero-plus2.dts         |  2 +-
 24 files changed, 52 insertions(+), 52 deletions(-)
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +1 -1
index c38a806191df..0e5f0eec3810 100644
@@ -112,7 +112,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +1 -1
index 84cd9c061227..4970eda2877e 100644
@@ -178,7 +178,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +3 -3
index 25540b7694d5..6277f13f3eb3 100644
@@ -142,7 +142,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -193,13 +193,13 @@
 
 &spdif {
 	pinctrl-names = "default";
-	pinctrl-0 = <&spdif_tx_pins_a>;
+	pinctrl-0 = <&spdif_tx_pin>;
 	status = "okay";
 };
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-mapleboard-mp130.dts +2 -2
index 2c952eacfef5..6d626ec1f747 100644
@@ -84,7 +84,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -120,7 +120,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts +1 -1
index aee666b59b01..4ba533b0340f 100644
@@ -120,7 +120,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts +1 -1
index 9412668bb888..69243dcb30a6 100644
@@ -93,7 +93,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts +1 -1
index 6246d3eff39d..07867a0d569b 100644
@@ -105,7 +105,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi +1 -1
index f110ee382239..660bcf497926 100644
@@ -125,7 +125,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +2 -2
index f1fc6bdca8be..e22c175bb515 100644
@@ -152,7 +152,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -210,7 +210,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts +2 -2
index 476ae8e387ca..ceda02d8e65f 100644
@@ -126,7 +126,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -181,7 +181,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +1 -1
index 245fd658defb..333aebd732b6 100644
@@ -192,7 +192,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts +2 -2
index 46240334128f..3190a8be0073 100644
@@ -152,7 +152,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -229,7 +229,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts +1 -1
index f2f7b7a92571..b8f46e2802fd 100644
@@ -134,6 +134,6 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
arch/arm/boot/dts/sun8i-h3-rervision-dvk.dts +1 -1
index 51bd2c00bbae..4738f3a9efe4 100644
@@ -100,7 +100,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi +2 -2
index f9958c5a5c8c..39263e74fbb5 100644
@@ -150,7 +150,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -207,7 +207,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm/boot/dts/sunxi-h3-h5.dtsi +19 -19
index 395521e83ee7..8a79d3b04069 100644
@@ -386,14 +386,14 @@
 			interrupt-controller;
 			#interrupt-cells = <3>;
 
-			csi_pins: csi {
+			csi_pins: csi-pins {
 				pins = "PE0", "PE2", "PE3", "PE4", "PE5",
 				       "PE6", "PE7", "PE8", "PE9", "PE10",
 				       "PE11";
 				function = "csi";
 			};
 
-			emac_rgmii_pins: emac0 {
+			emac_rgmii_pins: emac-rgmii-pins {
 				pins = "PD0", "PD1", "PD2", "PD3", "PD4",
 				       "PD5", "PD7", "PD8", "PD9", "PD10",
 				       "PD12", "PD13", "PD15", "PD16", "PD17";
@@ -401,22 +401,22 @@
 				drive-strength = <40>;
 			};
 
-			i2c0_pins: i2c0 {
+			i2c0_pins: i2c0-pins {
 				pins = "PA11", "PA12";
 				function = "i2c0";
 			};
 
-			i2c1_pins: i2c1 {
+			i2c1_pins: i2c1-pins {
 				pins = "PA18", "PA19";
 				function = "i2c1";
 			};
 
-			i2c2_pins: i2c2 {
+			i2c2_pins: i2c2-pins {
 				pins = "PE12", "PE13";
 				function = "i2c2";
 			};
 
-			mmc0_pins: mmc0 {
+			mmc0_pins: mmc0-pins {
 				pins = "PF0", "PF1", "PF2", "PF3",
 				       "PF4", "PF5";
 				function = "mmc0";
@@ -424,7 +424,7 @@
 				bias-pull-up;
 			};
 
-			mmc1_pins: mmc1 {
+			mmc1_pins: mmc1-pins {
 				pins = "PG0", "PG1", "PG2", "PG3",
 				       "PG4", "PG5";
 				function = "mmc1";
@@ -432,7 +432,7 @@
 				bias-pull-up;
 			};
 
-			mmc2_8bit_pins: mmc2_8bit {
+			mmc2_8bit_pins: mmc2-8bit-pins {
 				pins = "PC5", "PC6", "PC8",
 				       "PC9", "PC10", "PC11",
 				       "PC12", "PC13", "PC14",
@@ -442,47 +442,47 @@
 				bias-pull-up;
 			};
 
-			spdif_tx_pins_a: spdif {
+			spdif_tx_pin: spdif-tx-pin {
 				pins = "PA17";
 				function = "spdif";
 			};
 
-			spi0_pins: spi0 {
+			spi0_pins: spi0-pins {
 				pins = "PC0", "PC1", "PC2", "PC3";
 				function = "spi0";
 			};
 
-			spi1_pins: spi1 {
+			spi1_pins: spi1-pins {
 				pins = "PA15", "PA16", "PA14", "PA13";
 				function = "spi1";
 			};
 
-			uart0_pins_a: uart0 {
+			uart0_pa_pins: uart0-pa-pins {
 				pins = "PA4", "PA5";
 				function = "uart0";
 			};
 
-			uart1_pins: uart1 {
+			uart1_pins: uart1-pins {
 				pins = "PG6", "PG7";
 				function = "uart1";
 			};
 
-			uart1_rts_cts_pins: uart1_rts_cts {
+			uart1_rts_cts_pins: uart1-rts-cts-pins {
 				pins = "PG8", "PG9";
 				function = "uart1";
 			};
 
-			uart2_pins: uart2 {
+			uart2_pins: uart2-pins {
 				pins = "PA0", "PA1";
 				function = "uart2";
 			};
 
-			uart3_pins: uart3 {
+			uart3_pins: uart3-pins {
 				pins = "PA13", "PA14";
 				function = "uart3";
 			};
 
-			uart3_rts_cts_pins: uart3_rts_cts {
+			uart3_rts_cts_pins: uart3-rts-cts-pins {
 				pins = "PA15", "PA16";
 				function = "uart3";
 			};
@@ -860,12 +860,12 @@
 			interrupt-controller;
 			#interrupt-cells = <3>;
 
-			ir_pins_a: ir {
+			r_ir_rx_pin: r-ir-rx-pin {
 				pins = "PL11";
 				function = "s_cir_rx";
 			};
 
-			r_i2c_pins: r-i2c {
+			r_i2c_pins: r-i2c-pins {
 				pins = "PL0", "PL1";
 				function = "s_i2c";
 			};
arch/arm/boot/dts/sunxi-libretech-all-h3-cc.dtsi +2 -2
index 1eadc132390c..19b3b23cfaa8 100644
@@ -167,7 +167,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -205,7 +205,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5-devboard.dts +1 -1
index 342fa4a577ea..62409afbaf06 100644
@@ -132,7 +132,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +1 -1
index 75c95125e894..9887948d5c86 100644
@@ -188,7 +188,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts +1 -1
index cc268a69786c..57a6f45036c1 100644
@@ -142,7 +142,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +2 -2
index 3e0d5a9c096d..e126c1c9f05c 100644
@@ -180,7 +180,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -221,7 +221,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts +2 -2
index b75ca4d7d001..d9b3ed257088 100644
@@ -187,7 +187,7 @@
 
 &ir {
 	pinctrl-names = "default";
-	pinctrl-0 = <&ir_pins_a>;
+	pinctrl-0 = <&r_ir_rx_pin>;
 	status = "okay";
 };
 
@@ -224,7 +224,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts +1 -1
index 1238de25a969..db6ea7b58999 100644
@@ -127,7 +127,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +1 -1
index fb6ddca6e373..dacf61399527 100644
@@ -133,7 +133,7 @@
 
 &uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&uart0_pins_a>;
+	pinctrl-0 = <&uart0_pa_pins>;
 	status = "okay";
 };
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 20/28
#45 lore raw

Re: [PATCH 20/28] ARM: dts: sun8i: h3: Refactor the pinctrl node names

Quoted 7 lines · Maxime Ripard

The H3 and H5 have never been converted to the new convention we want to have for the pinctrl nodes.

Convert them.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#46 lore raw

PATCH 21/28 ARM: dts: sunxi: Add default dr_mode

In reply to Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

---
 arch/arm/boot/dts/sun4i-a10.dtsi     | 1 +
 arch/arm/boot/dts/sun5i.dtsi         | 1 +
 arch/arm/boot/dts/sun6i-a31.dtsi     | 1 +
 arch/arm/boot/dts/sun7i-a20.dtsi     | 1 +
 arch/arm/boot/dts/sun8i-a23-a33.dtsi | 1 +
 arch/arm/boot/dts/sun8i-a83t.dtsi    | 1 +
 6 files changed, 6 insertions(+)
arch/arm/boot/dts/sun4i-a10.dtsi +1 -0
index 6f76d9cb370a..35d2cdb7c912 100644
@@ -496,6 +496,7 @@
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
 			allwinner,sram = <&otg_sram 1>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
arch/arm/boot/dts/sun5i.dtsi +1 -0
index 31af6e36aacd..e5bc48ccc82b 100644
@@ -360,6 +360,7 @@
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
 			allwinner,sram = <&otg_sram 1>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
arch/arm/boot/dts/sun6i-a31.dtsi +1 -0
index 4d155592a17c..fa983f9ff5f5 100644
@@ -508,6 +508,7 @@
 			phys = <&usbphy 0>;
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
arch/arm/boot/dts/sun7i-a20.dtsi +1 -0
index 7d663a939239..d5c6bb50470f 100644
@@ -588,6 +588,7 @@
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
 			allwinner,sram = <&otg_sram 1>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
arch/arm/boot/dts/sun8i-a23-a33.dtsi +1 -0
index f999588c6af2..72a558df78b1 100644
@@ -277,6 +277,7 @@
 			phys = <&usbphy 0>;
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
arch/arm/boot/dts/sun8i-a83t.dtsi +1 -0
index 1453a4afabf5..883f039e9e71 100644
@@ -582,6 +582,7 @@
 			phys = <&usbphy 0>;
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 21/28
#47 lore raw

Re: [PATCH 21/28] ARM: dts: sunxi: Add default dr_mode

Quoted 8 lines · Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

Do we know which ones don't have it set? Just the ones that don't enable it?

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#48 lore raw

PATCH 22/28 ARM: dts: sun8i: h3: Add default dr_mode

In reply to Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sunxi-h3-h5.dtsi +1 -0
index 8a79d3b04069..3b18fd71efc1 100644
@@ -242,6 +242,7 @@
 			phys = <&usbphy 0>;
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 22/28
#49 lore raw

Re: [PATCH 22/28] ARM: dts: sun8i: h3: Add default dr_mode

Quoted 8 lines · Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#50 lore raw

PATCH 23/28 arm64: dts: allwinner: a64: Add default dr_mode

In reply to Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +1 -0
index becef9683c7a..9514dc170970 100644
@@ -497,6 +497,7 @@
 			phys = <&usbphy 0>;
 			phy-names = "usb";
 			extcon = <&usbphy 0>;
+			dr_mode = "otg";
 			status = "disabled";
 		};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 23/28
#51 lore raw

Re: [PATCH 23/28] arm64: dts: allwinner: a64: Add default dr_mode

Quoted 8 lines · Maxime Ripard

The USB OTG binding we have mandates to have a dr_mode property, yet not all boards are setting it.

Since the generic otg binding states that the default mode should be the OTG mode, let's use that one in our DTSI.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#52 lore raw

PATCH 24/28 ARM: dts: sun8i: a83t: Fix the SPDIF binding

In reply to Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +2 -2
index 883f039e9e71..09e7f74ab5f5 100644
@@ -794,8 +794,8 @@
 			clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
 			resets = <&ccu RST_BUS_SPDIF>;
 			clock-names = "apb", "spdif";
-			dmas = <&dma 2>;
-			dma-names = "tx";
+			dmas = <&dma 2>, <&dma 2>;
+			dma-names = "rx", "tx";
 			pinctrl-names = "default";
 			pinctrl-0 = <&spdif_tx_pin>;
 			status = "disabled";
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 24/28
#53 lore raw

Re: [PATCH 24/28] ARM: dts: sun8i: a83t: Fix the SPDIF binding

Quoted 8 lines · Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#54 lore raw

PATCH 25/28 ARM: dts: sun8i: h3: Fix the SPDIF binding

In reply to Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sunxi-h3-h5.dtsi +2 -2
index 3b18fd71efc1..c0cbf386331a 100644
@@ -590,8 +590,8 @@
 			clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
 			resets = <&ccu RST_BUS_SPDIF>;
 			clock-names = "apb", "spdif";
-			dmas = <&dma 2>;
-			dma-names = "tx";
+			dmas = <&dma 2>, <&dma 2>;
+			dma-names = "rx", "tx";
 			status = "disabled";
 		};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#55 lore raw

Re: [PATCH 25/28] ARM: dts: sun8i: h3: Fix the SPDIF binding

Quoted 6 lines · Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

The H3 does not have the RX DRQ listed, nor does it have an SPDIF IN pin to test if it works, even though the OWA section does list RX capability and registers.

I suggest leaving it out (since there's no way to verify it), and updating the bindings to cover this case.

On the side, the A83T does not have an SPDIF IN pin either. And it doesn't have documentation for the SPDIF block. But it does list the RX DRQ.

ChenYu

Quoted 22 lines
---
 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sunxi-h3-h5.dtsi +2 -3
index 3b18fd71efc1..c0cbf386331a 100644
@@ -590,8 +590,8 @@
                        clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
                        resets = <&ccu RST_BUS_SPDIF>;
                        clock-names = "apb", "spdif";
-                       dmas = <&dma 2>;
-                       dma-names = "tx";
+                       dmas = <&dma 2>, <&dma 2>;
+                       dma-names = "rx", "tx";
                        status = "disabled";
                };
 
--
Quoted 2 lines

2.20.1

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#56 lore raw

PATCH 26/28 arm64: dts: allwinner: a64: Fix the SPDIF binding

In reply to Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +2 -2
index 9514dc170970..ec7f27f617fd 100644
@@ -719,8 +719,8 @@
 			clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>;
 			resets = <&ccu RST_BUS_SPDIF>;
 			clock-names = "apb", "spdif";
-			dmas = <&dma 2>;
-			dma-names = "tx";
+			dmas = <&dma 2>, <&dma 2>;
+			dma-names = "rx", "tx";
 			pinctrl-names = "default";
 			pinctrl-0 = <&spdif_tx_pin>;
 			status = "disabled";
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#57 lore raw

Re: [PATCH 26/28] arm64: dts: allwinner: a64: Fix the SPDIF binding

Quoted 8 lines · Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has gone un-noticed since the driver only has support for transmission currently.

Same comment as the H5.

ChenYu

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#58 lore raw

Re: [PATCH 26/28] arm64: dts: allwinner: a64: Fix the SPDIF binding

Quoted 6 lines · Chen-Yu Tsai
Quoted 4 lines · Maxime Ripard

The SPDIF binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

Quoted 6 lines
Quoted 4 lines

This has gone un-noticed since the driver only has support for transmission currently.

Same comment as the H5.

Ugh, I meant the H3.

Quoted 1 line

ChenYu

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#59 lore raw

PATCH 27/28 arm64: dts: allwinner: a64: Fix the Codec I2S binding

In reply to Maxime Ripard

The I2S binding never mentions a reset-names property, or mentions which value it should have. To avoid any further issue, remove it.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +0 -1
index ec7f27f617fd..dd5a4c9de9ef 100644
@@ -762,7 +762,6 @@
 			clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
 			clock-names = "apb", "mod";
 			resets = <&ccu RST_BUS_CODEC>;
-			reset-names = "rst";
 			dmas = <&dma 15>, <&dma 15>;
 			dma-names = "rx", "tx";
 			status = "disabled";
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 27/28
#60 lore raw

Re: [PATCH 27/28] arm64: dts: allwinner: a64: Fix the Codec I2S binding

Quoted 5 lines · Maxime Ripard

The I2S binding never mentions a reset-names property, or mentions which value it should have. To avoid any further issue, remove it.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#61 lore raw

PATCH 28/28 ARM: dts: sun8i: a83t: Fix the I2S binding

In reply to Maxime Ripard

The I2S binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has probably gone un-noticed since no boards are using that controller.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +2 -2
index 09e7f74ab5f5..d0f342ced754 100644
@@ -836,9 +836,9 @@
 			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
 			clock-names = "apb", "mod";
-			dmas = <&dma 27>;
+			dmas = <&dma 27>, <&dma 27>;
 			resets = <&ccu RST_BUS_I2S2>;
-			dma-names = "tx";
+			dma-names = "rx", "tx";
 			status = "disabled";
 		};
 
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#62 lore raw

Re: [PATCH 28/28] ARM: dts: sun8i: a83t: Fix the I2S binding

Quoted 17 lines · Maxime Ripard

The I2S binding mandates that we have two DMA channels, one for reception and one in transmission. However, the device tree only specifies one.

This has probably gone un-noticed since no boards are using that controller.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +0 -0
index 09e7f74ab5f5..d0f342ced754 100644

arch/arm/boot/dts/sun8i-a83t.dtsi line 841

Quoted 8 lines
arch/arm/boot/dts/sun8i-a83t.dtsi +2 -2
@@ -836,9 +836,9 @@
                        interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
                        clock-names = "apb", "mod";
-                       dmas = <&dma 27>;
+                       dmas = <&dma 27>, <&dma 27>;
                        resets = <&ccu RST_BUS_I2S2>;
-                       dma-names = "tx";
+                       dma-names = "rx", "tx";

Similar to SPDIF on H3, the RX DRQ is not listed. This controller being responsible for HDMI audio out, there's no way to verify if the DRQ is there or not.

ChenYu

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Acked-by on v1 1/28
#63 lore raw
In reply to Maxime Ripard
Quoted 9 lines · Maxime Ripard

Commit 1f8afea8fee0 ("dt-bindings: Add YAML description for Allwinner boards") added an exhaustive list of the valid compatibles used for both the SoCs and boards.

We can therefore remove the old documentation, that never got as well updated as it should have.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel