All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Enable I2C in SPL, support runtime detection of add-on board
@ 2020-05-22 18:03 sunil at amarulasolutions.com
  2020-05-22 18:03 ` [PATCH 1/5] rockchip: spl: Move board_early_init_f after cpu timer sunil at amarulasolutions.com
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: sunil at amarulasolutions.com @ 2020-05-22 18:03 UTC (permalink / raw)
  To: u-boot

From: Suniel Mahesh <sunil@amarulasolutions.com>

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

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-05-29 11:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 18:03 [PATCH 0/5] Enable I2C in SPL, support runtime detection of add-on board sunil at amarulasolutions.com
2020-05-22 18:03 ` [PATCH 1/5] rockchip: spl: Move board_early_init_f after cpu timer sunil at amarulasolutions.com
2020-05-22 18:03 ` [PATCH 2/5] roc-pc-rk3399: Enable I2C in SPL for add-on board detection sunil at amarulasolutions.com
2020-05-22 18:03 ` [PATCH 3/5] roc-pc-rk3399: Add support for add-on board run-time detection sunil at amarulasolutions.com
2020-05-22 18:03 ` [PATCH 4/5] rk3399: drop ROC-RK3399-PC Mezzanine board sunil at amarulasolutions.com
2020-05-22 18:12   ` Jagan Teki
2020-05-22 18:03 ` [PATCH 5/5] roc-pc-rk3399: Enable PCIe/M.2, NVMe sunil at amarulasolutions.com
2020-05-22 18:13   ` Jagan Teki
2020-05-23  2:07 ` [PATCH 0/5] Enable I2C in SPL, support runtime detection of add-on board Chen-Yu Tsai
2020-05-29  9:54   ` Kever Yang
2020-05-29 11:06     ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.