Skip to contentSkip to conversation

ARM: dts: Add USBPHY nodes to Exynos4x12

PATCH RESEND Superseded Dongjin Kim 2 participants 3 messages Aug 5, 2013 – Aug 6, 2013

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARM: dts: Add USBPHY nodes to Exynos4x12

This patch adds device nodes for USBPHY to Exynos4x12.

---
 arch/arm/boot/dts/exynos4x12.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/exynos4x12.dtsi +18 -0
index 01da194..9c3335b 100644
@@ -73,4 +73,22 @@
 		clock-names = "sclk_fimg2d", "fimg2d";
 		status = "disabled";
 	};
+
+	usbphy at 125B00000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "samsung,exynos4x12-usb2phy";
+		reg = <0x125B0000 0x100>;
+		ranges;
+
+		clocks = <&clock 2>, <&clock 305>;
+		clock-names = "xusbxti", "otg";
+		status = "disabled";
+
+		usbphy-sys {
+			/* USB device and host PHY_CONTROL registers */
+			reg = <0x10020704 0xc>,
+			      <0x1001021c 0x4>;
+		};
+	};
 };
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Dongjin,

Quoted 17 lines · Dongjin Kim

This patch adds device nodes for USBPHY to Exynos4x12.

---
 arch/arm/boot/dts/exynos4x12.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/exynos4x12.dtsi +1 -0
index 01da194..9c3335b 100644
@@ -73,4 +73,22 @@
                clock-names = "sclk_fimg2d", "fimg2d";
                status = "disabled";
        };
+

arch/arm/boot/dts/exynos4x12.dtsi line 86

Quoted 10 lines
arch/arm/boot/dts/exynos4x12.dtsi +10 -0
+       usbphy at 125B00000 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "samsung,exynos4x12-usb2phy";
+               reg = <0x125B0000 0x100>;
+               ranges;
+
+               clocks = <&clock 2>, <&clock 305>;
+               clock-names = "xusbxti", "otg";
+               status = "disabled";

I don't think this node has any other board specific dependencies. In that case you don't need to disable this.

Quoted 11 lines
arch/arm/boot/dts/exynos4x12.dtsi +7 -1
+
+               usbphy-sys {
+                       /* USB device and host PHY_CONTROL registers */
+                       reg = <0x10020704 0xc>,
+                             <0x1001021c 0x4>;
+               };
+       };
 };
--

1.7.9.5

Signature · 2 lines
With warm regards,
Sachin
#2 lore raw

Aha, yes...my misunderstanding.
This node is not only for OTG or HSIC, could miss USB HOST transceiver if certain board file does not set "okay".

Thanks,
Dongjin.

Quoted 51 lines · Sachin Kamat

Hi Dongjin,

Quoted 17 lines · Dongjin Kim

This patch adds device nodes for USBPHY to Exynos4x12.

---
 arch/arm/boot/dts/exynos4x12.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/exynos4x12.dtsi +1 -0
index 01da194..9c3335b 100644
@@ -73,4 +73,22 @@
                clock-names = "sclk_fimg2d", "fimg2d";
                status = "disabled";
        };
+

arch/arm/boot/dts/exynos4x12.dtsi line 86

Quoted 10 lines
arch/arm/boot/dts/exynos4x12.dtsi +10 -0
+       usbphy at 125B00000 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "samsung,exynos4x12-usb2phy";
+               reg = <0x125B0000 0x100>;
+               ranges;
+
+               clocks = <&clock 2>, <&clock 305>;
+               clock-names = "xusbxti", "otg";
+               status = "disabled";

I don't think this node has any other board specific dependencies. In that case you don't need to disable this.

Quoted 11 lines
arch/arm/boot/dts/exynos4x12.dtsi +7 -1
+
+               usbphy-sys {
+                       /* USB device and host PHY_CONTROL registers */
+                       reg = <0x10020704 0xc>,
+                             <0x1001021c 0x4>;
+               };
+       };
 };
--

1.7.9.5

--
With warm regards,
Sachin