From: Judith Mendez <jm@ti.com>
To: Judith Mendez <jm@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Nishanth Menon <nm@ti.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Bin Liu <b-liu@ti.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Andrew Davis <afd@ti.com>, <linux-kernel@vger.kernel.org>,
<linux-serial@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH 0/7] Introduce PRU UART driver
Date: Tue, 13 May 2025 16:59:27 -0500 [thread overview]
Message-ID: <20250513215934.933807-1-jm@ti.com> (raw)
The PRU_ICSSG subsystems in am64x SoC, the PRU subsystem in am62 SoC, and
PRU_ICSS subsystem in am335x SoC include a UART sub-module. This patch
series introduces the driver and the corresponding binding documentation
for this UART sub-module.
The DTS patches for adding PRU UART nodes and enabling PRU UART is added
in this v1 version, but marked as DONOTMERGE since the patches only add
context to this series.
This driver version has been tested on the following boards: am64x SK and
am62x SK.
The RFC version of this driver has been previously tested on am335x SK as
well. DTS patches for enabling PRU UART for am335x SK will be sent as a
separate series once this series is merged.
Changes since RFC:
- Add DTS patches 3-6
- Fix include list
- Switch to platform_get_resource & uart_read_port_properties
- Remove custom speed hack in pruss8250_get_divisor
- Use port->serial_out functions provided by core driver instead of
local writel() functions
- Switch to UPIO_MEM32 since largest UART register is 18 bits in length
- Cleanup whitspace, comments, variable/structure names, error paths
and GPL licensing
Link to RFC:
https://lore.kernel.org/all/20250501003113.1609342-1-jm@ti.com/
Bin Liu (2):
dt-bindings: serial: add binding documentation for TI PRUSS UART
serial: 8250: Add PRUSS UART driver
Judith Mendez (5):
dt-bindings: soc: ti: pruss: Add documentation for PRU UART support
DONOTMERGE: arm64: dts: ti: k3-am64-main: Add PRU UART nodes
DONOTMERGE: arm64: dts: ti: k3-am642-sk: Enable PRU UART
DONOTMERGE: arm64: dts: ti: k3-am62-main: Add PRU UART node
DONOTMERGE: arm64: dts: ti: k3-am62x-sk: Enable PRU UART
.../bindings/serial/ti,pruss-uart.yaml | 54 ++++++
.../devicetree/bindings/soc/ti/ti,pruss.yaml | 7 +
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 +
.../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 14 ++
arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 18 ++
arch/arm64/boot/dts/ti/k3-am642-sk.dts | 16 ++
drivers/tty/serial/8250/8250_pruss.c | 178 ++++++++++++++++++
drivers/tty/serial/8250/Kconfig | 11 ++
drivers/tty/serial/8250/Makefile | 1 +
9 files changed, 308 insertions(+)
create mode 100644 Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
create mode 100644 drivers/tty/serial/8250/8250_pruss.c
base-commit: edef457004774e598fc4c1b7d1d4f0bcd9d0bb30
--
2.49.0
next reply other threads:[~2025-05-13 22:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-13 21:59 Judith Mendez [this message]
2025-05-13 21:59 ` [PATCH 1/7] dt-bindings: serial: add binding documentation for TI PRUSS UART Judith Mendez
2025-05-14 12:33 ` Krzysztof Kozlowski
2025-05-13 21:59 ` [PATCH 2/7] dt-bindings: soc: ti: pruss: Add documentation for PRU UART support Judith Mendez
2025-05-14 12:35 ` Krzysztof Kozlowski
2025-05-16 22:33 ` Judith Mendez
2025-05-13 21:59 ` [PATCH 3/7] serial: 8250: Add PRUSS UART driver Judith Mendez
2025-05-14 7:36 ` Greg Kroah-Hartman
2025-05-16 22:36 ` Judith Mendez
2025-05-14 12:21 ` Andy Shevchenko
2025-05-13 21:59 ` [PATCH 4/7] DONOTMERGE: arm64: dts: ti: k3-am64-main: Add PRU UART nodes Judith Mendez
2025-05-13 21:59 ` [PATCH 5/7] DONOTMERGE: arm64: dts: ti: k3-am642-sk: Enable PRU UART Judith Mendez
2025-05-13 21:59 ` [PATCH 6/7] DONOTMERGE: arm64: dts: ti: k3-am62-main: Add PRU UART node Judith Mendez
2025-05-13 21:59 ` [PATCH 7/7] DONOTMERGE: arm64: dts: ti: k3-am62x-sk: Enable PRU UART Judith Mendez
2025-05-14 7:35 ` [PATCH 0/7] Introduce PRU UART driver Greg Kroah-Hartman
2025-05-14 12:30 ` Krzysztof Kozlowski
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=20250513215934.933807-1-jm@ti.com \
--to=jm@ti.com \
--cc=afd@ti.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=b-liu@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=ssantosh@kernel.org \
--cc=vigneshr@ti.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