Skip to contentSkip to conversation

dm3730: enable dpll5

PATCH New Eric Bénard 3 participants 4 messages Jun 10, 2011 – Aug 18, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dm3730: enable dpll5

which is used to provide 120MHz to USB EHCI
This allows EHCI to work on BeagleBoard XM

---
 arch/arm/cpu/armv7/omap3/clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/omap3/clock.c +1 -0
index 3d38d08..6a9edcf 100644
@@ -579,6 +579,7 @@ void prcm_init(void)
 
 		dpll3_init_36xx(0, clk_index);
 		dpll4_init_36xx(0, clk_index);
+		dpll5_init_34xx(0, clk_index);
 		iva_init_36xx(0, clk_index);
 		mpu_init_36xx(0, clk_index);
 
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 beagleboard: enable HUB power on XM boards

LEDA needs to be at level 0 to enable HUB_3V3

---
 board/ti/beagle/beagle.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
board/ti/beagle/beagle.c +4 -1
index ab50514..7509916 100644
@@ -299,7 +299,10 @@ int misc_init_r(void)
 		setenv(expansion_config.env_var, expansion_config.env_setting);
 
 	twl4030_power_init();
-	twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
+	if (get_board_revision() < REVISION_C4)
+		twl4030_led_init(TWL4030_LED_LEDEN_LEDBON); /* Enable HUB PWR */
+	else
+		twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
 
 	/* Configure GPIOs to output */
 	writel(~(GPIO23 | GPIO10 | GPIO8 | GPIO2 | GPIO1), &gpio6_base->oe);
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 1/2 dm3730: enable dpll5

In reply to Eric Bénard
Quoted 4 lines · Eric B?nard

which is used to provide 120MHz to USB EHCI
This allows EHCI to work on BeagleBoard XM

We've tested this at TI. Thanks for the patch. Sandeep, can you apply this to the TI staging tree?

There would be more consistency with a dpll5_init_36xx() function, but that would seem like a waste of code space. Is there a reason we'd need to use "ptr = (struct dpll_per_36x_param *)get_36x_per_dpll_param();"?

Quoted 24 lines

---
?arch/arm/cpu/armv7/omap3/clock.c | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)

arch/arm/cpu/armv7/omap3/clock.c +1 -1
index 3d38d08..6a9edcf 100644
@@ -579,6 +579,7 @@ void prcm_init(void)
 
 ? ? ? ? ? ? ? ?dpll3_init_36xx(0, clk_index);
 ? ? ? ? ? ? ? ?dpll4_init_36xx(0, clk_index);
+ ? ? ? ? ? ? ? dpll5_init_34xx(0, clk_index);
 ? ? ? ? ? ? ? ?iva_init_36xx(0, clk_index);
 ? ? ? ? ? ? ? ?mpu_init_36xx(0, clk_index);
 
--

1.7.0.4

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#3 lore raw

PATCH 1/2 dm3730: enable dpll5

Quoted 10 lines · Jason Kridner
Quoted 4 lines · Eric B?nard

which is used to provide 120MHz to USB EHCI
This allows EHCI to work on BeagleBoard XM

We've tested this at TI. ?Thanks for the patch. ?Sandeep, can you apply this to the TI staging tree?

Hi Eric, Jason,

Could you update the patchwork status for this possibly delegating it to Sandeep for inclusion in the TI tree?

http://patchwork.ozlabs.org/patch/99955/

thanks,

Joel