Hei Jarkko, On Tue, May 18, 2010 at 01:06:01PM +0200, Jarkko Nikula wrote: > Signed-off-by: Jarkko Nikula <jhnikula@xxxxxxxxx> > --- > This is build and boot safe but required if wanting to add support for > headphones in upcoming sound/soc/omap/rx51.c. > --- > arch/arm/mach-omap2/board-rx51-peripherals.c | 14 ++++++++++++++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c > index ead7ee1..2376ef7 100644 > --- a/arch/arm/mach-omap2/board-rx51-peripherals.c > +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c > @@ -33,6 +33,8 @@ > #include <plat/onenand.h> > #include <plat/gpmc-smc91x.h> > > +#include <sound/tpa6130a2-plat.h> > + > #include "mux.h" > #include "hsmmc.h" > > @@ -285,6 +287,9 @@ static struct regulator_consumer_supply rx51_vmmc2_supplies[] = { > /* tlv320aic3x analog supplies */ > REGULATOR_SUPPLY("AVDD", "2-0018"), > REGULATOR_SUPPLY("DRVDD", "2-0018"), > + /* tpa6130a2 */ > + REGULATOR_SUPPLY("CPVSS", "2-0060"), Isn't CPVSS grounded? Well that wouldn't hurt to put it here, but it doesnt belong to vmmc2 though. > + REGULATOR_SUPPLY("Vdd", "2-0060"), > /* Keep vmmc as last item. It is not iterated for newer boards */ > REGULATOR_SUPPLY("vmmc", "mmci-omap-hs.1"), > }; > @@ -652,10 +657,19 @@ static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = { > }, > }; > > +static struct tpa6130a2_platform_data rx51_tpa6130a2_data __initdata = { > + .id = TPA6130A2, > + .power_gpio = 98, > +}; > + > static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = { > { > I2C_BOARD_INFO("tlv320aic3x", 0x18), > }, > + { > + I2C_BOARD_INFO("tpa6130a2", 0x60), > + .platform_data = &rx51_tpa6130a2_data, > + } > }; > > static int __init rx51_i2c_init(void) > -- > 1.7.1 -- 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