diff options
| author | Balaji T K <balajitk@ti.com> | 2011-02-10 08:15:26 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:49 -0400 |
| commit | 8af1b0d72f7b65f0ed34f0b2c5d1774fabca24a2 (patch) | |
| tree | e850a6335bf18f986e49653303fb2ab1e0604f77 | |
| parent | 8e6de4a30294809420ac9a974b4f28b38ebdb38f (diff) | |
OMAP4: add clk32kg data to omap4panda and blaze board file
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>
| -rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 333ceb2c8fb0..964f12bb936c 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
| @@ -547,6 +547,12 @@ static struct regulator_init_data sdp4430_vusb = { | |||
| 547 | }, | 547 | }, |
| 548 | }; | 548 | }; |
| 549 | 549 | ||
| 550 | static struct regulator_init_data sdp4430_clk32kg = { | ||
| 551 | .constraints = { | ||
| 552 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | ||
| 553 | }, | ||
| 554 | }; | ||
| 555 | |||
| 550 | static struct twl4030_platform_data sdp4430_twldata = { | 556 | static struct twl4030_platform_data sdp4430_twldata = { |
| 551 | .irq_base = TWL6030_IRQ_BASE, | 557 | .irq_base = TWL6030_IRQ_BASE, |
| 552 | .irq_end = TWL6030_IRQ_END, | 558 | .irq_end = TWL6030_IRQ_END, |
| @@ -562,6 +568,7 @@ static struct twl4030_platform_data sdp4430_twldata = { | |||
| 562 | .vaux1 = &sdp4430_vaux1, | 568 | .vaux1 = &sdp4430_vaux1, |
| 563 | .vaux2 = &sdp4430_vaux2, | 569 | .vaux2 = &sdp4430_vaux2, |
| 564 | .vaux3 = &sdp4430_vaux3, | 570 | .vaux3 = &sdp4430_vaux3, |
| 571 | .clk32kg = &sdp4430_clk32kg, | ||
| 565 | .usb = &omap4_usbphy_data | 572 | .usb = &omap4_usbphy_data |
| 566 | }; | 573 | }; |
| 567 | 574 | ||
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 0f4d8a762a70..f132e8197e3d 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
| @@ -407,6 +407,12 @@ static struct regulator_init_data omap4_panda_vusb = { | |||
| 407 | }, | 407 | }, |
| 408 | }; | 408 | }; |
| 409 | 409 | ||
| 410 | static struct regulator_init_data omap4_panda_clk32kg = { | ||
| 411 | .constraints = { | ||
| 412 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | ||
| 413 | }, | ||
| 414 | }; | ||
| 415 | |||
| 410 | static struct twl4030_platform_data omap4_panda_twldata = { | 416 | static struct twl4030_platform_data omap4_panda_twldata = { |
| 411 | .irq_base = TWL6030_IRQ_BASE, | 417 | .irq_base = TWL6030_IRQ_BASE, |
| 412 | .irq_end = TWL6030_IRQ_END, | 418 | .irq_end = TWL6030_IRQ_END, |
| @@ -422,6 +428,7 @@ static struct twl4030_platform_data omap4_panda_twldata = { | |||
| 422 | .vaux1 = &omap4_panda_vaux1, | 428 | .vaux1 = &omap4_panda_vaux1, |
| 423 | .vaux2 = &omap4_panda_vaux2, | 429 | .vaux2 = &omap4_panda_vaux2, |
| 424 | .vaux3 = &omap4_panda_vaux3, | 430 | .vaux3 = &omap4_panda_vaux3, |
| 431 | .clk32kg = &omap4_panda_clk32kg, | ||
| 425 | .usb = &omap4_usbphy_data, | 432 | .usb = &omap4_usbphy_data, |
| 426 | }; | 433 | }; |
| 427 | 434 | ||
