linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add USB Host support for OMAP5 uevm
@ 2013-07-24 14:32 Roger Quadros
  2013-07-24 14:32 ` [PATCH 1/4] ARM: OMAP5: hwmod data: Add USB Host and TLL modules Roger Quadros
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Roger Quadros @ 2013-07-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

These patches provide USB host support for the OMAP5 uEVM board.

They depend on the OMAP clock tree DT data series by Tero Kristo [1]

In patch 3 we also provide USB PHY clock for Panda. This should make
the clock alias patch [2] redundant and it should be reverted when
this series gets in.

[1] - http://thread.gmane.org/gmane.linux.ports.arm.omap/101582

[2] - ARM: OMAP2+: Provide alias to USB PHY clock
http://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/commit/?h=omap-for-v3.11/fixes&id=741532c4a995be11815cb72d4d7a48f442a22fea

cheers,
-roger

---
Roger Quadros (4):
  ARM: OMAP5: hwmod data: Add USB Host and TLL modules
  ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module
  ARM: dts: omap4-panda: Provide USB PHY clock
  ARM: dts: omap5-uevm: Provide USB PHY clock

 arch/arm/boot/dts/omap4-panda-common.dtsi  |    8 +-
 arch/arm/boot/dts/omap5-uevm.dts           |    8 +-
 arch/arm/boot/dts/omap5.dtsi               |    2 +
 arch/arm/mach-omap2/omap_hwmod_54xx_data.c |  157 ++++++++++++++++++++++++++++
 4 files changed, 163 insertions(+), 12 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/4] ARM: OMAP5: hwmod data: Add USB Host and TLL modules
  2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
@ 2013-07-24 14:32 ` Roger Quadros
  2013-07-24 14:32 ` [PATCH 2/4] ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module Roger Quadros
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2013-07-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

Add hwmod data for High Speed USB host and TLL modules

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_54xx_data.c |  157 ++++++++++++++++++++++++++++
 1 files changed, 157 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
index 3c70f5c..07b2b8b 100644
--- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
@@ -1433,6 +1433,145 @@ static struct omap_hwmod omap54xx_uart6_hwmod = {
 };
 
 /*
+ * 'usb_host_hs' class
+ * high-speed multi-port usb host controller
+ */
+
+static struct omap_hwmod_class_sysconfig omap54xx_usb_host_hs_sysc = {
+	.rev_offs	= 0x0000,
+	.sysc_offs	= 0x0010,
+	.sysc_flags	= (SYSC_HAS_MIDLEMODE | SYSC_HAS_RESET_STATUS |
+			   SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET),
+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
+			   SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO |
+			   MSTANDBY_SMART | MSTANDBY_SMART_WKUP),
+	.sysc_fields	= &omap_hwmod_sysc_type2,
+};
+
+static struct omap_hwmod_class omap54xx_usb_host_hs_hwmod_class = {
+	.name	= "usb_host_hs",
+	.sysc	= &omap54xx_usb_host_hs_sysc,
+};
+
+static struct omap_hwmod_opt_clk usb_host_hs_opt_clks[] = {
+	{ .role = "hsic60m_p2_clk", .clk = "usb_host_hs_hsic60m_p2_clk" },
+	{ .role = "hsic60m_p3_clk", .clk = "usb_host_hs_hsic60m_p3_clk" },
+	{ .role = "utmi_p1_clk", .clk = "usb_host_hs_utmi_p1_clk" },
+	{ .role = "utmi_p2_clk", .clk = "usb_host_hs_utmi_p2_clk" },
+	{ .role = "utmi_p3_clk", .clk = "usb_host_hs_utmi_p3_clk" },
+	{ .role = "hsic480m_p1_clk", .clk = "usb_host_hs_hsic480m_p1_clk" },
+	{ .role = "hsic60m_p1_clk", .clk = "usb_host_hs_hsic60m_p1_clk" },
+	{ .role = "hsic480m_p3_clk", .clk = "usb_host_hs_hsic480m_p3_clk" },
+	{ .role = "hsic480m_p2_clk", .clk = "usb_host_hs_hsic480m_p2_clk" },
+};
+
+static struct omap_hwmod omap54xx_usb_host_hs_hwmod = {
+	.name		= "usb_host_hs",
+	.class		= &omap54xx_usb_host_hs_hwmod_class,
+	.clkdm_name	= "l3init_clkdm",
+	/*
+	 * Errata: USBHOST Configured In Smart-Idle Can Lead To a Deadlock
+	 * id: i660
+	 *
+	 * Description:
+	 * In the following configuration :
+	 * - USBHOST module is set to smart-idle mode
+	 * - PRCM asserts idle_req to the USBHOST module ( This typically
+	 *   happens when the system is going to a low power mode : all ports
+	 *   have been suspended, the master part of the USBHOST module has
+	 *   entered the standby state, and SW has cut the functional clocks)
+	 * - an USBHOST interrupt occurs before the module is able to answer
+	 *   idle_ack, typically a remote wakeup IRQ.
+	 * Then the USB HOST module will enter a deadlock situation where it
+	 * is no more accessible nor functional.
+	 *
+	 * Workaround:
+	 * Don't use smart idle; use only force idle, hence HWMOD_SWSUP_SIDLE
+	 */
+
+	/*
+	 * Errata: USB host EHCI may stall when entering smart-standby mode
+	 * Id: i571
+	 *
+	 * Description:
+	 * When the USBHOST module is set to smart-standby mode, and when it is
+	 * ready to enter the standby state (i.e. all ports are suspended and
+	 * all attached devices are in suspend mode), then it can wrongly assert
+	 * the Mstandby signal too early while there are still some residual OCP
+	 * transactions ongoing. If this condition occurs, the internal state
+	 * machine may go to an undefined state and the USB link may be stuck
+	 * upon the next resume.
+	 *
+	 * Workaround:
+	 * Don't use smart standby; use only force standby,
+	 * hence HWMOD_SWSUP_MSTANDBY
+	 */
+
+	/*
+	 * During system boot; If the hwmod framework resets the module
+	 * the module will have smart idle settings; which can lead to deadlock
+	 * (above Errata Id:i660); so, dont reset the module during boot;
+	 * Use HWMOD_INIT_NO_RESET.
+	 */
+
+	.flags		= HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY |
+			  HWMOD_INIT_NO_RESET,
+	.main_clk	= "l3init_60m_fclk",
+	.prcm = {
+		.omap4 = {
+			.clkctrl_offs = OMAP54XX_CM_L3INIT_USB_HOST_HS_CLKCTRL_OFFSET,
+			.context_offs = OMAP54XX_RM_L3INIT_USB_HOST_HS_CONTEXT_OFFSET,
+			.modulemode   = MODULEMODE_SWCTRL,
+		},
+	},
+	.opt_clks	= usb_host_hs_opt_clks,
+	.opt_clks_cnt	= ARRAY_SIZE(usb_host_hs_opt_clks),
+};
+
+/*
+ * 'usb_tll_hs' class
+ * usb_tll_hs module is the adapter on the usb_host_hs ports
+ */
+
+static struct omap_hwmod_class_sysconfig omap54xx_usb_tll_hs_sysc = {
+	.rev_offs	= 0x0000,
+	.sysc_offs	= 0x0010,
+	.syss_offs	= 0x0014,
+	.sysc_flags	= (SYSC_HAS_AUTOIDLE | SYSC_HAS_CLOCKACTIVITY |
+			   SYSC_HAS_ENAWAKEUP | SYSC_HAS_SIDLEMODE |
+			   SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
+	.sysc_fields	= &omap_hwmod_sysc_type1,
+};
+
+static struct omap_hwmod_class omap54xx_usb_tll_hs_hwmod_class = {
+	.name	= "usb_tll_hs",
+	.sysc	= &omap54xx_usb_tll_hs_sysc,
+};
+
+static struct omap_hwmod_opt_clk usb_tll_hs_opt_clks[] = {
+	{ .role = "usb_ch2_clk", .clk = "usb_tll_hs_usb_ch2_clk" },
+	{ .role = "usb_ch0_clk", .clk = "usb_tll_hs_usb_ch0_clk" },
+	{ .role = "usb_ch1_clk", .clk = "usb_tll_hs_usb_ch1_clk" },
+};
+
+static struct omap_hwmod omap54xx_usb_tll_hs_hwmod = {
+	.name		= "usb_tll_hs",
+	.class		= &omap54xx_usb_tll_hs_hwmod_class,
+	.clkdm_name	= "l3init_clkdm",
+	.main_clk	= "l4_root_clk_div",
+	.prcm = {
+		.omap4 = {
+			.clkctrl_offs = OMAP54XX_CM_L3INIT_USB_TLL_HS_CLKCTRL_OFFSET,
+			.context_offs = OMAP54XX_RM_L3INIT_USB_TLL_HS_CONTEXT_OFFSET,
+			.modulemode   = MODULEMODE_HWCTRL,
+		},
+	},
+	.opt_clks	= usb_tll_hs_opt_clks,
+	.opt_clks_cnt	= ARRAY_SIZE(usb_tll_hs_opt_clks),
+};
+
+/*
  * 'usb_otg_ss' class
  * 2.0 super speed (usb_otg_ss) controller
  */
@@ -2056,6 +2195,22 @@ static struct omap_hwmod_ocp_if omap54xx_l4_per__uart6 = {
 	.user		= OCP_USER_MPU | OCP_USER_SDMA,
 };
 
+/* l4_cfg -> usb_host_hs */
+static struct omap_hwmod_ocp_if omap54xx_l4_cfg__usb_host_hs = {
+	.master		= &omap54xx_l4_cfg_hwmod,
+	.slave		= &omap54xx_usb_host_hs_hwmod,
+	.clk		= "l3_iclk_div",
+	.user		= OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+/* l4_cfg -> usb_tll_hs */
+static struct omap_hwmod_ocp_if omap54xx_l4_cfg__usb_tll_hs = {
+	.master		= &omap54xx_l4_cfg_hwmod,
+	.slave		= &omap54xx_usb_tll_hs_hwmod,
+	.clk		= "l4_root_clk_div",
+	.user		= OCP_USER_MPU | OCP_USER_SDMA,
+};
+
 /* l4_cfg -> usb_otg_ss */
 static struct omap_hwmod_ocp_if omap54xx_l4_cfg__usb_otg_ss = {
 	.master		= &omap54xx_l4_cfg_hwmod,
@@ -2139,6 +2294,8 @@ static struct omap_hwmod_ocp_if *omap54xx_hwmod_ocp_ifs[] __initdata = {
 	&omap54xx_l4_per__uart4,
 	&omap54xx_l4_per__uart5,
 	&omap54xx_l4_per__uart6,
+	&omap54xx_l4_cfg__usb_host_hs,
+	&omap54xx_l4_cfg__usb_tll_hs,
 	&omap54xx_l4_cfg__usb_otg_ss,
 	&omap54xx_l4_wkup__wd_timer2,
 	NULL,
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/4] ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module
  2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
  2013-07-24 14:32 ` [PATCH 1/4] ARM: OMAP5: hwmod data: Add USB Host and TLL modules Roger Quadros
