Skip to content

Add EEPROM-based board detect support for TI K3 SoCs

Andreas Dannenberg u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest18 patches 0 repliesNew
  2. v218 patches 0 repliesSuperseded
  3. v118 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Re-based for proposed staging K3 AM654x patch staging sequence

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18i2c: omap24xx_i2c: Adapt driver to support K3 devicesdrivers/i2c/Kconfig+1 -11 reply
2/18arm: omap_i2c: Remove unwanted header file inclusionarch/arm/include/asm/omap_i2c.h+0 -21 reply
3/18arm: dts: k3-am65: Move pinctrl nodes out of U-Boot specific dtsiarch/arm/dts/k3-am65-main.dtsi arch/arm/dts/k3-am65-wakeup.dtsi arch/arm/dts/k3-am654-base-board-u-boot.dtsi+16 -151 reply
4/18arm: dts: k3-am65: Add I2C nodesarch/arm/dts/k3-am65-main.dtsi arch/arm/dts/k3-am65-mcu.dtsi arch/arm/dts/k3-am65-wakeup.dtsi +1 more+72 -01 reply
5/18arm: dts: k3-am654-base-board: Enable wkup_i2c0 across all boot stagesarch/arm/dts/k3-am65.dtsi arch/arm/dts/k3-am654-base-board-u-boot.dtsi arch/arm/dts/k3-am654-base-board.dts +1 more+41 -01 reply
6/18configs: am65x_evm_defconfig: Enable I2C supportconfigs/am65x_evm_a53_defconfig configs/am65x_evm_r5_defconfig+8 -01 reply
7/18configs: am65x_hs_evm_defconfig: Enable I2C supportconfigs/am65x_hs_evm_a53_defconfig configs/am65x_hs_evm_r5_defconfig+8 -01 reply
8/18arm64: dts: k3-am654-base-board: Add I2C GPIO expander @ 0x38arch/arm/dts/k3-am654-base-board.dts+7 -01 reply
9/18configs: am65x_evm_a53: Enable PCA953X-type GPIO driverconfigs/am65x_evm_a53_defconfig+2 -01 reply
10/18configs: am65x_hs_evm_a53: Enable PCA953X-type GPIO driverconfigs/am65x_hs_evm_a53_defconfig+2 -01 reply
11/18configs: am65x_evm_a53: Increase malloc pool before relocationconfigs/am65x_evm_a53_defconfig+1 -11 reply
12/18configs: am65x_hs_evm_a53: Increase malloc pool before relocationconfigs/am65x_hs_evm_a53_defconfig+1 -11 reply
13/18arm: K3: am654: Map common EEPROM data into SRAM scratch spacearch/arm/mach-k3/include/mach/am6_hardware.h+3 -01 reply
14/18ti: common: am6: Add support for board description EEPROMboard/ti/common/board_detect.c board/ti/common/board_detect.h+408 -01 reply
15/18ti: common: am6: Add support for setting MAC addressesboard/ti/common/board_detect.c board/ti/common/board_detect.h+44 -01 reply
16/18board: ti: am654: Use EEPROM-based board detectionarch/arm/mach-k3/am6_init.c arch/arm/mach-k3/include/mach/sys_proto.h board/ti/am65x/Kconfig +2 more+257 -61 reply
17/18configs: am65x_evm: Add support for applying overlaysconfigs/am65x_evm_a53_defconfig include/configs/am65x_evm.h+11 -11 reply
18/18configs: am65x_hs_evm: Add support for applying overlaysconfigs/am65x_hs_evm_a53_defconfig+2 -11 reply

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchHeiko SchocherLokesh VutlaAndrew F. Davis
SeriesT-b
1/18R-b R-b
2/18R-b R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b A-b
8/18R-b
9/18R-b
10/18R-b A-b
11/18R-b
12/18R-b A-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 00/18] Add EEPROM-based board detect support for TI K3 SoCs

This is an updated EEPROM-based board detection series that can applied if staged with other patches in the sequence proposed earlier [1].

For completeness here is the proposed sequence again, avoiding merge conflicts, but this time from the perspective of this patch series.

