Skip to content

Commit

Permalink
ARM: pxa: Use PIO for PI2C communication on Palm27x
Browse files Browse the repository at this point in the history
Original idea by: Mike Rapoport <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
  • Loading branch information
marex authored and ericmiao committed Sep 25, 2010
1 parent 979a281 commit cf62536
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-pxa/palm27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cf62536

Please sign in to comment.