]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/i2c/i2c-cdns.c
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)
commit5e429852085119aa7e7a4437f588ae3a2424a3f6
treec0956fee867329f00414b04509f1511e51391fbf
parent12e8d5841540ff3522db2596670be8996f07131a
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