On 6/16/2023 9:18 PM, Camelia Groza wrote:
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.

For the patchset,
Reviewed-by: Peng Fan <[email protected]>


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

Reply via email to