aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3beagle.c
diff options
context:
space:
mode:
authorKyle Manna <kyle@kylemanna.com>2011-08-11 23:33:15 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 08:09:10 -0400
commitcdcc966d48cd49159b8bfd07a588cef3036624e6 (patch)
tree5a43f54d310f5e25abc2bb13eae210f85ee2a720 /arch/arm/mach-omap2/board-omap3beagle.c
parent3d6271f92e98094584fd1e609a9969cd33e61122 (diff)
arm: BeagleBoard: add support for the twl4030-madc
Signed-off-by: Kyle Manna <kyle@kylemanna.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 3ae16b4e3f52..9cc9fa9315d4 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -378,7 +378,8 @@ static struct i2c_board_info __initdata beagle_i2c_eeprom[] = {
378static int __init omap3_beagle_i2c_init(void) 378static int __init omap3_beagle_i2c_init(void)
379{ 379{
380 omap3_pmic_get_config(&beagle_twldata, 380 omap3_pmic_get_config(&beagle_twldata,
381 TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_AUDIO, 381 TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_MADC |
382 TWL_COMMON_PDATA_AUDIO,
382 TWL_COMMON_REGULATOR_VDAC | TWL_COMMON_REGULATOR_VPLL2); 383 TWL_COMMON_REGULATOR_VDAC | TWL_COMMON_REGULATOR_VPLL2);
383 384
384 beagle_twldata.vpll2->constraints.name = "VDVI"; 385 beagle_twldata.vpll2->constraints.name = "VDVI";
@@ -456,9 +457,15 @@ static void __init omap3_beagle_init_irq(void)
456 omap3_init_irq(); 457 omap3_init_irq();
457} 458}
458 459
460static struct platform_device madc_hwmon = {
461 .name = "twl4030_madc_hwmon",
462 .id = -1,
463};
464
459static struct platform_device *omap3_beagle_devices[] __initdata = { 465static struct platform_device *omap3_beagle_devices[] __initdata = {
460 &leds_gpio, 466 &leds_gpio,
461 &keys_gpio, 467 &keys_gpio,
468 &madc_hwmon,
462}; 469};
463 470
464static const struct usbhs_omap_board_data usbhs_bdata __initconst = { 471static const struct usbhs_omap_board_data usbhs_bdata __initconst = {