public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Camelia Groza <camelia.groza@nxp.com>
To: peng.fan@oss.nxp.com, u-boot@lists.denx.de
Cc: Camelia Groza <camelia.groza@nxp.com>
Subject: [PATCH 00/20] Enable DM_SERIAL for NXP PPC T-series boards
Date: Tue, 11 Jul 2023 15:49:13 +0300	[thread overview]
Message-ID: <cover.1689077882.git.camelia.groza@nxp.com> (raw)

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


             reply	other threads:[~2023-07-11 12:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-11 12:49 Camelia Groza [this message]
2023-07-11 12:49 ` [PATCH 01/20] board: freescale: t2080rdb: enumerate PCI devices Camelia Groza
2023-07-11 12:49 ` [PATCH 02/20] board: freescale: t2080rdb: implement get_serial_clock Camelia Groza
2023-07-11 12:49 ` [PATCH 03/20] powerpc: dts: t2080rdb: add serial nodes Camelia Groza
2023-07-11 12:49 ` [PATCH 04/20] powerpc: dts: t2080rdb: tag serial nodes with bootph-all Camelia Groza
2023-07-11 12:49 ` [PATCH 05/20] configs: T2080RDB: enable DM_SERIAL Camelia Groza
2023-07-11 12:49 ` [PATCH 06/20] board: freescale: t4240rdb: enumerate PCI devices Camelia Groza
2023-07-11 12:49 ` [PATCH 07/20] board: freescale: t4240rdb: implement get_serial_clock Camelia Groza
2023-07-11 12:49 ` [PATCH 08/20] powerpc: dts: t4240rdb: add serial nodes Camelia Groza
2023-07-11 12:49 ` [PATCH 09/20] powerpc: dts: t4240rdb: tag serial nodes with bootph-all Camelia Groza
2023-07-11 12:49 ` [PATCH 10/20] configs: T4240RDB: enable DM_SERIAL Camelia Groza
2023-07-11 12:49 ` [PATCH 11/20] board: freescale: t104xrdb: enumerate PCI devices Camelia Groza
2023-07-11 12:49 ` [PATCH 12/20] board: freescale: t104xrdb: implement get_serial_clock Camelia Groza
2023-07-11 12:49 ` [PATCH 13/20] powerpc: dts: t1042d4rdb: add serial nodes Camelia Groza
2023-07-11 12:49 ` [PATCH 14/20] powerpc: dts: t1042d4rdb: tag serial nodes with bootph-all Camelia Groza
2023-07-11 12:49 ` [PATCH 15/20] configs: T1042D4RDB: enable DM_SERIAL Camelia Groza
2023-07-11 12:49 ` [PATCH 16/20] board: freescale: t102xrdb: enumerate PCI devices Camelia Groza
2023-07-11 12:49 ` [PATCH 17/20] board: freescale: t102xrdb: implement get_serial_clock Camelia Groza
2023-07-11 12:49 ` [PATCH 18/20] powerpc: dts: t1024rdb: add serial nodes Camelia Groza
2023-07-11 12:49 ` [PATCH 19/20] powerpc: dts: t1024rdb: tag serial nodes with bootph-all Camelia Groza
2023-07-11 12:49 ` [PATCH 20/20] configs: T1024RDB: enable DM_SERIAL Camelia Groza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1689077882.git.camelia.groza@nxp.com \
    --to=camelia.groza@nxp.com \
    --cc=peng.fan@oss.nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox