u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Michael Walle <michael@walle.cc>
To: u-boot@lists.denx.de
Cc: Jagan Teki <jagan@amarulasolutions.com>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	Tom Rini <trini@konsulko.com>,
	Peter Griffin <peter.griffin@linaro.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
	Michael Walle <michael@walle.cc>
Subject: [PATCH v5 00/28] arm: dts: ls1028a: sync device tree with linux
Date: Wed, 13 Oct 2021 18:13:59 +0200	[thread overview]
Message-ID: <20211013161427.612033-1-michael@walle.cc> (raw)

This series sync the device tree of the LS1028A SoC with the linux one.
To ease future debugging and reviewing, we first clean up the existing one,
removing bogus nodes, moving all CCSR related nodes in /soc and update the
drivers to accept the offical compatible strings.

This was tested on a sl28 board, but the ls1028a.dtsi sync also affects the
LS1028A-RDB and -QDS. It would be nice if someone could actually test it on
such a board.

I didn't sync the device trees for the NXP boards because u-boot related
things aren't split into its own -u-boot.dtsi file. So I'll leave that task
to NXP :)

The following patch is a prerequisite for this series:
  https://patchwork.ozlabs.org/project/uboot/patch/20210825210510.24766-1-trini@konsulko.com/

changes since v4:
 - drop the following patch which isn't needed anymore, because it was
   fixed in the linux dtsi:
     arm: dts: ls1028a: drop non-removable property from esdhc controller
 - sync dtsi with linux 5.14.12

changes since v3:
 - rebase to latest master
 - don't support fsl,ls1028a-gpu anymore, use the upstream compatible
   string

changes since v2:
 - move the device tree nodes piece by piece and sort them to ease
   reviewing
 - fix PCI driver (bindings)
 - fix SATA driver (bindings)
 - fix USB driver (bindings)
 - split most changes which are caused by the sync of the linux
   device tree to own patches, eg. pcie io window, spi chip selects

The final diff for the sync is much nicer now ;)

changes since v1:
 - remove u-boot,dm-pre-reloc from rdb and qds boards
 - fix enetc0 and enetc2 labels

