diff options
| author | Olof Johansson <olof@lixom.net> | 2012-09-29 14:01:47 -0700 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-09-29 14:01:47 -0700 | 
| commit | 9cf1c871526cf6bfec2a653e1e068ee72592542c (patch) | |
| tree | bfef78257c3cfc2d05708481be1c98072d46c26d /arch/arm/mach-omap2/board-omap4panda.c | |
| parent | 268aebe4d04bf2ac1e839eff2c83519768460189 (diff) | |
| parent | cfc55bcc1f78395872d41c50f6a3129c4b42289e (diff) | |
| download | olio-linux-3.10-9cf1c871526cf6bfec2a653e1e068ee72592542c.tar.xz olio-linux-3.10-9cf1c871526cf6bfec2a653e1e068ee72592542c.zip  | |
Merge tag 'omap-devel-board-late-v3-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
From Tony Lindgren:
These board and platform related patches have been posted
quite a while ago but have somehow fallen though the cracks
as most of the focus has been making things to work with
device tree. As the first patch depends on sparse IRQ
related removal of irqs.h and related header moves, these
are based on omap-cleanup-local-headers-for-v3.7 tag.
* tag 'omap-devel-board-late-v3-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP2+: serial: Change MAX_HSUART_PORTS to 6
  ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 12 | 
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 45fe2d3f59b..7b592d3d779 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -264,6 +264,14 @@ static struct twl6040_platform_data twl6040_data = {  	.audpwron_gpio	= 127,  }; +static struct i2c_board_info __initdata panda_i2c_1_boardinfo[] = { +	{ +		I2C_BOARD_INFO("twl6040", 0x4b), +		.irq = 119 + OMAP44XX_IRQ_GIC_START, +		.platform_data = &twl6040_data, +	}, +}; +  /* Panda board uses the common PMIC configuration */  static struct twl4030_platform_data omap4_panda_twldata; @@ -291,8 +299,8 @@ static int __init omap4_panda_i2c_init(void)  			TWL_COMMON_REGULATOR_CLK32KG |  			TWL_COMMON_REGULATOR_V1V8 |  			TWL_COMMON_REGULATOR_V2V1); -	omap4_pmic_init("twl6030", &omap4_panda_twldata, -			&twl6040_data, 119 + OMAP44XX_IRQ_GIC_START); +	omap4_pmic_init("twl6030", &omap4_panda_twldata, panda_i2c_1_boardinfo, +			ARRAY_SIZE(panda_i2c_1_boardinfo));  	omap_register_i2c_bus(2, 400, NULL, 0);  	/*  	 * Bus 3 is attached to the DVI port where devices like the pico DLP  |