diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-08-14 08:08:30 +0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-09-25 05:47:02 +0400 |
commit | cf625368d3ad664c7c9ae89974599bbfe9947511 (patch) | |
tree | 0e698cdf1d5cd084fc47e0c651ecd4fe9729d89d /arch | |
parent | 979a281c34906fd905d6153ad999487b0c56f396 (diff) | |
download | linux-cf625368d3ad664c7c9ae89974599bbfe9947511.tar.xz |
ARM: pxa: Use PIO for PI2C communication on Palm27x
Original idea by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/palm27x.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palm27x.c b/arch/arm/mach-pxa/palm27x.c index 77ad6d34ab5b..405b92a29793 100644 --- a/arch/arm/mach-pxa/palm27x.c +++ b/arch/arm/mach-pxa/palm27x.c @@ -469,9 +469,13 @@ static struct i2c_board_info __initdata palm27x_pi2c_board_info[] = { }, }; +static struct i2c_pxa_platform_data palm27x_i2c_power_info = { + .use_pio = 1, +}; + void __init palm27x_pmic_init(void) { i2c_register_board_info(1, ARRAY_AND_SIZE(palm27x_pi2c_board_info)); - pxa27x_set_i2c_power_info(NULL); + pxa27x_set_i2c_power_info(&palm27x_i2c_power_info); } #endif |