Skip to content

board: freescale: common: Refactor I2C mux driver

Stephen Carlson u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 1 replyIn review
  2. v214 patches 2 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9board: freescale: Refactor NXP common mux codeboard/freescale/common/Kconfig board/freescale/common/Makefile board/freescale/common/i2c_common.c +4 more+148 -461 reply
2/9board: freescale: ls1021aqds: Update I2C mux configboard/freescale/ls1021aqds/dcu.c board/freescale/ls1021aqds/ls1021aqds.c configs/ls1021aqds_ddr4_nor_defconfig +8 more+11 -500 replies
3/9board: freescale: ls1043aqds: Update I2C mux configboard/freescale/ls1043aqds/ls1043aqds.c configs/ls1043aqds_defconfig configs/ls1043aqds_lpuart_defconfig +7 more+10 -260 replies
4/9board: freescale: ls1046a: Update I2C mux configboard/freescale/ls1046afrwy/ls1046afrwy.c board/freescale/ls1046aqds/ls1046aqds.c configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig +10 more+13 -510 replies
5/9board: freescale: ls1088a: Update I2C mux configboard/freescale/ls1088a/ls1088a.c configs/ls1088aqds_defconfig configs/ls1088aqds_qspi_SECURE_BOOT_defconfig +10 more+18 -260 replies
6/9board: freescale: ls2080: Update I2C mux configboard/freescale/ls2080aqds/ls2080aqds.c board/freescale/ls2080ardb/ls2080ardb.c configs/ls2080aqds_SECURE_BOOT_defconfig +8 more+14 -470 replies
7/9board: freescale: lx2160a: Update I2C mux configboard/freescale/lx2160a/lx2160a.c configs/lx2160aqds_tfa_SECURE_BOOT_defconfig configs/lx2160aqds_tfa_defconfig +6 more+14 -250 replies
8/9board: freescale: t2080qds: Update I2C mux configboard/freescale/t208xqds/t208xqds.c configs/T2080QDS_NAND_defconfig configs/T2080QDS_SDCARD_defconfig +4 more+7 -250 replies
9/9board: freescale: ls2088a: Update I2C mux configconfigs/ls2088aqds_tfa_defconfig configs/ls2088ardb_qspi_SECURE_BOOT_defconfig configs/ls2088ardb_qspi_defconfig +2 more+5 -00 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by.

PatchZhao Zheng
SeriesT-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] board: freescale: common: Refactor I2C mux driver

This patch set unifies code from multiple Freescale boards for the PCA9547 I2C mux into one location, and adds a Kconfig to disable the mux for new Freescale boards which do not include it.

This patch set has been tested on the following boards:

LX2160ARDB
LX2160AQDS
LX2162AQDS
LS1046AFRWY
LS1046ARDB
LS2088ARDB
LS1043ARDB
LS1043AQDS
LS1088ARDB
LS1088AQDS

