Skip to contentSkip to conversation

arm/dts: omap: Add omap-usb2 dt data

PATCH Superseded Kishon Vijay Abraham I 2 participants 3 messages Sep 11, 2012 Device tree bindings

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/dts: omap: Add omap-usb2 dt data

Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp.

---
Applies on
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next

 arch/arm/boot/dts/omap4.dtsi |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/omap4.dtsi +5 -0
index 8a780b2..bdc21f1 100644
@@ -302,6 +302,11 @@
 			#size-cells = <1>;
 			ranges;
 			ti,hwmods = "ocp2scp_usb_phy";
+			usb2phy at 4a0ad080 {
+				compatible = "ti,omap-usb2";
+				reg = <0x4a0ad080 0x58>,
+				      <0x4a002300 0x4>;
+			};
 		};
 	};
 };
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Kishon,

Quoted 3 lines · Kishon Vijay Abraham I

Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp.

Could you add more details about the omap-usb2?

You must update the Documentation binding with that compatible name. Is it already part of the driver serie? The MUSB driver is referring to "ti,musb-omap2430" only.

Quoted 14 lines

---
Applies on
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next

 arch/arm/boot/dts/omap4.dtsi |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/omap4.dtsi +0 -0
index 8a780b2..bdc21f1 100644

arch/arm/boot/dts/omap4.dtsi line 304

Quoted 3 lines
arch/arm/boot/dts/omap4.dtsi +0 -0
@@ -302,6 +302,11 @@
 			#size-cells = <1>;
 			ranges;
 			ti,hwmods = "ocp2scp_usb_phy";

There is no ocp2scp_usb_phy in the current omap4.dtsi? What base did you used?

You have to use lo/devel-dt branch as a base. All the latest DTS patches an in there for 3.7.

Regards,
Benoit

Quoted 9 lines
arch/arm/boot/dts/omap4.dtsi +5 -0
+			usb2phy at 4a0ad080 {
+				compatible = "ti,omap-usb2";
+				reg = <0x4a0ad080 0x58>,
+				      <0x4a002300 0x4>;
+			};
 		};
 	};
 };
#2 lore raw

Hi,

Quoted 8 lines · Benoit Cousson

Hi Kishon,

Quoted 3 lines · Kishon Vijay Abraham I

Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp.

Could you add more details about the omap-usb2?

I think information about omap-usb2 driver is added in
*usb: phy: add a new driver for omap usb2 phy.*.
Do you want the same thing to be added here?

Quoted 2 lines

You must update the Documentation binding with that compatible name.

Yes. It's part of *usb: phy: add a new driver for omap usb2 phy.*

Quoted 2 lines

Is it already part of the driver serie? The MUSB driver is referring to "ti,musb-omap2430" only.

Will correct the Documentation for MUSB.

Thanks
Kishon