public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards
@ 2023-06-16 13:18 Camelia Groza
  2023-06-16 13:18 ` [PATCH v2 1/7] arch: arm: dts: ls1043a: sync serial nodes with Linux Camelia Groza
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Camelia Groza @ 2023-06-16 13:18 UTC (permalink / raw)
  To: peng.fan, mingkai.hu, pramod.kumar_1, u-boot; +Cc: Camelia Groza

This series enables DM_SERIAL for ls1043ardb, ls1046ardb and
ls1046afrwy.

First, the device tree serial nodes are synced with their counterpart
descriptions in Linux v6.3.

Secondly, the serial nodes are tagged with 'bootph-all' to guarantee
the drivers are initialized before relocation. New board specific
*-u-boot.dtsi files are created to store these properties. We do this in
order to keep serial node descriptions in sync with Linux.

Lastly, CONFIG_DM_SERIAL is enabled in the relevant defconfigs.

Changes in v2:
- mention the Linux kernel version the serial nodes are synced with in
  1/7 and 4/7
- create *-u-boot.dtsi files to store u-boot specific dts properties in
  2/7 and 5/7
- pick up the status properties of the serial nodes from Linux in 4/7

Camelia Groza (7):
  arch: arm: dts: ls1043a: sync serial nodes with Linux
  arch: arm: dts: ls1043a: tag serial nodes with bootph-all
  configs: ls1043ardb: enable DM_SERIAL
  arch: arm: dts: ls1046a: sync serial nodes with Linux
  arch: arm: dts: ls1046a: tag serial nodes with bootph-all
  configs: ls1046ardb: enable DM_SERIAL
  configs: ls1046afrwy: enable DM_SERIAL

 arch/arm/dts/fsl-ls1043a-qds.dtsi             |  2 +-
 arch/arm/dts/fsl-ls1043a-rdb-u-boot.dtsi      |  5 ++++
 arch/arm/dts/fsl-ls1043a-rdb.dts              |  6 +++-
 arch/arm/dts/fsl-ls1043a-u-boot.dtsi          | 19 +++++++++++++
 arch/arm/dts/fsl-ls1043a.dtsi                 | 16 +++++++----
 arch/arm/dts/fsl-ls1046a-frwy-u-boot.dtsi     |  5 ++++
 arch/arm/dts/fsl-ls1046a-frwy.dts             | 22 ++++++++++++++-
 arch/arm/dts/fsl-ls1046a-qds.dtsi             |  2 +-
 arch/arm/dts/fsl-ls1046a-rdb-u-boot.dtsi      |  5 ++++
 arch/arm/dts/fsl-ls1046a-rdb.dts              | 14 +++++++++-
 arch/arm/dts/fsl-ls1046a-u-boot.dtsi          | 19 +++++++++++++
 arch/arm/dts/fsl-ls1046a.dtsi                 | 28 +++++++++++++------
 configs/ls1043ardb_SECURE_BOOT_defconfig      |  4 ++-
 configs/ls1043ardb_defconfig                  |  4 ++-
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig |  4 ++-
 configs/ls1043ardb_nand_defconfig             |  3 +-
 .../ls1043ardb_sdcard_SECURE_BOOT_defconfig   |  4 ++-
 configs/ls1043ardb_sdcard_defconfig           |  3 +-
 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig  |  4 ++-
 configs/ls1043ardb_tfa_defconfig              |  4 ++-
 configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig |  4 ++-
 configs/ls1046afrwy_tfa_defconfig             |  4 ++-
 configs/ls1046ardb_emmc_defconfig             |  3 +-
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig |  4 ++-
 configs/ls1046ardb_qspi_defconfig             |  4 ++-
 configs/ls1046ardb_qspi_spl_defconfig         |  3 +-
 .../ls1046ardb_sdcard_SECURE_BOOT_defconfig   |  4 ++-
 configs/ls1046ardb_sdcard_defconfig           |  3 +-
 configs/ls1046ardb_tfa_SECURE_BOOT_defconfig  |  4 ++-
 configs/ls1046ardb_tfa_defconfig              |  4 ++-
 30 files changed, 173 insertions(+), 37 deletions(-)
 create mode 100644 arch/arm/dts/fsl-ls1043a-rdb-u-boot.dtsi
 create mode 100644 arch/arm/dts/fsl-ls1043a-u-boot.dtsi
 create mode 100644 arch/arm/dts/fsl-ls1046a-frwy-u-boot.dtsi
 create mode 100644 arch/arm/dts/fsl-ls1046a-rdb-u-boot.dtsi
 create mode 100644 arch/arm/dts/fsl-ls1046a-u-boot.dtsi

--
2.17.1


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

end of thread, other threads:[~2023-06-26  1:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 13:18 [PATCH v2 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards Camelia Groza
2023-06-16 13:18 ` [PATCH v2 1/7] arch: arm: dts: ls1043a: sync serial nodes with Linux Camelia Groza
2023-06-16 13:18 ` [PATCH v2 2/7] arch: arm: dts: ls1043a: tag serial nodes with bootph-all Camelia Groza
2023-06-16 13:18 ` [PATCH v2 3/7] configs: ls1043ardb: enable DM_SERIAL Camelia Groza
2023-06-16 13:18 ` [PATCH v2 4/7] arch: arm: dts: ls1046a: sync serial nodes with Linux Camelia Groza
2023-06-16 13:18 ` [PATCH v2 5/7] arch: arm: dts: ls1046a: tag serial nodes with bootph-all Camelia Groza
2023-06-16 13:18 ` [PATCH v2 6/7] configs: ls1046ardb: enable DM_SERIAL Camelia Groza
2023-06-16 13:18 ` [PATCH v2 7/7] configs: ls1046afrwy: " Camelia Groza
2023-06-26  1:04 ` [PATCH v2 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox