Skip to contentSkip to conversation

ARM: dts: Add USB host node for Exynos4

PATCH Superseded Dongjin Kim 3 participants 5 messages Jul 23, 2013 – Jul 24, 2013

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

PATCH 1/1 ARM: dts: Add USB host node for Exynos4

This patch adds EHCI and OHCI host device nodes for Exynos4.

---
 arch/arm/boot/dts/exynos4.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +20 -0
index 3f94fe8..1cdbf89 100644
@@ -155,6 +155,26 @@
 		status = "disabled";
 	};
 
+	ehci at 12580000 {
+		compatible = "samsung,exynos4210-ehci";
+		reg = <0x12580000 0x100>;
+		interrupts = <0 70 0>;
+		status = "disabled";
+
+		clocks = <&clock 304>;
+		clock-names = "usbhost";
+	};
+
+	ohci at 12590000 {
+		compatible = "samsung,exynos4210-ohci";
+		reg = <0x12580000 0x100>;
+		interrupts = <0 70 0>;
+		status = "disabled";
+
+		clocks = <&clock 304>;
+		clock-names = "usbhost";
+	};
+
 	mfc: codec at 13400000 {
 		compatible = "samsung,mfc-v5";
 		reg = <0x13400000 0x10000>;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 18 lines · Dongjin Kim

This patch adds EHCI and OHCI host device nodes for Exynos4.

---
 arch/arm/boot/dts/exynos4.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +3 -0
index 3f94fe8..1cdbf89 100644
@@ -155,6 +155,26 @@
                status = "disabled";
        };
 
+       ehci at 12580000 {
+               compatible = "samsung,exynos4210-ehci";
+               reg = <0x12580000 0x100>;

arch/arm/boot/dts/exynos4.dtsi line 170

Quoted 10 lines
arch/arm/boot/dts/exynos4.dtsi +10 -0
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
+       ohci at 12590000 {
+               compatible = "samsung,exynos4210-ohci";
+               reg = <0x12580000 0x100>;

Register value and node name do not match. Typo?

Quoted 17 lines
arch/arm/boot/dts/exynos4.dtsi +7 -1
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
        mfc: codec at 13400000 {
                compatible = "samsung,mfc-v5";
                reg = <0x13400000 0x10000>;
--

1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

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

+Jingoo Han

Sorry, its my bad. Typo problem.

I found another patch same with mine,
https://patchwork.kernel.org/patch/2628451, submitted by Jingoo Han and tested on Exynos4210. Mine is tested on Exynos4412. Both SoC have same USB host address space, so I think USB host device nodes can be placed in exynos4.dtsi.

Regards,
Dongjin.

Quoted 56 lines · Sachin Kamat
Quoted 18 lines · Dongjin Kim

This patch adds EHCI and OHCI host device nodes for Exynos4.

---
 arch/arm/boot/dts/exynos4.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +3 -0
index 3f94fe8..1cdbf89 100644
@@ -155,6 +155,26 @@
                status = "disabled";
        };
 
+       ehci at 12580000 {
+               compatible = "samsung,exynos4210-ehci";
+               reg = <0x12580000 0x100>;

arch/arm/boot/dts/exynos4.dtsi line 170

Quoted 10 lines
arch/arm/boot/dts/exynos4.dtsi +10 -0
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
+       ohci at 12590000 {
+               compatible = "samsung,exynos4210-ohci";
+               reg = <0x12580000 0x100>;

Register value and node name do not match. Typo?

Quoted 13 lines
arch/arm/boot/dts/exynos4.dtsi +7 -1
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
        mfc: codec at 13400000 {
                compatible = "samsung,mfc-v5";
                reg = <0x13400000 0x10000>;
--

1.7.9.5

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
With warm regards,
Sachin

#3 lore raw
Quoted 10 lines · Dongjin Kim

+Jingoo Han

Sorry, its my bad. Typo problem.

I found another patch same with mine,
https://patchwork.kernel.org/patch/2628451, submitted by Jingoo Han and tested on Exynos4210. Mine is tested on Exynos4412. Both SoC have same USB host address space, so I think USB host device nodes can be placed in exynos4.dtsi.

OK, USB host device nodes can be placed in exynos4.dtsi.

However, next time, please leave comment on earlier patch. The patch for Exynos4210 USB was already submitted 2 months ago.

Quoted 50 lines

Regards,
Dongjin.

Quoted 45 lines · Sachin Kamat
Quoted 18 lines · Dongjin Kim

This patch adds EHCI and OHCI host device nodes for Exynos4.

---
 arch/arm/boot/dts/exynos4.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +3 -0
index 3f94fe8..1cdbf89 100644
@@ -155,6 +155,26 @@
                status = "disabled";
        };
 
+       ehci at 12580000 {
+               compatible = "samsung,exynos4210-ehci";
+               reg = <0x12580000 0x100>;

arch/arm/boot/dts/exynos4.dtsi line 170

Quoted 10 lines
arch/arm/boot/dts/exynos4.dtsi +10 -0
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
+       ohci at 12590000 {
+               compatible = "samsung,exynos4210-ohci";
+               reg = <0x12580000 0x100>;

Register value and node name do not match. Typo?

Quoted 12 lines
arch/arm/boot/dts/exynos4.dtsi +7 -1
+               interrupts = <0 70 0>;
+               status = "disabled";
+
+               clocks = <&clock 304>;
+               clock-names = "usbhost";
+       };
+
        mfc: codec at 13400000 {
                compatible = "samsung,mfc-v5";
                reg = <0x13400000 0x10000>;
--

1.7.9.5

#4 lore raw

PATCH v2 1/1 ARM: dts: Add USB host node for Exynos4

In reply to Dongjin Kim

This patch adds EHCI and OHCI host device nodes for Exynos4.

---
 arch/arm/boot/dts/exynos4.dtsi |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +18 -0
index 3f94fe8..cbe5219 100644
@@ -155,6 +155,24 @@
 		status = "disabled";
 	};
 
+	ehci at 12580000 {
+		compatible = "samsung,exynos4210-ehci";
+		reg = <0x12580000 0x100>;
+		interrupts = <0 70 0>;
+		clocks = <&clock 304>;
+		clock-names = "usbhost";
+		status = "disabled";
+	};
+
+	ohci at 12590000 {
+		compatible = "samsung,exynos4210-ohci";
+		reg = <0x12590000 0x100>;
+		interrupts = <0 70 0>;
+		clocks = <&clock 304>;
+		clock-names = "usbhost";
+		status = "disabled";
+	};
+
 	mfc: codec at 13400000 {
 		compatible = "samsung,mfc-v5";
 		reg = <0x13400000 0x10000>;
Signature · 1 line
1.7.9.5