Skip to content

Enable I2C in SPL, support runtime detection of add-on board

sunil at amarulasolutions.com u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rockchip: spl: Move board_early_init_f after cpu timerarch/arm/mach-rockchip/spl.c+3 -20 replies
2/5roc-pc-rk3399: Enable I2C in SPL for add-on board detectionarch/arm/dts/rk3399-roc-pc-u-boot.dtsi configs/roc-pc-rk3399_defconfig+17 -10 replies
3/5roc-pc-rk3399: Add support for add-on board run-time detectionboard/firefly/roc-pc-rk3399/roc-pc-rk3399.c configs/roc-pc-rk3399_defconfig+58 -00 replies
4/5rk3399: drop ROC-RK3399-PC Mezzanine boardboard/firefly/roc-pc-rk3399/MAINTAINERS configs/roc-pc-mezzanine-rk3399_defconfig+0 -761 reply
5/5roc-pc-rk3399: Enable PCIe/M.2, NVMeconfigs/roc-pc-rk3399_defconfig+3 -01 reply

Reviews trailers per patch

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

PatchSuniel Mahesh
1/5T-b
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] Enable I2C in SPL, support runtime detection of add-on board

From: Suniel Mahesh <[email protected]>

This patch series adds runtime detection of add-on board(ROC-RK3399-PC Mezzanine) by enabling I2C in SPL.
This add on board hosts a CW2015 chip which is connected as slave to I2C2. In order to dynamically detect this add-on board at runtime, I2C2 is probed in SPL. If probe is successfull then a corresponding dtb is loaded, else regular dtb is loaded for the u-boot proper.

Patch #1 moves board initialiation code after rk3399 init is done. Patch #2 enables I2C in SPL for any add-on board detection at run time. Patch #3 adds support for add-on board run-time detection. Patch #4 drops ROC-RK3399-PC Mezzanine board as this is an add-on board, it will be detected at runtime. Patch #5 enables PCIe/M.2 and NVMe, as this add-on board has a PCIe/M.2.

Jagan Teki (1):
rockchip: spl: Move board_early_init_f after cpu timer

Suniel Mahesh (4):
roc-pc-rk3399: Enable I2C in SPL for add-on board detection
roc-pc-rk3399: Add support for add-on board run-time detection
rk3399: drop ROC-RK3399-PC Mezzanine board
roc-pc-rk3399: Enable PCIe/M.2, NVMe

 arch/arm/dts/rk3399-roc-pc-u-boot.dtsi      | 13 +++++
 arch/arm/mach-rockchip/spl.c                |  5 +-
 board/firefly/roc-pc-rk3399/MAINTAINERS     |  2 -
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c | 56 ++++++++++++++++++++++
 configs/roc-pc-mezzanine-rk3399_defconfig   | 74 -----------------------------
 configs/roc-pc-rk3399_defconfig             | 10 +++-
 6 files changed, 81 insertions(+), 79 deletions(-)
 delete mode 100644 configs/roc-pc-mezzanine-rk3399_defconfig
Signature · 1 line
2.7.4