@@ -444,6 +444,8 @@ static struct platform_device keys_gpio = {
},
};
+static struct platform_device beagle_smps;
+
static void __init omap3_beagle_init_early(void)
{
omap2_init_common_infrastructure();
@@ -459,6 +461,7 @@ static void __init omap3_beagle_init_irq(void)
static struct platform_device *omap3_beagle_devices[] __initdata = {
&leds_gpio,
&keys_gpio,
+ &beagle_smps,
};
static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
@@ -533,6 +536,7 @@ static void __init omap3_beagle_init(void)
gpio_buttons[0].gpio = beagle_config.usr_button_gpio;
+ omap3_pmic_get_smps_config(&beagle_smps);
platform_add_devices(omap3_beagle_devices,
ARRAY_SIZE(omap3_beagle_devices));
omap_display_init(&beagle_dss_data);
This is using the common API defined in twl-common. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)