Stephen Carlson (9):
board: freescale: Refactor NXP common mux code
board: freescale: ls1021aqds: Update I2C mux config
board: freescale: ls1043aqds: Update I2C mux config
board: freescale: ls1046a: Update I2C mux config
board: freescale: ls1088a: Update I2C mux config
board: freescale: ls2080: Update I2C mux config
board: freescale: lx2160a: Update I2C mux config
board: freescale: t2080qds: Update I2C mux config
board: freescale: ls2088a: Update I2C mux config

 board/freescale/common/Kconfig                |  6 ++
 board/freescale/common/Makefile               | 11 ++++
 board/freescale/common/i2c_common.c           | 34 +++++++++++
 board/freescale/common/i2c_common.h           | 30 ++++++++++
 board/freescale/common/i2c_mux.c              | 40 +++++++++++++
 board/freescale/common/i2c_mux.h              | 15 +++++
 board/freescale/common/vid.c                  | 58 ++++---------------
 board/freescale/ls1021aqds/dcu.c              | 26 +--------
 board/freescale/ls1021aqds/ls1021aqds.c       | 26 +--------
 board/freescale/ls1043aqds/ls1043aqds.c       | 27 +--------
 board/freescale/ls1046afrwy/ls1046afrwy.c     | 27 +--------
 board/freescale/ls1046aqds/ls1046aqds.c       | 26 +--------
 board/freescale/ls1088a/ls1088a.c             | 32 ++--------
 board/freescale/ls2080aqds/ls2080aqds.c       | 25 +-------
 board/freescale/ls2080ardb/ls2080ardb.c       | 27 +--------
 board/freescale/lx2160a/lx2160a.c             | 31 ++--------
 board/freescale/t208xqds/t208xqds.c           | 26 +--------
 configs/T2080QDS_NAND_defconfig               |  1 +
 configs/T2080QDS_SDCARD_defconfig             |  1 +
 configs/T2080QDS_SECURE_BOOT_defconfig        |  1 +
 configs/T2080QDS_SPIFLASH_defconfig           |  1 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig     |  1 +
 configs/T2080QDS_defconfig                    |  1 +
 configs/ls1021aqds_ddr4_nor_defconfig         |  1 +
 configs/ls1021aqds_ddr4_nor_lpuart_defconfig  |  1 +
 configs/ls1021aqds_nand_defconfig             |  1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig  |  1 +
 configs/ls1021aqds_nor_defconfig              |  1 +
 configs/ls1021aqds_nor_lpuart_defconfig       |  1 +
 configs/ls1021aqds_qspi_defconfig             |  1 +
 configs/ls1021aqds_sdcard_ifc_defconfig       |  1 +
 configs/ls1021aqds_sdcard_qspi_defconfig      |  1 +
 configs/ls1043aqds_defconfig                  |  1 +
 configs/ls1043aqds_lpuart_defconfig           |  1 +
 configs/ls1043aqds_nand_defconfig             |  1 +
 configs/ls1043aqds_nor_ddr3_defconfig         |  1 +
 configs/ls1043aqds_qspi_defconfig             |  1 +
 configs/ls1043aqds_sdcard_ifc_defconfig       |  1 +
 configs/ls1043aqds_sdcard_qspi_defconfig      |  1 +
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/ls1043aqds_tfa_defconfig              |  1 +
 configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig |  1 +
 configs/ls1046afrwy_tfa_defconfig             |  1 +
 configs/ls1046aqds_SECURE_BOOT_defconfig      |  1 +
 configs/ls1046aqds_defconfig                  |  1 +
 configs/ls1046aqds_lpuart_defconfig           |  1 +
 configs/ls1046aqds_nand_defconfig             |  1 +
 configs/ls1046aqds_qspi_defconfig             |  1 +
 configs/ls1046aqds_sdcard_ifc_defconfig       |  1 +
 configs/ls1046aqds_sdcard_qspi_defconfig      |  1 +
 configs/ls1046aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/ls1046aqds_tfa_defconfig              |  1 +
 configs/ls1088aqds_defconfig                  |  1 +
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig |  1 +
 configs/ls1088aqds_qspi_defconfig             |  1 +
 configs/ls1088aqds_sdcard_ifc_defconfig       |  1 +
 configs/ls1088aqds_sdcard_qspi_defconfig      |  1 +
 configs/ls1088aqds_tfa_defconfig              |  1 +
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig |  1 +
 configs/ls1088ardb_qspi_defconfig             |  1 +
 ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig |  1 +
 configs/ls1088ardb_sdcard_qspi_defconfig      |  1 +
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/ls1088ardb_tfa_defconfig              |  1 +
 configs/ls2080aqds_SECURE_BOOT_defconfig      |  1 +
 configs/ls2080aqds_defconfig                  |  1 +
 configs/ls2080aqds_nand_defconfig             |  1 +
 configs/ls2080aqds_qspi_defconfig             |  1 +
 configs/ls2080aqds_sdcard_defconfig           |  1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig      |  1 +
 configs/ls2080ardb_defconfig                  |  1 +
 configs/ls2080ardb_nand_defconfig             |  1 +
 configs/ls2081ardb_defconfig                  |  1 +
 configs/ls2088aqds_tfa_defconfig              |  1 +
 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig |  1 +
 configs/ls2088ardb_qspi_defconfig             |  1 +
 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/ls2088ardb_tfa_defconfig              |  1 +
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/lx2160aqds_tfa_defconfig              |  1 +
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/lx2160ardb_tfa_defconfig              |  1 +
 configs/lx2160ardb_tfa_stmm_defconfig         |  1 +
 configs/lx2162aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/lx2162aqds_tfa_defconfig              |  1 +
 .../lx2162aqds_tfa_verified_boot_defconfig    |  1 +
 86 files changed, 240 insertions(+), 296 deletions(-)
 create mode 100644 board/freescale/common/i2c_common.c
 create mode 100644 board/freescale/common/i2c_common.h
 create mode 100644 board/freescale/common/i2c_mux.c
 create mode 100644 board/freescale/common/i2c_mux.h
Signature · 1 line
2.17.1