Home
last modified time | relevance | path

Searched hist:f3e74d0a9fd8cdcbdc59b7c5a702aacc51908dca (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/board/keymile/kmp204x/
H A Dkmp204x.cf3e74d0a9fd8cdcbdc59b7c5a702aacc51908dca Mon Feb 03 07:45:40 UTC 2014 Rainer Boschung <rainer.boschung@keymile.com> 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>
/rk3399_rockchip-uboot/include/configs/km/
H A Dkmp204x-common.hf3e74d0a9fd8cdcbdc59b7c5a702aacc51908dca Mon Feb 03 07:45:40 UTC 2014 Rainer Boschung <rainer.boschung@keymile.com> 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>