Michael Walle (28):
  armv8: ls1028a: use the official compatible string for the GPU
  arm: dts: ls1028a: remove /memory node
  arm: dts: ls1028a-{rdb,qds}: remove dm-pre-reloc property
  arm: dts: ls1028a: add an empty /soc
  arm: dts: ls1028a: move the clockgen node into /soc
  arm: dts: ls1028a: move I2C controller nodes into /soc
  arm: dts: ls1028a: move the FlexSPI controller node
  arm: dts: ls1028a: move the SPI and eSDHC controller nodes into /soc
  arm: dts: ls1028a: move the UART controller nodes into /soc
  arm: dts: ls1028a: move the low-power UART nodes into /soc
  arm: dts: ls1028a: move the GPIO controller nodes into /soc
  arm: dts: ls1028a: move SATA and USB controller nodes into /soc
  arm: dts: ls1028a: move the PCIe controller nodes into /soc
  arm: dts: ls1028a: move the watchdog node into /soc
  arm: dts: ls1028a: move the iRC node and its devices into /soc
  arm: dts: ls1028a: update the labels
  watchdog: sp805_wdt: use correct compatible string
  spi: fsl_dspi: add new compatible fsl,ls1021a-v1.0-dspi
  spi: fsl_dspi: rename num-cs to spi-num-chipselects
  serial: lpuart: add new compatible fsl,ls1028a-lpuart
  scsi: ceva: rename the resource name to match the linux kernel one
  usb: xhci: fsl: add new compatible fsl,ls1028a-dwc3
  pci: layerscape: add official ls1028a binding support
  arm: dts: ls1028a: remove num-lanes in the PCIe controller nodes
  arm: dts: ls1028a: move the PCI I/O window to match
  arm: dts: ls1028a: disable the PCIe controller by default
  arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux
  arm: dts: sl28: sync dtbs

 arch/arm/cpu/armv8/fsl-layerscape/fdt.c       |    2 +-
 .../arm/cpu/armv8/fsl-layerscape/ls1028_ids.c |    2 +-
 arch/arm/dts/fsl-ls1012a.dtsi                 |    4 +-
 .../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi  |   37 +-
 .../fsl-ls1028a-kontron-sl28-var1-u-boot.dtsi |    2 +-
 .../arm/dts/fsl-ls1028a-kontron-sl28-var1.dts |   31 +-
 .../fsl-ls1028a-kontron-sl28-var2-u-boot.dtsi |    8 +
 .../arm/dts/fsl-ls1028a-kontron-sl28-var2.dts |   46 +-
 .../fsl-ls1028a-kontron-sl28-var3-u-boot.dtsi |    2 +-
 .../fsl-ls1028a-kontron-sl28-var4-u-boot.dtsi |    4 +-
 .../arm/dts/fsl-ls1028a-kontron-sl28-var4.dts |   18 +-
 arch/arm/dts/fsl-ls1028a-kontron-sl28.dts     |  256 ++-
 .../dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi   |    4 +-
 .../dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi   |    4 +-
 .../dts/fsl-ls1028a-qds-7777-sch-30841.dtsi   |   12 +-
 .../dts/fsl-ls1028a-qds-7xx7-sch-30841R.dtsi  |    8 +-
 .../dts/fsl-ls1028a-qds-8xxx-sch-24801.dtsi   |    4 +-
 .../fsl-ls1028a-qds-9999-sch-24801-LBRW.dtsi  |   12 +-
 .../dts/fsl-ls1028a-qds-9999-sch-24801.dtsi   |   12 +-
 arch/arm/dts/fsl-ls1028a-qds-duart.dts        |    2 +-
 .../fsl-ls1028a-qds-x3xx-sch-30841-LBRW.dtsi  |   12 +-
 .../fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi  |   12 +-
 .../dts/fsl-ls1028a-qds-x7xx-sch-30842.dtsi   |    6 +-
 .../dts/fsl-ls1028a-qds-xx7x-sch-30842.dtsi   |    6 +-
 arch/arm/dts/fsl-ls1028a-qds.dtsi             |   25 +-
 arch/arm/dts/fsl-ls1028a-rdb.dts              |   31 +-
 arch/arm/dts/fsl-ls1028a.dtsi                 | 1443 ++++++++++++-----
 arch/arm/dts/fsl-ls1043a.dtsi                 |    6 +-
 arch/arm/dts/fsl-ls1046a.dtsi                 |    6 +-
 arch/arm/dts/fsl-ls1088a.dtsi                 |    4 +-
 arch/arm/dts/fsl-ls2080a.dtsi                 |    2 +-
 arch/arm/dts/fsl-lx2160a.dtsi                 |    6 +-
 arch/arm/dts/hi3660.dtsi                      |    4 +-
 arch/arm/dts/ls1021a.dtsi                     |    6 +-
 arch/arm/dts/vf.dtsi                          |    4 +-
 drivers/ata/sata_ceva.c                       |    2 +-
 drivers/pci/pcie_layerscape_rc.c              |   61 +-
 drivers/serial/serial_lpuart.c                |    2 +
 drivers/spi/fsl_dspi.c                        |    6 +-
 drivers/usb/host/xhci-fsl.c                   |    1 +
 drivers/watchdog/sp805_wdt.c                  |    2 +-
 .../dt-bindings/clock/fsl,qoriq-clockgen.h    |   15 +
 42 files changed, 1530 insertions(+), 602 deletions(-)
 create mode 100644 include/dt-bindings/clock/fsl,qoriq-clockgen.h

