[RFCv2 2/2] TEMP: OMAP3: beagle: added dummy clock setup times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch provided just as an example, actual time should be checked from
the datasheet.

Signed-off-by: Tero Kristo <t-kristo@xxxxxx>
---
 arch/arm/mach-omap2/board-omap3beagle.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 34f8411..6b3b67a 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -47,6 +47,7 @@
 #include <plat/nand.h>
 #include <plat/usb.h>
 #include <plat/omap_device.h>
+#include <plat/prcm.h>
 
 #include "mux.h"
 #include "hsmmc.h"
@@ -83,6 +84,11 @@ static struct gpio omap3_beagle_rev_gpios[] __initdata = {
 	{ 173, GPIOF_IN, "rev_id_2"    },
 };
 
+struct omap_osc_data beagle_osc_data = {
+	.clk_setup_ret = 50,
+	.clk_setup_off = 5000,
+};
+
 static void __init omap3_beagle_init_rev(void)
 {
 	int ret;
@@ -532,6 +538,8 @@ static void __init omap3_beagle_init(void)
 
 	beagle_display_init();
 	beagle_opp_init();
+
+	omap_osc_register(&beagle_osc_data);
 }
 
 MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
-- 
1.7.4.1


Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6. Kotipaikka: Helsinki
 

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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux