Files
u-boot/drivers
Armando Visconti 491739bb74 designware_i2c: Added s/w generation of stop bit
In the newer versions of designware i2c IP there is the possibility
of configuring it with IC_EMPTYFIFO_HOLD_MASTER_EN=1, which basically
requires the s/w to generate the stop bit condition directly, as
the h/w will not automatically generate it when TX_FIFO is empty.

To avoid generation of an extra 0x0 byte sent as data, the
IC_STOP command must be sent along with the last IC_CMD.

This patch always writes bit[9] of ic_data_cmd even in the
older versions, assuming that it is a noop there.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2012-12-11 13:17:32 -07:00
..
2012-11-04 11:00:37 -07:00
2012-09-01 14:58:29 +02:00
2012-11-04 11:00:37 -07:00
2012-11-26 15:41:29 -06:00
2012-03-26 23:09:23 +02:00
2012-10-23 15:23:26 -05:00
2012-11-27 09:41:10 -07:00