Skip to contentSkip to conversation

ARM: dts: Add USBPHY nodes to Exynos4x12

PATCH Superseded Dongjin Kim 2 participants 4 messages Jul 23, 2013 – Jul 24, 2013

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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 12 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 +0 -0
index 01da194..9c3335b 100644

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

Quoted 5 lines
arch/arm/boot/dts/exynos4x12.dtsi +2 -0
@@ -73,4 +73,22 @@
                clock-names = "sclk_fimg2d", "fimg2d";
                status = "disabled";
        };
+
+       usbphy at 125B00000 {

Extra 0 above.

Quoted 7 lines
arch/arm/boot/dts/exynos4x12.dtsi +7 -0
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "samsung,exynos4x12-usb2phy";
+               reg = <0x125B0000 0x100>;
+               ranges;
+
+               clocks = <&clock 2>, <&clock 305>;

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

Quoted 10 lines
arch/arm/boot/dts/exynos4x12.dtsi +9 -0
+               clock-names = "xusbxti", "otg";
+               status = "disabled";
+
+               usbphy-sys {
+                       /* USB device and host PHY_CONTROL registers */
+                       reg = <0x10020704 0xc>,
+                             <0x1001021c 0x4>;
+               };
+       };
 };

Please add this node after tmu node (satisfies alphabetical order as well as increasing address value)

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

Thanks Sachin,

Quoted 10 lines · Sachin Kamat

Hi Dongjin,

Quoted 7 lines · Dongjin Kim

This patch adds device nodes for USBPHY to Exynos4x12.

---
 arch/arm/boot/dts/exynos4x12.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Quoted 13 lines

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

Quoted 10 lines
arch/arm/boot/dts/exynos4x12.dtsi +2 -0
index 01da194..9c3335b 100644
@@ -73,4 +73,22 @@
                clock-names = "sclk_fimg2d", "fimg2d";
                status = "disabled";
        };
+
+       usbphy at 125B00000 {

Extra 0 above.

This is my bad, I will fix.

Quoted 12 lines
Quoted 12 lines
arch/arm/boot/dts/exynos4x12.dtsi +12 -0
+               #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 */
Quoted 8 lines

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

Quoted 5 lines
arch/arm/boot/dts/exynos4x12.dtsi +4 -0
+                       reg = <0x10020704 0xc>,
+                             <0x1001021c 0x4>;
+               };
+       };
 };

Please add this node after tmu node (satisfies alphabetical order as well as increasing address value)

No tmu node in exynos4x12.dtsi in mainline v3.11-rc2 yet, even in Kukjin's branch.

Quoted 5 lines

--
With warm regards,
Sachin

#3 lore raw
Quoted 48 lines · Dongjin Kim

Thanks Sachin,

Quoted 10 lines · Sachin Kamat

Hi Dongjin,

Quoted 7 lines · Dongjin Kim

This patch adds device nodes for USBPHY to Exynos4x12.

---
 arch/arm/boot/dts/exynos4x12.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Quoted 13 lines

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

Quoted 10 lines
arch/arm/boot/dts/exynos4x12.dtsi +2 -0
index 01da194..9c3335b 100644
@@ -73,4 +73,22 @@
                clock-names = "sclk_fimg2d", "fimg2d";
                status = "disabled";
        };
+
+       usbphy at 125B00000 {

Extra 0 above.

This is my bad, I will fix.

Quoted 12 lines
Quoted 12 lines
arch/arm/boot/dts/exynos4x12.dtsi +12 -0
+               #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 */
Quoted 8 lines

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

Quoted 5 lines
arch/arm/boot/dts/exynos4x12.dtsi +4 -0
+                       reg = <0x10020704 0xc>,
+                             <0x1001021c 0x4>;
+               };
+       };
 };

Please add this node after tmu node (satisfies alphabetical order as well as increasing address value)

Quoted 2 lines

No tmu node in exynos4x12.dtsi in mainline v3.11-rc2 yet, even in Kukjin's branch.

Sorry, that patch is not yet applied to for-next. I will re-send again. You may ignore this comment for now.

Signature · 2 lines
With warm regards,
Sachin