OMAP4: add clk32kg data to omap4panda and blaze board file
authorBalaji T K <balajitk@ti.com>
Thu, 10 Feb 2011 13:15:26 +0000 (18:45 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:49 +0000 (10:41 +0100)
In Blaze and Panda, 32KHz clock - CLK32KG to WLAN is supplied
from Phoenix TWL6030.
Add CLK32KG platform data to blaze and omap4panda board file.

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-omap4panda.c

index 333ceb2c8fb02a465c8533712e0cc3f387b95eb5..964f12bb936c994b69e462dd2b639f1221c99cb0 100644 (file)
@@ -547,6 +547,12 @@ static struct regulator_init_data sdp4430_vusb = {
        },
 };
 
+static struct regulator_init_data sdp4430_clk32kg = {
+       .constraints = {
+               .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
+       },
+};
+
 static struct twl4030_platform_data sdp4430_twldata = {
        .irq_base       = TWL6030_IRQ_BASE,
        .irq_end        = TWL6030_IRQ_END,
@@ -562,6 +568,7 @@ static struct twl4030_platform_data sdp4430_twldata = {
        .vaux1          = &sdp4430_vaux1,
        .vaux2          = &sdp4430_vaux2,
        .vaux3          = &sdp4430_vaux3,
+       .clk32kg        = &sdp4430_clk32kg,
        .usb            = &omap4_usbphy_data
 };
 
index 0f4d8a762a7093e6e244b33693af40cc6c25a38f..f132e8197e3df9edd9b16308d27dff08690c536d 100644 (file)
@@ -407,6 +407,12 @@ static struct regulator_init_data omap4_panda_vusb = {
        },
 };
 
+static struct regulator_init_data omap4_panda_clk32kg = {
+       .constraints = {
+               .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
+       },
+};
+
 static struct twl4030_platform_data omap4_panda_twldata = {
        .irq_base       = TWL6030_IRQ_BASE,
        .irq_end        = TWL6030_IRQ_END,
@@ -422,6 +428,7 @@ static struct twl4030_platform_data omap4_panda_twldata = {
        .vaux1          = &omap4_panda_vaux1,
        .vaux2          = &omap4_panda_vaux2,
        .vaux3          = &omap4_panda_vaux3,
+       .clk32kg        = &omap4_panda_clk32kg,
        .usb            = &omap4_usbphy_data,
 };