aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2017-03-13 07:53:16 -0400
committerTony Lindgren <tony@atomide.com>2017-03-28 17:09:58 -0400
commite2d54fe76997301b49311bde7ba8ef52b47896f9 (patch)
tree3591709b562f1b18186558052baf9566f268ecfb
parenta2416238368839a25be0daa6c591b5102240975b (diff)
ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss
It seems that if L3_INIT clkdomain is kept in HW_AUTO while usb_otg_ss is in use then there are random chances that the usb_otg_ss module will fail to completely idle. i.e. IDLEST = 0x2 instead of 0x3. Preventing L3_INIT from HW_AUTO while usb_otg_ss module is in use fixes this issue. We don't know yet if usb_otg_ss instances 3 and 4 are affected by this issue or not so don't add this flag for those instances. Cc: Tero Kristo <t-kristo@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_7xx_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 7c6baa73e9db..b3abb8d8b2f6 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -2701,6 +2701,7 @@ static struct omap_hwmod dra7xx_usb_otg_ss1_hwmod = {
2701 .class = &dra7xx_usb_otg_ss_hwmod_class, 2701 .class = &dra7xx_usb_otg_ss_hwmod_class,
2702 .clkdm_name = "l3init_clkdm", 2702 .clkdm_name = "l3init_clkdm",
2703 .main_clk = "dpll_core_h13x2_ck", 2703 .main_clk = "dpll_core_h13x2_ck",
2704 .flags = HWMOD_CLKDM_NOAUTO,
2704 .prcm = { 2705 .prcm = {
2705 .omap4 = { 2706 .omap4 = {
2706 .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS1_CLKCTRL_OFFSET, 2707 .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS1_CLKCTRL_OFFSET,
@@ -2722,6 +2723,7 @@ static struct omap_hwmod dra7xx_usb_otg_ss2_hwmod = {
2722 .class = &dra7xx_usb_otg_ss_hwmod_class, 2723 .class = &dra7xx_usb_otg_ss_hwmod_class,
2723 .clkdm_name = "l3init_clkdm", 2724 .clkdm_name = "l3init_clkdm",
2724 .main_clk = "dpll_core_h13x2_ck", 2725 .main_clk = "dpll_core_h13x2_ck",
2726 .flags = HWMOD_CLKDM_NOAUTO,
2725 .prcm = { 2727 .prcm = {
2726 .omap4 = { 2728 .omap4 = {
2727 .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS2_CLKCTRL_OFFSET, 2729 .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS2_CLKCTRL_OFFSET,