[PATCH v4 0/4] Add support for the rest of Renesas RZ/G3S serial interfaces

From: Claudiu
Date: Mon Jan 20 2025 - 08:09:59 EST


From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>

Hi,

The Renesas RZ/G3S SoC has 6 serial interfaces. One of them is used
as debug console (and it is already enabled in the current code base).
Series adds support for the remaining ones.

Patches:
- 01/04 - extends suspend to RAM support on the serial driver for
the RZ/G3S SoC
- 02-04/04 - add device tree support

Merge strategy, if any:
- patch 01/04 can go through the serial tree
- patches 02-04/04 can go through the Renesas tree

Thank you,
Claudiu Beznea

Changes in v4:
- dropped fixes and clock patches as they were applied independently
- dropped DT patches that were already applied
- addressed review comments

Changes in v3:
- in patch "serial: sh-sci: Check if TX data was written to device in
.tx_empty()":
-- check the status of the DMA transaction in tx_empty()
-- changed the variable name that tracks if TX occurred

Changes in v2:
- drop patch "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
from v1 as it was already applied
- used bool instead of atomic_t in patch
"serial: sh-sci: Check if TX data was written to device in .tx_empty()"


Claudiu Beznea (4):
serial: sh-sci: Update the suspend/resume support
arm64: dts: renesas: rzg3s-smarc-switches: Add a header to describe
different switches
arm64: dts: renesas: rzg3s-smarc: Enable SCIF3
arm64: dts: renesas: r9a08g045s33-smarc-pmod: Add overlay for SCIF1

arch/arm64/boot/dts/renesas/Makefile | 3 ++
.../r9a08g045s33-smarc-pmod1-type-3a.dtso | 48 +++++++++++++++++
.../boot/dts/renesas/rzg3s-smarc-som.dtsi | 20 +------
.../boot/dts/renesas/rzg3s-smarc-switches.h | 40 ++++++++++++++
arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi | 13 +++++
drivers/tty/serial/sh-sci.c | 53 +++++++++++++++----
6 files changed, 149 insertions(+), 28 deletions(-)
create mode 100644 arch/arm64/boot/dts/renesas/r9a08g045s33-smarc-pmod1-type-3a.dtso
create mode 100644 arch/arm64/boot/dts/renesas/rzg3s-smarc-switches.h

--
2.43.0