[U-Boot] [PATCH v6 1/2] i2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)

Minkyu Kang promsoft at gmail.com
Tue Aug 30 05:47:13 CEST 2011


Dear Lukasz Majewski,

On 23 August 2011 17:34, Lukasz Majewski <l.majewski at samsung.com> wrote:
> This patch adds support for software I2C for GONI and Universal C210 reference targets.
> It adds support for access to GPIOs by number, not as it is present,
> by bank and offset.
>
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
> Cc: Heiko Schocher <hs at denx.de>
>
> ---
> Changes for v2:
>        - Generic GPIO code added to arch/arm/gpio.h
>        - Platform dependent GPIO code added to board/samsung/goni.c
>        - Code cleanup
> Changes for v3:
>        - I2C GPIO common code added to drivers/gpio/s5p_gpio.c
>        - i2c_init_board() function added(required by soft_i2c)
> Changes for v4:
>        - i2x_init_board() removed
>        - s5pc210 support added
>        - GPIO code and I2C enable code split to separate patches
> Changes for v5:
>        - s5p_gpio pointer removed and replaced with generic s5p_gpio_base
>        function
>        - removed duplicated code
> Changes for v6:
>        - s5pc[1|2]10_gpio_get_nr macro added. More redable code for I2C
>        gpio pins definition
> ---
>  arch/arm/include/asm/arch-s5pc1xx/gpio.h |   13 +++++++++
>  arch/arm/include/asm/arch-s5pc2xx/gpio.h |   29 +++++++++++++++++++
>  drivers/gpio/s5p_gpio.c                  |   44 ++++++++++++++++++++++++++++++
>  3 files changed, 86 insertions(+), 0 deletions(-)
>

applied to u-boot-samsung

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list