All of lore.kernel.org
 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 v4 20/29] serial: lpuart: add new compatible fsl, ls1028a-lpuart
Date: Tue,  5 Oct 2021 10:38:03 +0200	[thread overview]
Message-ID: <20211005083812.1311465-21-michael@walle.cc> (raw)
In-Reply-To: <20211005083812.1311465-1-michael@walle.cc>

The official ls1028a binding of the driver uses the following as
compatibles:
  compatible = "fsl,ls1028a-lpuart";

Add the missing compatible to the driver and update the device tree.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 arch/arm/dts/fsl-ls1028a.dtsi  | 18 ++++++------------
 drivers/serial/serial_lpuart.c |  2 ++
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 7da32561a4..cf381a0856 100644
--- a/arch/arm/dts/fsl-ls1028a.dtsi
+++ b/arch/arm/dts/fsl-ls1028a.dtsi
@@ -232,62 +232,56 @@
 		};
 
 		lpuart0: serial@2260000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x2260000 0x0 0x1000>;
 			interrupts = <0 232 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
 		lpuart1: serial@2270000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x2270000 0x0 0x1000>;
 			interrupts = <0 233 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
 		lpuart2: serial@2280000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x2280000 0x0 0x1000>;
 			interrupts = <0 234 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
 		lpuart3: serial@2290000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x2290000 0x0 0x1000>;
 			interrupts = <0 235 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
 		lpuart4: serial@22a0000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x22a0000 0x0 0x1000>;
 			interrupts = <0 236 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
 		lpuart5: serial@22b0000 {
-			compatible = "fsl,ls1021a-lpuart";
+			compatible = "fsl,ls1028a-lpuart";
 			reg = <0x0 0x22b0000 0x0 0x1000>;
 			interrupts = <0 237 0x4>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
-			little-endian;
 			status = "disabled";
 		};
 
diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c
index 2b473d70f6..3c9a69598a 100644
--- a/drivers/serial/serial_lpuart.c
+++ b/drivers/serial/serial_lpuart.c
@@ -553,6 +553,8 @@ static const struct dm_serial_ops lpuart_serial_ops = {
 static const struct udevice_id lpuart_serial_ids[] = {
 	{ .compatible = "fsl,ls1021a-lpuart", .data =
 		LPUART_FLAG_REGMAP_32BIT_REG | LPUART_FLAG_REGMAP_ENDIAN_BIG },
+	{ .compatible = "fsl,ls1028a-lpuart",
+		.data = LPUART_FLAG_REGMAP_32BIT_REG },
 	{ .compatible = "fsl,imx7ulp-lpuart",
 		.data = LPUART_FLAG_REGMAP_32BIT_REG },
 	{ .compatible = "fsl,vf610-lpuart"},
-- 
2.30.2


  parent reply	other threads:[~2021-10-05  8:42 UTC|newest]

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

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=20211005083812.1311465-21-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.