@ 2013-07-24 14:32 ` Roger Quadros
  2013-07-24 14:32 ` [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock Roger Quadros
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2013-07-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

USB Host driver (drivers/mfd/omap-usb-host.c) expects the 60MHz
reference clock to be named "init_60m_fclk". Provide this
information.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/omap5.dtsi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index bc31022..f9f7f74 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -695,6 +695,8 @@
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
+			clocks = <&l3init_60m_fclk>;
+			clock-names = "init_60m_fclk";
 
 			usbhsohci: ohci at 4a064800 {
 				compatible = "ti,ohci-omap3", "usb-ohci";
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock
  2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
  2013-07-24 14:32 ` [PATCH 1/4] ARM: OMAP5: hwmod data: Add USB Host and TLL modules Roger Quadros
  2013-07-24 14:32 ` [PATCH 2/4] ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module Roger Quadros
@ 2013-07-24 14:32 ` Roger Quadros
  2013-08-14  8:11   ` Roger Quadros
  2013-07-24 14:32 ` [PATCH 4/4] ARM: dts: omap5-uevm: " Roger Quadros
  2013-08-14  8:10 ` [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
  4 siblings, 1 reply; 9+ messages in thread
From: Roger Quadros @ 2013-07-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

The USB PHY gets its clock from AUXCLK3. Provide this
information.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/omap4-panda-common.dtsi |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
index faa95b5..dd793ca 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -99,12 +99,8 @@
 		compatible = "usb-nop-xceiv";
 		reset-supply = <&hsusb1_reset>;
 		vcc-supply = <&hsusb1_power>;
-	/**
-	 * FIXME:
-	 * put the right clock phandle here when available
-	 *	clocks = <&auxclk3>;
-	 *	clock-names = "main_clk";
-	 */
+		clocks = <&auxclk3_ck>;
+		clock-names = "main_clk";
 		clock-frequency = <19200000>;
 	};
 };
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/4] ARM: dts: omap5-uevm: Provide USB PHY clock
  2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
                   ` (2 preceding siblings ...)
  2013-07-24 14:32 ` [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock Roger Quadros
@ 2013-07-24 14:32 ` Roger Quadros
  2013-08-14  8:14   ` Roger Quadros
  2013-08-14  8:10 ` [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
  4 siblings, 1 reply; 9+ messages in thread
From: Roger Quadros @ 2013-07-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

The HS USB 2 PHY gets its clock from AUXCLK1. Provide this
information.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/omap5-uevm.dts |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 08b7267..a366cde 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -42,12 +42,8 @@
 	hsusb2_phy: hsusb2_phy {
 		compatible = "usb-nop-xceiv";
 		reset-supply = <&hsusb2_reset>;
-	/**
-	  * FIXME
-	  * Put the right clock phandle here when available
-	  *	clocks = <&auxclk1>;
-	  *	clock-names = "main_clk";
-	  */
+		clocks = <&auxclk1_ck>;
+		clock-names = "main_clk";
 		clock-frequency = <19200000>;
 	};
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 0/4] Add USB Host support for OMAP5 uevm
  2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
                   ` (3 preceding siblings ...)
  2013-07-24 14:32 ` [PATCH 4/4] ARM: dts: omap5-uevm: " Roger Quadros
@ 2013-08-14  8:10 ` Roger Quadros
  4 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2013-08-14  8:10 UTC (permalink / raw)
  To: linux-arm-kernel

+Benoit

On 07/24/2013 05:32 PM, Roger Quadros wrote:
> Hi,
> 
> These patches provide USB host support for the OMAP5 uEVM board.
> 
> They depend on the OMAP clock tree DT data series by Tero Kristo [1]
> 
> In patch 3 we also provide USB PHY clock for Panda. This should make
> the clock alias patch [2] redundant and it should be reverted when
> this series gets in.
> 
> [1] - http://thread.gmane.org/gmane.linux.ports.arm.omap/101582
> 
> [2] - ARM: OMAP2+: Provide alias to USB PHY clock
> http://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/commit/?h=omap-for-v3.11/fixes&id=741532c4a995be11815cb72d4d7a48f442a22fea
> 
> cheers,
> -roger
> 
> ---
> Roger Quadros (4):
>   ARM: OMAP5: hwmod data: Add USB Host and TLL modules
>   ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module
>   ARM: dts: omap4-panda: Provide USB PHY clock
>   ARM: dts: omap5-uevm: Provide USB PHY clock
> 
>  arch/arm/boot/dts/omap4-panda-common.dtsi  |    8 +-
>  arch/arm/boot/dts/omap5-uevm.dts           |    8 +-
>  arch/arm/boot/dts/omap5.dtsi               |    2 +
>  arch/arm/mach-omap2/omap_hwmod_54xx_data.c |  157 ++++++++++++++++++++++++++++
>  4 files changed, 163 insertions(+), 12 deletions(-)
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock
  2013-07-24 14:32 ` [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock Roger Quadros
@ 2013-08-14  8:11   ` Roger Quadros
  2013-08-14  8:16     ` Roger Quadros
  0 siblings, 1 reply; 9+ messages in thread
From: Roger Quadros @ 2013-08-14  8:11 UTC (permalink / raw)
  To: linux-arm-kernel

+Benoit

On 07/24/2013 05:32 PM, Roger Quadros wrote:
> The USB PHY gets its clock from AUXCLK3. Provide this
> information.
> 
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> ---
>  arch/arm/boot/dts/omap4-panda-common.dtsi |    8 ++------
>  1 files changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
> index faa95b5..dd793ca 100644
> --- a/arch/arm/boot/dts/omap4-panda-common.dtsi
> +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
> @@ -99,12 +99,8 @@
>  		compatible = "usb-nop-xceiv";
>  		reset-supply = <&hsusb1_reset>;
>  		vcc-supply = <&hsusb1_power>;
> -	/**
> -	 * FIXME:
> -	 * put the right clock phandle here when available
> -	 *	clocks = <&auxclk3>;
> -	 *	clock-names = "main_clk";
> -	 */
> +		clocks = <&auxclk3_ck>;
> +		clock-names = "main_clk";
>  		clock-frequency = <19200000>;
>  	};
>  };
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 4/4] ARM: dts: omap5-uevm: Provide USB PHY clock
  2013-07-24 14:32 ` [PATCH 4/4] ARM: dts: omap5-uevm: " Roger Quadros
@ 2013-08-14  8:14   ` Roger Quadros
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2013-08-14  8:14 UTC (permalink / raw)
  To: linux-arm-kernel

+Benoit

On 07/24/2013 05:32 PM, Roger Quadros wrote:
> The HS USB 2 PHY gets its clock from AUXCLK1. Provide this
> information.
> 
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> ---
>  arch/arm/boot/dts/omap5-uevm.dts |    8 ++------
>  1 files changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
> index 08b7267..a366cde 100644
> --- a/arch/arm/boot/dts/omap5-uevm.dts
> +++ b/arch/arm/boot/dts/omap5-uevm.dts
> @@ -42,12 +42,8 @@
>  	hsusb2_phy: hsusb2_phy {
>  		compatible = "usb-nop-xceiv";
>  		reset-supply = <&hsusb2_reset>;
> -	/**
> -	  * FIXME
> -	  * Put the right clock phandle here when available
> -	  *	clocks = <&auxclk1>;
> -	  *	clock-names = "main_clk";
> -	  */
> +		clocks = <&auxclk1_ck>;
> +		clock-names = "main_clk";
>  		clock-frequency = <19200000>;
>  	};
>  
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock
  2013-08-14  8:11   ` Roger Quadros
@ 2013-08-14  8:16     ` Roger Quadros
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2013-08-14  8:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/14/2013 11:11 AM, Roger Quadros wrote:
> +Benoit
> 
> On 07/24/2013 05:32 PM, Roger Quadros wrote:
>> The USB PHY gets its clock from AUXCLK3. Provide this
>> information.
>>
>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>> ---
>>  arch/arm/boot/dts/omap4-panda-common.dtsi |    8 ++------
>>  1 files changed, 2 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
>> index faa95b5..dd793ca 100644
>> --- a/arch/arm/boot/dts/omap4-panda-common.dtsi
>> +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
>> @@ -99,12 +99,8 @@
>>  		compatible = "usb-nop-xceiv";
>>  		reset-supply = <&hsusb1_reset>;
>>  		vcc-supply = <&hsusb1_power>;
>> -	/**
>> -	 * FIXME:
>> -	 * put the right clock phandle here when available
>> -	 *	clocks = <&auxclk3>;
>> -	 *	clock-names = "main_clk";
>> -	 */
>> +		clocks = <&auxclk3_ck>;
>> +		clock-names = "main_clk";
>>  		clock-frequency = <19200000>;
>>  	};
>>  };
>>
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-14  8:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 14:32 [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros
2013-07-24 14:32 ` [PATCH 1/4] ARM: OMAP5: hwmod data: Add USB Host and TLL modules Roger Quadros
2013-07-24 14:32 ` [PATCH 2/4] ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module Roger Quadros
2013-07-24 14:32 ` [PATCH 3/4] ARM: dts: omap4-panda: Provide USB PHY clock Roger Quadros
2013-08-14  8:11   ` Roger Quadros
2013-08-14  8:16     ` Roger Quadros
2013-07-24 14:32 ` [PATCH 4/4] ARM: dts: omap5-uevm: " Roger Quadros
2013-08-14  8:14   ` Roger Quadros
2013-08-14  8:10 ` [PATCH 0/4] Add USB Host support for OMAP5 uevm Roger Quadros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).