[U-Boot] [PATCH v2 9/9] arm: rmobile: kzm9g: enable I2C2
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Thu Sep 13 07:27:10 CEST 2012
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi <koba at kmckk.co.jp> wrote:
> Set gpio config for I2C2.
>
> Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
> ---
> Changes for v2:
> - new
>
> board/kmc/kzm9g/kzm9g.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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);
>
> --
> 1.7.9.5
>
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
More information about the U-Boot
mailing list