Skip to content

Enable DM_SERIAL for NXP PPC T-series boards

Camelia Groza u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20board: freescale: t2080rdb: enumerate PCI devicesboard/freescale/t208xrdb/t208xrdb.c+4 -10 replies
2/20board: freescale: t2080rdb: implement get_serial_clockboard/freescale/t208xrdb/t208xrdb.c include/configs/T208xRDB.h+11 -10 replies
3/20powerpc: dts: t2080rdb: add serial nodesarch/powerpc/dts/t2080rdb.dts arch/powerpc/dts/t2080si-post.dtsi+8 -20 replies
4/20powerpc: dts: t2080rdb: tag serial nodes with bootph-allarch/powerpc/dts/t2080rdb-u-boot.dtsi+12 -00 replies
5/20configs: T2080RDB: enable DM_SERIALconfigs/T2080RDB_defconfig configs/T2080RDB_revD_defconfig+6 -20 replies
6/20board: freescale: t4240rdb: enumerate PCI devicesboard/freescale/t4rdb/t4240rdb.c+2 -00 replies
7/20board: freescale: t4240rdb: implement get_serial_clockboard/freescale/t4rdb/t4240rdb.c include/configs/T4240RDB.h+12 -10 replies
8/20powerpc: dts: t4240rdb: add serial nodesarch/powerpc/dts/t4240rdb.dts arch/powerpc/dts/t4240si-post.dtsi+8 -20 replies
9/20powerpc: dts: t4240rdb: tag serial nodes with bootph-allarch/powerpc/dts/t4240rdb-u-boot.dtsi+12 -00 replies
10/20configs: T4240RDB: enable DM_SERIALconfigs/T4240RDB_defconfig+3 -10 replies
11/20board: freescale: t104xrdb: enumerate PCI devicesboard/freescale/t104xrdb/t104xrdb.c+3 -00 replies
12/20board: freescale: t104xrdb: implement get_serial_clockboard/freescale/t104xrdb/t104xrdb.c include/configs/T104xRDB.h+12 -10 replies
13/20powerpc: dts: t1042d4rdb: add serial nodesarch/powerpc/dts/t1042d4rdb.dts arch/powerpc/dts/t1042si-post.dtsi+8 -20 replies
14/20powerpc: dts: t1042d4rdb: tag serial nodes with bootph-allarch/powerpc/dts/t1042d4rdb-u-boot.dtsi+12 -00 replies
15/20configs: T1042D4RDB: enable DM_SERIALconfigs/T1042D4RDB_defconfig+3 -10 replies
16/20board: freescale: t102xrdb: enumerate PCI devicesboard/freescale/t102xrdb/t102xrdb.c+2 -00 replies
17/20board: freescale: t102xrdb: implement get_serial_clockboard/freescale/t102xrdb/t102xrdb.c include/configs/T102xRDB.h+12 -20 replies
18/20powerpc: dts: t1024rdb: add serial nodesarch/powerpc/dts/t1023si-post.dtsi arch/powerpc/dts/t1024rdb.dts+8 -20 replies
19/20powerpc: dts: t1024rdb: tag serial nodes with bootph-allarch/powerpc/dts/t1024rdb-u-boot.dtsi+12 -00 replies
20/20configs: T1024RDB: enable DM_SERIALconfigs/T1024RDB_defconfig+3 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/20] Enable DM_SERIAL for NXP PPC T-series boards

This series enables DM_SERIAL for t2080rdb, t4240rdb, t1042d4rdb and t1024rdb.

Similar steps are taken for each board:
- The get_serial_clock() callback is implemented for each board
- The serial nodes are described in the device tree, similar to Linux v6.4
- The serial nodes are marked with 'bootph-all' to guarantee the drivers are initialized before relocation. New board specific *-u-boot.dtsi files are created to store these properties.
- CONFIG_DM_SERIAL is enabled in the board defconfigs

While here, enumerate the PCI devices at probe time for each board.

Camelia Groza (20):
board: freescale: t2080rdb: enumerate PCI devices
board: freescale: t2080rdb: implement get_serial_clock
powerpc: dts: t2080rdb: add serial nodes
powerpc: dts: t2080rdb: tag serial nodes with bootph-all
configs: T2080RDB: enable DM_SERIAL
board: freescale: t4240rdb: enumerate PCI devices
board: freescale: t4240rdb: implement get_serial_clock
powerpc: dts: t4240rdb: add serial nodes
powerpc: dts: t4240rdb: tag serial nodes with bootph-all
configs: T4240RDB: enable DM_SERIAL
board: freescale: t104xrdb: enumerate PCI devices
board: freescale: t104xrdb: implement get_serial_clock
powerpc: dts: t1042d4rdb: add serial nodes
powerpc: dts: t1042d4rdb: tag serial nodes with bootph-all
configs: T1042D4RDB: enable DM_SERIAL
board: freescale: t102xrdb: enumerate PCI devices
board: freescale: t102xrdb: implement get_serial_clock
powerpc: dts: t1024rdb: add serial nodes
powerpc: dts: t1024rdb: tag serial nodes with bootph-all
configs: T1024RDB: enable DM_SERIAL

 arch/powerpc/dts/t1023si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t1024rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t1024rdb.dts           |  6 +++++-
 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi | 12 ++++++++++++
 arch/powerpc/dts/t1042d4rdb.dts         |  6 +++++-
 arch/powerpc/dts/t1042si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t2080rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t2080rdb.dts           |  6 +++++-
 arch/powerpc/dts/t2080si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t4240rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t4240rdb.dts           |  6 +++++-
 arch/powerpc/dts/t4240si-post.dtsi      |  4 +++-
 board/freescale/t102xrdb/t102xrdb.c     | 12 +++++++++++-
 board/freescale/t104xrdb/t104xrdb.c     | 12 ++++++++++++
 board/freescale/t208xrdb/t208xrdb.c     | 13 ++++++++++++-
 board/freescale/t4rdb/t4240rdb.c        | 11 +++++++++++
 configs/T1024RDB_defconfig              |  4 +++-
 configs/T1042D4RDB_defconfig            |  4 +++-
 configs/T2080RDB_defconfig              |  4 +++-
 configs/T2080RDB_revD_defconfig         |  4 +++-
 configs/T4240RDB_defconfig              |  4 +++-
 include/configs/T102xRDB.h              |  4 +++-
 include/configs/T104xRDB.h              |  4 +++-
 include/configs/T208xRDB.h              |  4 +++-
 include/configs/T4240RDB.h              |  4 +++-
 25 files changed, 153 insertions(+), 19 deletions(-)
 create mode 100644 arch/powerpc/dts/t1024rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t2080rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t4240rdb-u-boot.dtsi

--
2.17.1