diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 12:40:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 12:40:51 -0400 |
commit | a0a4194c943bc64dd7b6e26cccb036cb26b81363 (patch) | |
tree | 4282f0dd573344d10f69616eb05868b5cd563cc1 /arch/arm/mach-imx/mach-mx31moboard.c | |
parent | cf0223503e6198292cdcc864e01eeb5fe7490752 (diff) | |
parent | b958f7a7cbdfbf59ba61de7ebb9c59b0ee3a7967 (diff) |
Merge branch 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6
* 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6: (80 commits)
mfd: Fix missing abx500 header file updates
mfd: Add missing <linux/io.h> include to intel_msic
x86, mrst: add platform support for MSIC MFD driver
mfd: Expose TurnOnStatus in ab8500 sysfs
mfd: Remove support for early drop ab8500 chip
mfd: Add support for ab8500 v3.3
mfd: Add ab8500 interrupt disable hook
mfd: Convert db8500-prcmu panic() into pr_crit()
mfd: Refactor db8500-prcmu request_clock() function
mfd: Rename db8500-prcmu init function
mfd: Fix db5500-prcmu defines
mfd: db8500-prcmu voltage domain consumers additions
mfd: db8500-prcmu reset code retrieval
mfd: db8500-prcmu tweak for modem wakeup
mfd: Add db8500-pcmu watchdog accessor functions for watchdog
mfd: hwacc power state db8500-prcmu accessor
mfd: Add db8500-prcmu accessors for PLL and SGA clock
mfd: Move to the new db500 PRCMU API
mfd: Create a common interface for dbx500 PRCMU drivers
mfd: Initialize DB8500 PRCMU regs
...
Fix up trivial conflicts in
arch/arm/mach-imx/mach-mx31moboard.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-u300/include/mach/irqs.h
drivers/mfd/wm831x-spi.c
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31moboard.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx31moboard.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index fff7791b7e7c..07034f44466a 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/clk.h> | 31 | #include <linux/clk.h> |
32 | #include <linux/io.h> | 32 | #include <linux/io.h> |
33 | #include <linux/err.h> | 33 | #include <linux/err.h> |
34 | #include <linux/input.h> | ||
34 | 35 | ||
35 | #include <linux/usb/otg.h> | 36 | #include <linux/usb/otg.h> |
36 | #include <linux/usb/ulpi.h> | 37 | #include <linux/usb/ulpi.h> |
@@ -225,7 +226,7 @@ static struct mc13xxx_regulator_init_data moboard_regulators[] = { | |||
225 | }, | 226 | }, |
226 | }; | 227 | }; |
227 | 228 | ||
228 | static struct mc13783_led_platform_data moboard_led[] = { | 229 | static struct mc13xxx_led_platform_data moboard_led[] = { |
229 | { | 230 | { |
230 | .id = MC13783_LED_R1, | 231 | .id = MC13783_LED_R1, |
231 | .name = "coreboard-led-4:red", | 232 | .name = "coreboard-led-4:red", |
@@ -258,7 +259,7 @@ static struct mc13783_led_platform_data moboard_led[] = { | |||
258 | }, | 259 | }, |
259 | }; | 260 | }; |
260 | 261 | ||
261 | static struct mc13783_leds_platform_data moboard_leds = { | 262 | static struct mc13xxx_leds_platform_data moboard_leds = { |
262 | .num_leds = ARRAY_SIZE(moboard_led), | 263 | .num_leds = ARRAY_SIZE(moboard_led), |
263 | .led = moboard_led, | 264 | .led = moboard_led, |
264 | .flags = MC13783_LED_SLEWLIMTC, | 265 | .flags = MC13783_LED_SLEWLIMTC, |
@@ -267,14 +268,20 @@ static struct mc13783_leds_platform_data moboard_leds = { | |||
267 | .tc2_period = MC13783_LED_PERIOD_10MS, | 268 | .tc2_period = MC13783_LED_PERIOD_10MS, |
268 | }; | 269 | }; |
269 | 270 | ||
271 | static struct mc13xxx_buttons_platform_data moboard_buttons = { | ||
272 | .b1on_flags = MC13783_BUTTON_DBNC_750MS | MC13783_BUTTON_ENABLE | | ||
273 | MC13783_BUTTON_POL_INVERT, | ||
274 | .b1on_key = KEY_POWER, | ||
275 | }; | ||
276 | |||
270 | static struct mc13xxx_platform_data moboard_pmic = { | 277 | static struct mc13xxx_platform_data moboard_pmic = { |
271 | .regulators = { | 278 | .regulators = { |
272 | .regulators = moboard_regulators, | 279 | .regulators = moboard_regulators, |
273 | .num_regulators = ARRAY_SIZE(moboard_regulators), | 280 | .num_regulators = ARRAY_SIZE(moboard_regulators), |
274 | }, | 281 | }, |
275 | .leds = &moboard_leds, | 282 | .leds = &moboard_leds, |
276 | .flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_RTC | | 283 | .buttons = &moboard_buttons, |
277 | MC13XXX_USE_ADC | MC13XXX_USE_LED, | 284 | .flags = MC13XXX_USE_RTC | MC13XXX_USE_ADC, |
278 | }; | 285 | }; |
279 | 286 | ||
280 | static struct spi_board_info moboard_spi_board_info[] __initdata = { | 287 | static struct spi_board_info moboard_spi_board_info[] __initdata = { |