Skip to content

Commit

Permalink
ARM: mach-shmobile: ag5evm i2c_shmobile support.
Browse files Browse the repository at this point in the history
Just add port multiplex settings to enable i2c modules.

Signed-off-by: Takashi YOSHII <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
Yoshii Takashi authored and pmundt committed Nov 24, 2010
1 parent b028f94 commit 8e67b22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-shmobile/board-ag5evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ static void __init ag5evm_init(void)
gpio_request(GPIO_FN_KEYOUT8, NULL);
gpio_request(GPIO_FN_PORT149_KEYOUT9, NULL);

/* enable IC2 2 and 3 */
gpio_request(GPIO_FN_PORT236_I2C_SDA2, NULL);
gpio_request(GPIO_FN_PORT237_I2C_SCL2, NULL);
gpio_request(GPIO_FN_PORT248_I2C_SCL3, NULL);
gpio_request(GPIO_FN_PORT249_I2C_SDA3, NULL);

/* enable SMSC911X */
gpio_request(GPIO_PORT144, NULL); /* PINTA2 */
gpio_direction_input(GPIO_PORT144);
Expand Down

0 comments on commit 8e67b22

Please sign in to comment.