Re: [PATCH v2 4/4] arm: BeagleBoard: add support for thetwl4030-madc

From: Tony Lindgren
Date: Wed Sep 28 2011 - 14:32:11 EST


* Kyle Manna <kyle@xxxxxxxxxxxxx> [110811 20:01]:
> Signed-off-by: Kyle Manna <kyle@xxxxxxxxxxxxx>

Missing description, but with that corrected:

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>

> ---
> arch/arm/mach-omap2/board-omap3beagle.c | 9 ++++++++-
> 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 3ae16b4..9cc9fa9 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[] = {
> static int __init omap3_beagle_i2c_init(void)
> {
> omap3_pmic_get_config(&beagle_twldata,
> - TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_AUDIO,
> + TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_MADC |
> + TWL_COMMON_PDATA_AUDIO,
> TWL_COMMON_REGULATOR_VDAC | TWL_COMMON_REGULATOR_VPLL2);
>
> beagle_twldata.vpll2->constraints.name = "VDVI";
> @@ -456,9 +457,15 @@ static void __init omap3_beagle_init_irq(void)
> omap3_init_irq();
> }
>
> +static struct platform_device madc_hwmon = {
> + .name = "twl4030_madc_hwmon",
> + .id = -1,
> +};
> +
> static struct platform_device *omap3_beagle_devices[] __initdata = {
> &leds_gpio,
> &keys_gpio,
> + &madc_hwmon,
> };
>
> static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
> --
> 1.7.4.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/