Re: [PATCH 3/3] BeagleBoard: add support for the twl4030-madc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need to CC linux-arm-kernel too.

On Thu, Aug 11, 2011 at 6:27 AM, Kyle Manna <kyle@xxxxxxxxxxxxx> wrote:
> Signed-off-by: Kyle Manna <kyle@xxxxxxxxxxxxx>
> ---
>  arch/arm/mach-omap2/board-omap3beagle.c |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
> index 3ae16b4..a82d53b 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -362,11 +362,16 @@ static struct regulator_init_data beagle_vsim = {
>        .consumer_supplies      = beagle_vsim_supply,
>  };
>
> +static struct twl4030_madc_platform_data beagle_madc = {
> +       .irq_line       = 1,
> +};
> +
>  static struct twl4030_platform_data beagle_twldata = {
>        /* platform_data for children goes here */
>        .gpio           = &beagle_gpio_data,
>        .vmmc1          = &beagle_vmmc1,
>        .vsim           = &beagle_vsim,
> +       .madc           = &beagle_madc,
>  };

Basically all boards with twl4030 might want to have this, maybe add
this to twl-common.c instead to avoid code duplication?



-- 
Gražvydas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux