Patchwork [U-Boot,v3,09/10] arm: rmobile: kzm9g: enable I2C2

login
register
mail settings
Submitter Tetsuyuki Kobayashi
Date Sept. 14, 2012, 5:08 a.m.
Message ID <1347599285-11830-10-git-send-email-koba@kmckk.co.jp>
Download mbox | patch
Permalink /patch/183803/
State Accepted
Delegated to: Heiko Schocher
Headers show

Comments

Tetsuyuki Kobayashi - Sept. 14, 2012, 5:08 a.m.
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
---
Changes for v2:
 - new
Changes for v3:
 - none

 board/kmc/kzm9g/kzm9g.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 93ca9d7..22f581a 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -370,6 +370,8 @@  int board_init(void)
 	gpio_direction_output(GPIO_PORT15, 1);
 
 	/* I2C */
+	gpio_request(GPIO_FN_PORT237_I2C_SCL2, NULL);
+	gpio_request(GPIO_FN_PORT236_I2C_SDA2, NULL);
 	gpio_request(GPIO_FN_PORT27_I2C_SCL3, NULL);
 	gpio_request(GPIO_FN_PORT28_I2C_SDA3, NULL);