[U-Boot] [PATCH v4 3/9] kmp204x: I2C deblocking support
York Sun
yorksun at freescale.com
Mon Feb 3 21:26:00 CET 2014
On 02/02/2014 11:45 PM, Valentin Longchamp wrote:
> From: Rainer Boschung <rainer.boschung at keymile.com>
>
> This patch adds support for using some GPIOs that are connected to the
> I2C bus to force the bus lines state and perform some bus deblocking
> sequences.
>
> The KM common deblocking algorithm from board/keymile/common/common.c is
> used. The GPIO lines used for deblocking the I2C bus are some external
> GPIOs provided by the QRIO CPLD:
> - SCL = GPIOA_20
> - SDA = GPIOA_21
>
> The QRIO GPIOs act in an open-drain-like manner, for 0 the line is
> driven low and for 1 the GPIO is set as input and the line gets
> pulled-up.
>
> Signed-off-by: Rainer Boschung <rainer.boschung at keymile.com>
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
>
> ---
>
> Changes in v4:
> - fix usage of the #define names that got wrong in the merge process
>
> Changes in v3:
> - rewrite the commit message and and the comments for more clarity
> - fix the GPIO numbers that where not correct
>
> Changes in v2: None
>
Applied to u-boot-mpc85xx master branch.
York
More information about the U-Boot
mailing list