u-boot/board/keymile/kmp204x
Rainer Boschung f3e74d0a9f kmp204x: I2C deblocking support
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@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2014-02-03 08:38:50 -08:00
..
ddr.c Driver/DDR: Moving Freescale DDR driver to a common driver 2013-11-25 11:43:43 -08:00
eth.c mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00
kmp204x.c kmp204x: I2C deblocking support 2014-02-03 08:38:50 -08:00
kmp204x.h kmp204x: introduce QRIO GPIO functions 2014-02-03 08:38:49 -08:00
law.c mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00
Makefile kmp204x: introduce QRIO GPIO functions 2014-02-03 08:38:49 -08:00
pbi.cfg mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00
pci.c mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00
qrio.c kmp204x: introduce QRIO GPIO functions 2014-02-03 08:38:49 -08:00
rcw_kmp204x.cfg mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00
tlb.c mpc85xx: introduce the kmp204x reference design support 2013-10-24 09:36:26 -07:00