[PATCH v3 10/28] i2c: Update for new sequence numbers

Simon Glass sjg at chromium.org
Sat Dec 19 17:40:28 CET 2020


Use the new sequence number in all cases. Drop the logic to check for a
valid number in designware_i2c, since it will always be valid.

Also drop the numbering in the uclass, since we can rely on driver
model giving us the right sequence numbers.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v2)

Changes in v2:
- Drop special numbering in the i2c uclass

 drivers/i2c/designware_i2c_pci.c   | 22 +----------------
 drivers/i2c/i2c-uclass.c           | 39 +-----------------------------
 drivers/i2c/i2c-versatile.c        |  5 ----
 drivers/i2c/intel_i2c.c            | 12 +--------
 drivers/i2c/muxes/i2c-mux-uclass.c |  4 +--
 drivers/i2c/mvtwsi.c               |  6 ++---
 6 files changed, 8 insertions(+), 80 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list