Skip to contentSkip to conversation

ARM, arm64: dts: Use usb-phy fallback bindings

PATCH New Simon Horman 3 participants 7 messages Dec 1, 2016 – Dec 2, 2016

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

cover ARM, arm64: dts: Use usb-phy fallback bindings

Hi,

this short series makes use of fallback bindings for Renesas R-Car PHY drivers in the DT of SoCs which already use those drivers.

Simon Horman (4):
ARM: dts: r8a7790: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7791: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7794: Use renesas,rcar-gen2-usb-phy fallback binding
arm64: dts: r8a7795: Use renesas,rcar-gen3-usb2-phy fallback binding

 arch/arm/boot/dts/r8a7790.dtsi           | 3 ++-
 arch/arm/boot/dts/r8a7791.dtsi           | 3 ++-
 arch/arm/boot/dts/r8a7794.dtsi           | 3 ++-
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 ++++++---
 4 files changed, 12 insertions(+), 6 deletions(-)
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#1 lore raw

PATCH 1/4 ARM: dts: r8a7790: Use renesas, rcar-gen2-usb-phy fallback binding

A fallback binding for the Renesas R-Car Gen2 PHY driver was added by commit 7777cb8ba08d ("phy: rcar-gen2: add fallback binding"). This patch makes use of this binding in the DT for the r8a7790 SoC.

---
 arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790.dtsi +2 -1
index f554ef3c8096..38111bddbd05 100644
@@ -883,7 +883,8 @@
 	};
 
 	usbphy: usb-phy at e6590100 {
-		compatible = "renesas,usb-phy-r8a7790";
+		compatible = "renesas,usb-phy-r8a7790",
+			     "renesas,rcar-gen2-usb-phy";
 		reg = <0 0xe6590100 0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#2 lore raw

PATCH 2/4 ARM: dts: r8a7791: Use renesas, rcar-gen2-usb-phy fallback binding

In reply to Simon Horman

A fallback binding for the Renesas R-Car Gen2 PHY driver was added by commit 7777cb8ba08d ("phy: rcar-gen2: add fallback binding"). This patch makes use of this binding in the DT for the r8a7791 SoC.

---
 arch/arm/boot/dts/r8a7791.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791.dtsi +2 -1
index 4c50de2faef1..a14f0ae8c8dd 100644
@@ -934,7 +934,8 @@
 	};
 
 	usbphy: usb-phy at e6590100 {
-		compatible = "renesas,usb-phy-r8a7791";
+		compatible = "renesas,usb-phy-r8a7791",
+			     "renesas,rcar-gen2-usb-phy";
 		reg = <0 0xe6590100 0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#3 lore raw

PATCH 3/4 ARM: dts: r8a7794: Use renesas, rcar-gen2-usb-phy fallback binding

In reply to Simon Horman

A fallback binding for the Renesas R-Car Gen2 PHY driver was added by commit 7777cb8ba08d ("phy: rcar-gen2: add fallback binding"). This patch makes use of this binding in the DT for the r8a7794 SoC.

---
 arch/arm/boot/dts/r8a7794.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7794.dtsi +2 -1
index 63dc7f29d216..5caa8b9181d8 100644
@@ -878,7 +878,8 @@
 	};
 
 	usbphy: usb-phy at e6590100 {
-		compatible = "renesas,usb-phy-r8a7794";
+		compatible = "renesas,usb-phy-r8a7794",
+			     "renesas,rcar-gen2-usb-phy";
 		reg = <0 0xe6590100 0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#4 lore raw

PATCH 4/4 arm64: dts: r8a7795: Use renesas, rcar-gen3-usb2-phy fallback binding

In reply to Simon Horman

A fallback binding for the Renesas R-Car Gen3 for USB2.0 PHY driver was added by commit cde7bc367f09 ("phy: rcar-gen3-usb2: add fallback binding"). This patch makes use of this binding in the DT for the r8a7795 SoC.

---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +6 -3
index a39a702b904d..080f1f422cfc 100644
@@ -1141,7 +1141,8 @@
 		};
 
 		usb2_phy0: usb-phy at ee080200 {
-			compatible = "renesas,usb2-phy-r8a7795";
+			compatible = "renesas,usb2-phy-r8a7795",
+				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee080200 0 0x700>;
 			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 703>;
@@ -1151,7 +1152,8 @@
 		};
 
 		usb2_phy1: usb-phy at ee0a0200 {
-			compatible = "renesas,usb2-phy-r8a7795";
+			compatible = "renesas,usb2-phy-r8a7795",
+				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee0a0200 0 0x700>;
 			clocks = <&cpg CPG_MOD 702>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
@@ -1160,7 +1162,8 @@
 		};
 
 		usb2_phy2: usb-phy at ee0c0200 {
-			compatible = "renesas,usb2-phy-r8a7795";
+			compatible = "renesas,usb2-phy-r8a7795",
+				     "renesas,rcar-gen3-usb2-phy";
 			reg = <0 0xee0c0200 0 0x700>;
 			clocks = <&cpg CPG_MOD 701>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Signature · 1 line
2.7.0.rc3.207.g0ac5344
#5 lore raw

cover ARM, arm64: dts: Use usb-phy fallback bindings

In reply to Simon Horman
Quoted 8 lines · Simon Horman

this short series makes use of fallback bindings for Renesas R-Car PHY drivers in the DT of SoCs which already use those drivers.

Simon Horman (4):
ARM: dts: r8a7790: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7791: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7794: Use renesas,rcar-gen2-usb-phy fallback binding
arm64: dts: r8a7795: Use renesas,rcar-gen3-usb2-phy fallback binding

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#6 lore raw

cover ARM, arm64: dts: Use usb-phy fallback bindings

Quoted 11 lines · Geert Uytterhoeven
Quoted 8 lines · Simon Horman

this short series makes use of fallback bindings for Renesas R-Car PHY drivers in the DT of SoCs which already use those drivers.

Simon Horman (4):
ARM: dts: r8a7790: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7791: Use renesas,rcar-gen2-usb-phy fallback binding
ARM: dts: r8a7794: Use renesas,rcar-gen2-usb-phy fallback binding
arm64: dts: r8a7795: Use renesas,rcar-gen3-usb2-phy fallback binding

Thanks, I have queued these up for v4.11.