]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: i2c-cdns: Detect unsupported sequences for rev 1.0
authorMoritz Fischer <moritz.fischer@ettus.com>
Mon, 16 Jan 2017 17:50:44 +0000 (09:50 -0800)
committerHeiko Schocher <hs@denx.de>
Wed, 18 Jan 2017 05:38:06 +0000 (06:38 +0100)
commit0a96c0490ab878b25d3964f36e6d7af17243cd01
treec0956fee867329f00414b04509f1511e51391fbf
parenta3c9fb37e1ea629fef94cf2420b7f4d61889b91a
i2c: i2c-cdns: Detect unsupported sequences for rev 1.0

Revision 1.0 of this IP has a couple of issues, such as not supporting
repeated start conditions for read transfers.

So scan through the list of i2c messages for these conditions
and report an error if they are attempted.

This has been fixed for revision 1.4 of the IP, so only report the error
when the IP can really not do it.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: u-boot@lists.denx.de
drivers/i2c/i2c-cdns.c