diff options
| -rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index 3fc9ed21f97d..e8cf5ea15263 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
| 18 | #include <linux/i2c/pca953x.h> | 18 | #include <linux/i2c/pca953x.h> |
| 19 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
| 20 | #include <linux/mfd/88pm860x.h> | ||
| 20 | 21 | ||
| 21 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
| 22 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
| @@ -135,8 +136,18 @@ static struct pca953x_platform_data max7312_data[] = { | |||
| 135 | }, | 136 | }, |
| 136 | }; | 137 | }; |
| 137 | 138 | ||
| 139 | static struct pm860x_platform_data ttc_dkb_pm8607_info = { | ||
| 140 | .irq_base = IRQ_BOARD_START, | ||
| 141 | }; | ||
| 142 | |||
| 138 | static struct i2c_board_info ttc_dkb_i2c_info[] = { | 143 | static struct i2c_board_info ttc_dkb_i2c_info[] = { |
| 139 | { | 144 | { |
| 145 | .type = "88PM860x", | ||
| 146 | .addr = 0x34, | ||
| 147 | .platform_data = &ttc_dkb_pm8607_info, | ||
| 148 | .irq = IRQ_PXA910_PMIC_INT, | ||
| 149 | }, | ||
| 150 | { | ||
| 140 | .type = "max7312", | 151 | .type = "max7312", |
| 141 | .addr = 0x23, | 152 | .addr = 0x23, |
| 142 | .irq = MMP_GPIO_TO_IRQ(80), | 153 | .irq = MMP_GPIO_TO_IRQ(80), |
