From c4d3e8458a93df4811e74fc1da18919e2a90222e Mon Sep 17 00:00:00 2001 From: Chao Xie Date: Mon, 7 May 2012 11:24:00 +0800 Subject: [PATCH] --- yaml --- r: 303411 b: refs/heads/master c: f4466946c103372d3dd845ec55af1d2dc89ece33 h: refs/heads/master i: 303409: 8d974e770e0d4ce9563ec11e33fd871619411a3e 303407: 3c23cebc7625de9e8f22fa9145596e4d25652162 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-mmp/ttc_dkb.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 647086c599d8..2cf12fc1d97a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89326f76b7ae602eb6a2d3e4cc028190fc8d480f +refs/heads/master: f4466946c103372d3dd845ec55af1d2dc89ece33 diff --git a/trunk/arch/arm/mach-mmp/ttc_dkb.c b/trunk/arch/arm/mach-mmp/ttc_dkb.c index 3fc9ed21f97d..e8cf5ea15263 100644 --- a/trunk/arch/arm/mach-mmp/ttc_dkb.c +++ b/trunk/arch/arm/mach-mmp/ttc_dkb.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -135,7 +136,17 @@ static struct pca953x_platform_data max7312_data[] = { }, }; +static struct pm860x_platform_data ttc_dkb_pm8607_info = { + .irq_base = IRQ_BOARD_START, +}; + static struct i2c_board_info ttc_dkb_i2c_info[] = { + { + .type = "88PM860x", + .addr = 0x34, + .platform_data = &ttc_dkb_pm8607_info, + .irq = IRQ_PXA910_PMIC_INT, + }, { .type = "max7312", .addr = 0x23,