diff mbox

[v3,1/3] ARM: dts: omap3-igep: Add USB OTG support

Message ID 1381158745-9557-2-git-send-email-javier.martinez@collabora.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas Oct. 7, 2013, 3:12 p.m. UTC
Commit ad871c10b ("ARM: dts: OMAP: Add usb_otg and glue data to O
added USB OTG support for most OMAP boards but some OMAP3 boards
such as IGEP boards were not updated. This patch adds an USB OTG
device node to these board.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
---

Changes since v2:
 - Add phys and phy-names properties as required by the new
   generic PHY framework; suggested by Roger Quadros

Changes since v1:
 - Add USB OTG support for both IGEPv2 and IGEP COM and not only to IGEPv2 

 arch/arm/boot/dts/omap3-igep.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Roger Quadros Oct. 7, 2013, 5:10 p.m. UTC | #1
On 10/07/2013 06:12 PM, Javier Martinez Canillas wrote:
> Commit ad871c10b ("ARM: dts: OMAP: Add usb_otg and glue data to O
> added USB OTG support for most OMAP boards but some OMAP3 boards
> such as IGEP boards were not updated. This patch adds an USB OTG
> device node to these board.
> 
> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>

Reviewed-by: Roger Quadros <rogerq@ti.com>

> ---
> 
> Changes since v2:
>  - Add phys and phy-names properties as required by the new
>    generic PHY framework; suggested by Roger Quadros
> 
> Changes since v1:
>  - Add USB OTG support for both IGEPv2 and IGEP COM and not only to IGEPv2 
> 
>  arch/arm/boot/dts/omap3-igep.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
> index 0f92224..ba1e58b 100644
> --- a/arch/arm/boot/dts/omap3-igep.dtsi
> +++ b/arch/arm/boot/dts/omap3-igep.dtsi
> @@ -143,3 +143,12 @@
>  &twl_gpio {
>  	ti,use-leds;
>  };
> +
> +&usb_otg_hs {
> +	interface-type = <0>;
> +	usb-phy = <&usb2_phy>;
> +	phys = <&usb2_phy>;
> +	phy-names = "usb2-phy";
> +	mode = <3>;
> +	power = <50>;
> +};
> 

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

Patch

diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
index 0f92224..ba1e58b 100644
--- a/arch/arm/boot/dts/omap3-igep.dtsi
+++ b/arch/arm/boot/dts/omap3-igep.dtsi
@@ -143,3 +143,12 @@ 
 &twl_gpio {
 	ti,use-leds;
 };
+
+&usb_otg_hs {
+	interface-type = <0>;
+	usb-phy = <&usb2_phy>;
+	phys = <&usb2_phy>;
+	phy-names = "usb2-phy";
+	mode = <3>;
+	power = <50>;
+};