Step 1) Faiz' "Add Support for eMMC in Am65x-evm" series [2]. It needs
a small update to actuall allow for eMMC boot I posted earlier.
Step 2) The updated (v2) SYSFW loader series just posted [3] Step 3) The updated AM654x EEPROM support proposed with this series Step 4) An updated version of Lokesh's "arm: k3: Allow for exclusive
and shared device requests" series [4]. In addition to a rebase such an updated series should include updating power domain properties for devices that were added during the previous steps.
Step 5) An updated version of Lokesh's "arm: k3: arm64: Initial support
Texas Instrument's J721E Platform" series [5] also adding in the few lines of codes to leverage SYSFW.
Step 6 & beyond) Various rproc patches, etc.

Changes since v2:
- Re-based for proposed staging K3 AM654x patch staging sequence

Changes since initial submission:
- Re-based onto latest 'master' branch
- Collected all review tags
- Re-tested

[1] https://lists.denx.de/pipermail/u-boot/2019-June/371739.html
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=111723
[3] https://patchwork.ozlabs.org/project/uboot/list/?series=111844
[4] https://patchwork.ozlabs.org/project/uboot/list/?series=109163
[5] https://patchwork.ozlabs.org/project/uboot/list/?series=109296

--
Andreas Dannenberg
Texas Instruments Inc

Andreas Dannenberg (16):
arm: dts: k3-am65: Move pinctrl nodes out of U-Boot specific dtsi
arm: dts: k3-am65: Add I2C nodes
arm: dts: k3-am654-base-board: Enable wkup_i2c0 across all boot stages
configs: am65x_evm_defconfig: Enable I2C support
configs: am65x_hs_evm_defconfig: Enable I2C support
arm64: dts: k3-am654-base-board: Add I2C GPIO expander @ 0x38
configs: am65x_evm_a53: Enable PCA953X-type GPIO driver
configs: am65x_hs_evm_a53: Enable PCA953X-type GPIO driver
configs: am65x_evm_a53: Increase malloc pool before relocation
configs: am65x_hs_evm_a53: Increase malloc pool before relocation
arm: K3: am654: Map common EEPROM data into SRAM scratch space
ti: common: am6: Add support for board description EEPROM
ti: common: am6: Add support for setting MAC addresses
board: ti: am654: Use EEPROM-based board detection
configs: am65x_evm: Add support for applying overlays
configs: am65x_hs_evm: Add support for applying overlays

Vignesh R (2):
i2c: omap24xx_i2c: Adapt driver to support K3 devices
arm: omap_i2c: Remove unwanted header file inclusion

 arch/arm/dts/k3-am65-main.dtsi               |  52 ++++
 arch/arm/dts/k3-am65-mcu.dtsi                |  11 +
 arch/arm/dts/k3-am65-wakeup.dtsi             |  19 ++
 arch/arm/dts/k3-am65.dtsi                    |   7 +
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi |  27 +-
 arch/arm/dts/k3-am654-base-board.dts         |  22 ++
 arch/arm/dts/k3-am654-r5-base-board.dts      |  13 +
 arch/arm/include/asm/omap_i2c.h              |   2 -
 arch/arm/mach-k3/am6_init.c                  |   4 +
 arch/arm/mach-k3/include/mach/am6_hardware.h |   3 +
 arch/arm/mach-k3/include/mach/sys_proto.h    |   2 +
 board/ti/am65x/Kconfig                       |   7 +
 board/ti/am65x/evm.c                         | 241 ++++++++++++++++++
 board/ti/common/board_detect.c               | 246 +++++++++++++++++++
 board/ti/common/board_detect.h               | 206 ++++++++++++++++
 configs/am65x_evm_a53_defconfig              |  11 +-
 configs/am65x_evm_r5_defconfig               |   4 +
 configs/am65x_hs_evm_a53_defconfig           |  11 +-
 configs/am65x_hs_evm_r5_defconfig            |   4 +
 drivers/i2c/Kconfig                          |   2 +-
 include/configs/am65x_evm.h                  |  18 +-
 21 files changed, 884 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.1