-- 
2.30.2


             reply	other threads:[~2021-10-13 16:14 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 16:13 Michael Walle [this message]
2021-10-13 16:14 ` [PATCH v5 01/28] armv8: ls1028a: use the official compatible string for the GPU Michael Walle
2021-10-13 16:14 ` [PATCH v5 02/28] arm: dts: ls1028a: remove /memory node Michael Walle
2021-10-13 16:14 ` [PATCH v5 03/28] arm: dts: ls1028a-{rdb, qds}: remove dm-pre-reloc property Michael Walle
2021-10-13 16:14 ` [PATCH v5 04/28] arm: dts: ls1028a: add an empty /soc Michael Walle
2021-10-13 16:14 ` [PATCH v5 05/28] arm: dts: ls1028a: move the clockgen node into /soc Michael Walle
2021-10-13 16:14 ` [PATCH v5 06/28] arm: dts: ls1028a: move I2C controller nodes " Michael Walle
2021-10-13 16:14 ` [PATCH v5 07/28] arm: dts: ls1028a: move the FlexSPI controller node Michael Walle
2021-10-13 16:14 ` [PATCH v5 08/28] arm: dts: ls1028a: move the SPI and eSDHC controller nodes into /soc Michael Walle
2021-10-13 16:14 ` [PATCH v5 09/28] arm: dts: ls1028a: move the UART " Michael Walle
2021-10-13 16:14 ` [PATCH v5 10/28] arm: dts: ls1028a: move the low-power UART " Michael Walle
2021-10-13 16:14 ` [PATCH v5 11/28] arm: dts: ls1028a: move the GPIO controller " Michael Walle
2021-10-13 16:14 ` [PATCH v5 12/28] arm: dts: ls1028a: move SATA and USB " Michael Walle
2021-10-13 16:14 ` [PATCH v5 13/28] arm: dts: ls1028a: move the PCIe " Michael Walle
2021-10-13 16:14 ` [PATCH v5 14/28] arm: dts: ls1028a: move the watchdog node " Michael Walle
2021-10-13 16:14 ` [PATCH v5 15/28] arm: dts: ls1028a: move the iRC node and its devices " Michael Walle
2021-10-13 16:14 ` [PATCH v5 16/28] arm: dts: ls1028a: update the labels Michael Walle
2021-10-13 16:14 ` [PATCH v5 17/28] watchdog: sp805_wdt: use correct compatible string Michael Walle
2021-10-13 16:14 ` [PATCH v5 18/28] spi: fsl_dspi: add new compatible fsl, ls1021a-v1.0-dspi Michael Walle
2021-10-13 16:14 ` [PATCH v5 19/28] spi: fsl_dspi: rename num-cs to spi-num-chipselects Michael Walle
2021-10-13 16:14 ` [PATCH v5 20/28] serial: lpuart: add new compatible fsl, ls1028a-lpuart Michael Walle
2021-10-13 16:14 ` [PATCH v5 21/28] scsi: ceva: rename the resource name to match the linux kernel one Michael Walle
2021-10-13 16:14 ` [PATCH v5 22/28] usb: xhci: fsl: add new compatible fsl,ls1028a-dwc3 Michael Walle
2021-10-13 16:14 ` [PATCH v5 23/28] pci: layerscape: add official ls1028a binding support Michael Walle
2021-10-31 13:26   ` Z.Q. Hou
2021-10-13 16:14 ` [PATCH v5 24/28] arm: dts: ls1028a: remove num-lanes in the PCIe controller nodes Michael Walle
2021-10-13 16:14 ` [PATCH v5 25/28] arm: dts: ls1028a: move the PCI I/O window to match Michael Walle
2021-10-13 16:14 ` [PATCH v5 26/28] arm: dts: ls1028a: disable the PCIe controller by default Michael Walle
2021-10-13 16:14 ` [PATCH v5 27/28] arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux Michael Walle
2021-10-13 16:14 ` [PATCH v5 28/28] arm: dts: sl28: sync dtbs Michael Walle
2021-11-10  8:47   ` Michael Walle
2021-11-10 21:33     ` Tom Rini
2021-11-11  4:46       ` Priyanka Jain (OSS)

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=20211013161427.612033-1-michael@walle.cc \
    --to=michael@walle.cc \
    --cc=jagan@amarulasolutions.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=peter.griffin@linaro.org \
    --cc=priyanka.jain@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vladimir.oltean@nxp.com \
    /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;
as well as URLs for NNTP newsgroup(s).