Skip to content

dm: Convert TPC70 to use DM and DTS in SPL and u-boot proper

Lukasz Majewski u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 0 repliesNew
  2. v211 patches 0 repliesSuperseded
  3. v114 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Squash
'imx: tpc70: dts: Add TPC70 board (imx6q based) device tree description' with
'imx: tpc70: DTS: Explicitly add imx6q-kp.dtb to Makefile for DTB compilation'
- Adjust the code to being applicable on top of v2019.10
- Move CONFIG_SUPPORT_EMMC_BOOT to Kconfig

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9imx: tpc70: config: Add script commands to update u-boot and OE's wicinclude/configs/kp_imx6q_tpc.h+21 -00 replies
2/9imx: tpc70: config: Update TPC70 config to support eMMC's boot0 SPL updateinclude/configs/kp_imx6q_tpc.h+5 -01 reply
3/9imx: tpc70: Add board_boot_order() to distinguish between eMMC and SD bootboard/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c+20 -01 reply
4/9imx: tpc70: cosmetic: Replace magic numbers when setting ENET clockboard/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c+2 -11 reply
5/9imx: tpc70: led: Enable LED default stateboard/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c+4 -01 reply
6/9imx: tpc70: dts: Add TPC70 board (imx6q based) device tree descriptionarch/arm/dts/Makefile arch/arm/dts/imx6q-kp.dts+220 -01 reply
7/9imx: dts: Add u-boot specific set of device tree properties for tpc70arch/arm/dts/imx6q-kp-u-boot.dtsi+59 -01 reply
8/9imx: tpc70: Convert TPC70 (imx6q) board to use DM/DTS in SPL and u-bootarch/arm/mach-imx/mx6/Kconfig board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c +2 more+46 -3141 reply
9/9imx: config: Update KP's TPC70 config to support SWUpdateinclude/configs/kp_imx6q_tpc.h+5 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/9] dm: Convert TPC70 to use DM and DTS in SPL and u-boot proper

This patch series converts imx6q based tpc70 board to use driver model and device tree description in SPL and U-Boot proper.

All the non-DM parts of the code has been removed.
This patch series also uses the Common Clock Framework [CCF] as a base for clock management on imx6q board.

Those patches are applied on top of i.MX -next branch:
SHA1: caa336588d8b9be3d1ac011ddb62af7d1d060cb5
URL: git at gitlab.denx.de:u-boot/custodians/u-boot-imx.git

Changes in v3:
- Squash
'imx: tpc70: dts: Add TPC70 board (imx6q based) device tree description' with
'imx: tpc70: DTS: Explicitly add imx6q-kp.dtb to Makefile for DTB compilation'
- Adjust the code to being applicable on top of v2019.10
- Move CONFIG_SUPPORT_EMMC_BOOT to Kconfig

Lukasz Majewski (9):
imx: tpc70: config: Add script commands to update u-boot and OE's wic
imx: tpc70: config: Update TPC70 config to support eMMC's boot0 SPL
update
imx: tpc70: Add board_boot_order() to distinguish between eMMC and SD
boot
imx: tpc70: cosmetic: Replace magic numbers when setting ENET clock
imx: tpc70: led: Enable LED default state
imx: tpc70: dts: Add TPC70 board (imx6q based) device tree description
imx: dts: Add u-boot specific set of device tree properties for tpc70
imx: tpc70: Convert TPC70 (imx6q) board to use DM/DTS in SPL and
u-boot
imx: config: Update KP's TPC70 config to support SWUpdate

 arch/arm/dts/Makefile                     |   1 +
 arch/arm/dts/imx6q-kp-u-boot.dtsi         |  59 ++++++
 arch/arm/dts/imx6q-kp.dts                 | 219 ++++++++++++++++++++++
 arch/arm/mach-imx/mx6/Kconfig             |  10 +
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c     | 172 +----------------
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c | 137 ++------------
 configs/kp_imx6q_tpc_defconfig            |  31 ++-
 include/configs/kp_imx6q_tpc.h            |  52 ++---
 8 files changed, 373 insertions(+), 308 deletions(-)
 create mode 100644 arch/arm/dts/imx6q-kp-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6q-kp.dts
Signature · 1 line
2.20.1