Skip to contentSkip to conversation

ARM: dts: add usb 2.0 clock references to exynos5250 device tree

PATCH In review Doug Anderson 4 participants 6 messages Mar 13, 2013 – Apr 3, 2013

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

PATCH 1/1 ARM: dts: add usb 2.0 clock references to exynos5250 device tree

This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time.

---
 arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +6 -0
index 24c52e6..59be603 100644
@@ -402,12 +402,18 @@
 		compatible = "samsung,exynos4210-ehci";
 		reg = <0x12110000 0x100>;
 		interrupts = <0 71 0>;
+
+		clocks = <&clock 285>;
+		clock-names = "usbhost";
 	};
 
 	usb at 12120000 {
 		compatible = "samsung,exynos4210-ohci";
 		reg = <0x12120000 0x100>;
 		interrupts = <0 71 0>;
+
+		clocks = <&clock 285>;
+		clock-names = "usbhost";
 	};
 
 	amba {
Signature · 1 line
1.8.1.3
#1 lore raw

Hi Doug,

Quoted 19 lines · Doug Anderson

This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time.

---
 arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +2 -0
index 24c52e6..59be603 100644
@@ -402,12 +402,18 @@
                compatible = "samsung,exynos4210-ehci";
                reg = <0x12110000 0x100>;
                interrupts = <0 71 0>;
+
+               clocks = <&clock 285>;

arch/arm/boot/dts/exynos5250.dtsi line 416

Quoted 10 lines
arch/arm/boot/dts/exynos5250.dtsi +4 -0
+               clock-names = "usbhost";
        };
 
        usb at 12120000 {
                compatible = "samsung,exynos4210-ohci";
                reg = <0x12120000 0x100>;
                interrupts = <0 71 0>;
+
+               clocks = <&clock 285>;
+               clock-names = "usbhost";

It will be nice if you can please update relevant information alongwith this, in the bindings doc for "exynos-usb".

Quoted 11 lines
arch/arm/boot/dts/exynos5250.dtsi +0 -1
        };
 
        amba {
--

1.8.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Thanks & Regards
Vivek
#2 lore raw

Vivek,

Quoted 2 lines · Vivek Gautam

It will be nice if you can please update relevant information alongwith this, in the bindings doc for "exynos-usb".

Sure. It always feels like device tree additions ought to be separate patches from bindings patches, so I'll just send something separately.
Here it is: <https://patchwork.kernel.org/patch/2274331/>

-Doug

Reviewed-by on v1 1/1
#3 lore raw
In reply to Doug Anderson
Quoted 6 lines · Doug Anderson

This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time.

The clock number and name are right.

Best regards,
Jingoo Han

Quoted 29 lines
---
 arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +6 -1
index 24c52e6..59be603 100644
@@ -402,12 +402,18 @@
 		compatible = "samsung,exynos4210-ehci";
 		reg = <0x12110000 0x100>;
 		interrupts = <0 71 0>;
+
+		clocks = <&clock 285>;
+		clock-names = "usbhost";
 	};
 
 	usb at 12120000 {
 		compatible = "samsung,exynos4210-ohci";
 		reg = <0x12120000 0x100>;
 		interrupts = <0 71 0>;
+
+		clocks = <&clock 285>;
+		clock-names = "usbhost";
 	};
 
 	amba {
--

1.8.1.3

Tested-by
#4 lore raw

Hi,

Quoted 34 lines · Jingoo Han
Quoted 6 lines · Doug Anderson

This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time.

The clock number and name are right.

Best regards,
Jingoo Han

Quoted 17 lines
---
 arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +3 -0
index 24c52e6..59be603 100644
@@ -402,12 +402,18 @@
              compatible = "samsung,exynos4210-ehci";
              reg = <0x12110000 0x100>;
              interrupts = <0 71 0>;
+
+             clocks = <&clock 285>;
+             clock-names = "usbhost";
      };
 
Quoted 7 lines

arch/arm/boot/dts/exynos5250.dtsi line 416

Quoted 7 lines
arch/arm/boot/dts/exynos5250.dtsi +3 -0
      usb at 12120000 {
              compatible = "samsung,exynos4210-ohci";
              reg = <0x12120000 0x100>;
              interrupts = <0 71 0>;
+
+             clocks = <&clock 285>;
+             clock-names = "usbhost";

tested this patch with smdk5250 h/w.

Signature · 2 lines
Thanks & Regards
Vivek
#5 lore raw
Quoted 50 lines · Vivek Gautam

Hi,

Quoted 14 lines · Jingoo Han
Quoted 6 lines · Doug Anderson

This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time.

The clock number and name are right.

Quoted 8 lines

Best regards,
Jingoo Han

Review

Quoted 5 lines
---
 arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/exynos5250.dtsi

Quoted 12 lines
Quoted 12 lines

index 24c52e6..59be603 100644

arch/arm/boot/dts/exynos5250.dtsi +3 -0
@@ -402,12 +402,18 @@
              compatible = "samsung,exynos4210-ehci";
              reg = <0x12110000 0x100>;
              interrupts = <0 71 0>;
+
+             clocks = <&clock 285>;
+             clock-names = "usbhost";
      };
 
Quoted 7 lines

arch/arm/boot/dts/exynos5250.dtsi line 416

Quoted 7 lines
arch/arm/boot/dts/exynos5250.dtsi +3 -0
      usb at 12120000 {
              compatible = "samsung,exynos4210-ohci";
              reg = <0x12120000 0x100>;
              interrupts = <0 71 0>;
+
+             clocks = <&clock 285>;
+             clock-names = "usbhost";

tested this patch with smdk5250 h/w.

Quoted 2 lines

Vivek and Jingoo,

Thanks for your review and test.

Looks good to me and I applied in my local.
Just note that this should be seen in my public tree tomorrow night(KST).

- Kukjin