linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/37] Add new Renesas RZ/G3S SoC and RZ/G3S SMARC EVK
@ 2023-09-12  4:51 Claudiu
  2023-09-12  4:51 ` [PATCH 01/37] dt-bindings: serial: renesas,scif: document r9a08g045 support Claudiu
                   ` (37 more replies)
  0 siblings, 38 replies; 118+ messages in thread
From: Claudiu @ 2023-09-12  4:51 UTC (permalink / raw)
  To: geert+renesas, mturquette, sboyd, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, ulf.hansson, linus.walleij, gregkh, jirislaby,
	magnus.damm, catalin.marinas, will, prabhakar.mahadev-lad.rj,
	biju.das.jz, quic_bjorande, arnd, konrad.dybcio, neil.armstrong,
	nfraprado, rafal, wsa+renesas
  Cc: linux-renesas-soc, linux-clk, devicetree, linux-kernel, linux-mmc,
	linux-gpio, linux-serial, linux-arm-kernel, Claudiu Beznea

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

This patch series adds initial support for The Renesas RZ/G3S (R9A08G045{S33})
SoC. The RZ/G3S device is a general-purpose microprocessor with a
single-core Arm® Cortex®-A55 (1.1GHz) and a dual-core Arm® Cortex®-M33 (250MHz),
perfect for an IOT gateway controller.

This includes:
- SoC identification;
- clocks (core clocks, pin controller clock, serial interface, SD ch0
  clock) and corresponding resets;
- minimal device tree for SoM and carrier boards.

With this series Linux can boot from eMMC or SD card. The eMMC and uSD
interface are multiplexed on the SoM; selection is made using a hardware
switch.

Patches are gouped as follows:
- 01-04 adds SoC identification support;
- 05	is a simple cleanup on SoC identification support
- 06-09	contain fixes on clock drivers identified while adding RZ/G3S
	support
- 10-14	clock cleanups identifies while adding support for RZ/G3S
- 15-22	clock changes needed by RZ/G3S
- 23-30	pinctrl changes needed by RZ/G3S
- 31	document SDHI for RZ/G3S
- 32-37 device tree support for RZ/G3S

Thank you,
Claudiu Beznea

Claudiu Beznea (37):
  dt-bindings: serial: renesas,scif: document r9a08g045 support
  dt-bindings: soc: renesas: document Renesas RZ/G3S SoC variants
  dt-bindings: soc: renesas: renesas,rzg2l-sysc: document RZ/G3S SoC
  soc: renesas: identify RZ/G3S SoC
  soc: renesas: remove blank lines
  clk: renesas: rzg2l: wait for status bit of SD mux before continuing
  clk: renesas: rzg2l: lock around writes to mux register
  clk: renesas: rzg2l: trust value returned by hardware
  clk: renesas: rzg2l: fix computation formula
  clk: renesas: rzg2l: use core->name for clock name
  clk: renesas: rzg2l: simplify a bit the logic in
    rzg2l_mod_clock_endisable()
  clk: renesas: rzg2l: reduce the critical area
  clk: renesas: rzg2l: use FIELD_GET() for PLL register fields
  clk: renesas: rzg2l: use u32 for flag and mux_flags
  clk: renesas: rzg2l: add support for RZ/G3S PLL
  clk: renesas: rzg2l: add struct clk_hw_data
  clk: renesas: rzg2l: remove CPG_SDHI_DSEL from generic header
  clk: renesas: rzg2l: refactor sd mux driver
  clk: renesas: rzg2l: add a divider clock for RZ/G3S
  dt-bindings: clock: renesas,rzg2l-cpg: document RZ/G3S SoC
  dt-bindings: clock: add r9a08g045 CPG clocks and resets definitions
  clk: renesas: add minimal boot support for RZ/G3S SoC
  pinctrl: renesas: rzg2l: index all registers based on port offset
  pinctrl: renesas: rzg2l: adapt for different SD/PWPR register offsets
  pinctrl: renesas: rzg2l: adapt function number for RZ/G3S
  pinctrl: renesas: rzg2l: move ds and oi to SoC specific configuration
  pinctrl: renesas: rzg2l: add support for different ds values on
    different groups
  pinctrl: renesas: rzg2l: make struct
    rzg2l_pinctrl_data::dedicated_pins constant
  dt-bindings: pinctrl: renesas: document RZ/G3S SoC
  pinctrl: renesas: rzg2l: add support for RZ/G3S SoC
  dt-bindings: mmc: renesas,sdhi: Document RZ/G3S support
  arm64: dts: renesas: add initial DTSI for RZ/G3S SoC
  arm64: dts: renesas: rzg3l-smarc-som: add initial support for RZ/G3S
    SMARC Carrier-II SoM
  arm64: dts: renesas: rzg3s-smarc: add initial device tree for RZ SMARC
    Carrier-II Board
  dt-bindings: arm: renesas: document SMARC Carrier-II EVK
  arm64: dts: renesas: r9a08g045s33-smarc: add initial device tree for
    RZ/G3S SMARC EVK board
  arm64: defconfig: enable RZ/G3S (R9A08G045) SoC

 .../bindings/clock/renesas,rzg2l-cpg.yaml     |   1 +
 .../devicetree/bindings/mmc/renesas,sdhi.yaml |   2 +
 .../pinctrl/renesas,rzg2l-pinctrl.yaml        |  26 +-
 .../bindings/serial/renesas,scif.yaml         |   1 +
 .../soc/renesas/renesas,rzg2l-sysc.yaml       |   1 +
 .../bindings/soc/renesas/renesas.yaml         |   8 +
 arch/arm64/boot/dts/renesas/Makefile          |   2 +
 arch/arm64/boot/dts/renesas/r9a08g045.dtsi    | 139 ++++
 .../boot/dts/renesas/r9a08g045s33-smarc.dts   |  17 +
 arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi |  14 +
 .../boot/dts/renesas/rzg3s-smarc-som.dtsi     | 147 ++++
 arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi  |  28 +
 arch/arm64/configs/defconfig                  |   1 +
 drivers/clk/renesas/Kconfig                   |   7 +-
 drivers/clk/renesas/Makefile                  |   1 +
 drivers/clk/renesas/r9a07g043-cpg.c           |  19 +-
 drivers/clk/renesas/r9a07g044-cpg.c           |  19 +-
 drivers/clk/renesas/r9a08g045-cpg.c           | 217 ++++++
 drivers/clk/renesas/rzg2l-cpg.c               | 495 ++++++++++--
 drivers/clk/renesas/rzg2l-cpg.h               |  39 +-
 drivers/pinctrl/renesas/pinctrl-rzg2l.c       | 728 ++++++++++++++----
 drivers/soc/renesas/Kconfig                   |   6 +
 drivers/soc/renesas/renesas-soc.c             |  15 +-
 include/dt-bindings/clock/r9a08g045-cpg.h     | 243 ++++++
 24 files changed, 1924 insertions(+), 252 deletions(-)
 create mode 100644 arch/arm64/boot/dts/renesas/r9a08g045.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
 create mode 100644 drivers/clk/renesas/r9a08g045-cpg.c
 create mode 100644 include/dt-bindings/clock/r9a08g045-cpg.h

-- 
2.39.2


^ permalink raw reply	[flat|nested] 118+ messages in thread

end of thread, other threads:[~2023-09-28  7:25 UTC | newest]

Thread overview: 118+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12  4:51 [PATCH 00/37] Add new Renesas RZ/G3S SoC and RZ/G3S SMARC EVK Claudiu
2023-09-12  4:51 ` [PATCH 01/37] dt-bindings: serial: renesas,scif: document r9a08g045 support Claudiu
2023-09-12 16:00   ` Rob Herring
2023-09-14  9:35   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 02/37] dt-bindings: soc: renesas: document Renesas RZ/G3S SoC variants Claudiu
2023-09-12 16:01   ` Rob Herring
2023-09-14  9:49   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 03/37] dt-bindings: soc: renesas: renesas,rzg2l-sysc: document RZ/G3S SoC Claudiu
2023-09-12 16:01   ` Rob Herring
2023-09-14  9:49   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 04/37] soc: renesas: identify " Claudiu
2023-09-14  9:49   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 05/37] soc: renesas: remove blank lines Claudiu
2023-09-14  9:49   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 06/37] clk: renesas: rzg2l: wait for status bit of SD mux before continuing Claudiu
2023-09-14 11:42   ` Geert Uytterhoeven
2023-09-15  5:35     ` claudiu beznea
2023-09-12  4:51 ` [PATCH 07/37] clk: renesas: rzg2l: lock around writes to mux register Claudiu
2023-09-14 12:13   ` Geert Uytterhoeven
2023-09-15  5:46     ` claudiu beznea
2023-09-12  4:51 ` [PATCH 08/37] clk: renesas: rzg2l: trust value returned by hardware Claudiu
2023-09-12 16:43   ` Sergey Shtylyov
2023-09-14 12:18     ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 09/37] clk: renesas: rzg2l: fix computation formula Claudiu
2023-09-14 12:55   ` Geert Uytterhoeven
2023-09-26 11:47     ` claudiu beznea
2023-09-26 14:44       ` Geert Uytterhoeven
2023-09-27  8:00         ` Geert Uytterhoeven
2023-09-28  4:55           ` claudiu beznea
2023-09-12  4:51 ` [PATCH 10/37] clk: renesas: rzg2l: use core->name for clock name Claudiu
2023-09-14 13:04   ` Geert Uytterhoeven
2023-09-15  5:47     ` claudiu beznea
2023-09-18  8:03       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 11/37] clk: renesas: rzg2l: simplify a bit the logic in rzg2l_mod_clock_endisable() Claudiu
2023-09-14 13:06   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 12/37] clk: renesas: rzg2l: reduce the critical area Claudiu
2023-09-14 13:12   ` Geert Uytterhoeven
2023-09-15  5:51     ` claudiu beznea
2023-09-15  7:05       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 13/37] clk: renesas: rzg2l: use FIELD_GET() for PLL register fields Claudiu
2023-09-14 13:19   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 14/37] clk: renesas: rzg2l: use u32 for flag and mux_flags Claudiu
2023-09-14 13:29   ` Geert Uytterhoeven
2023-09-18  8:03     ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 15/37] clk: renesas: rzg2l: add support for RZ/G3S PLL Claudiu
2023-09-14 13:58   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 16/37] clk: renesas: rzg2l: add struct clk_hw_data Claudiu
2023-09-14 15:17   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 17/37] clk: renesas: rzg2l: remove CPG_SDHI_DSEL from generic header Claudiu
2023-09-14 15:18   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 18/37] clk: renesas: rzg2l: refactor sd mux driver Claudiu
2023-09-14 15:18   ` Geert Uytterhoeven
2023-09-15  7:30     ` claudiu beznea
2023-09-15  8:06       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 19/37] clk: renesas: rzg2l: add a divider clock for RZ/G3S Claudiu
2023-09-12  4:51 ` [PATCH 20/37] dt-bindings: clock: renesas,rzg2l-cpg: document RZ/G3S SoC Claudiu
2023-09-12 16:02   ` Rob Herring
2023-09-15 11:58   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 21/37] dt-bindings: clock: add r9a08g045 CPG clocks and resets definitions Claudiu
2023-09-12 16:03   ` Rob Herring
2023-09-14 15:26     ` Geert Uytterhoeven
2023-09-15  7:24       ` Krzysztof Kozlowski
2023-09-15  7:38         ` Geert Uytterhoeven
2023-09-15  7:42           ` Krzysztof Kozlowski
2023-09-15 11:59   ` Geert Uytterhoeven
2023-09-28  4:54     ` claudiu beznea
2023-09-28  7:25       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 22/37] clk: renesas: add minimal boot support for RZ/G3S SoC Claudiu
2023-09-15 12:52   ` Geert Uytterhoeven
2023-09-18  6:20     ` claudiu beznea
2023-09-18  7:00       ` Geert Uytterhoeven
2023-09-18  7:50     ` claudiu beznea
2023-09-18  9:05       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 23/37] pinctrl: renesas: rzg2l: index all registers based on port offset Claudiu
2023-09-20 13:20   ` Geert Uytterhoeven
2023-09-20 13:43     ` Lad, Prabhakar
2023-09-12  4:51 ` [PATCH 24/37] pinctrl: renesas: rzg2l: adapt for different SD, PWPR register offsets Claudiu
2023-09-21 12:07   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 25/37] pinctrl: renesas: rzg2l: adapt function number for RZ/G3S Claudiu
2023-09-21 12:51   ` Geert Uytterhoeven
2023-09-26  9:55     ` claudiu beznea
2023-09-26 14:23       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 26/37] pinctrl: renesas: rzg2l: move ds and oi to SoC specific configuration Claudiu
2023-09-21 12:54   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 27/37] pinctrl: renesas: rzg2l: add support for different ds values on different groups Claudiu
2023-09-21 13:07   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 28/37] pinctrl: renesas: rzg2l: make struct rzg2l_pinctrl_data::dedicated_pins constant Claudiu
2023-09-21 13:08   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 29/37] dt-bindings: pinctrl: renesas: document RZ/G3S SoC Claudiu
2023-09-12 16:13   ` Rob Herring
2023-09-21 15:00   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 30/37] pinctrl: renesas: rzg2l: add support for " Claudiu
2023-09-21 14:58   ` Geert Uytterhoeven
2023-09-26 10:58     ` claudiu beznea
2023-09-26 14:29       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 31/37] dt-bindings: mmc: renesas,sdhi: Document RZ/G3S support Claudiu
2023-09-12 16:13   ` Rob Herring
2023-09-14 14:47   ` Ulf Hansson
2023-09-14 15:35   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 32/37] arm64: dts: renesas: add initial DTSI for RZ/G3S SoC Claudiu
2023-09-15 13:17   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 33/37] arm64: dts: renesas: rzg3l-smarc-som: add initial support for RZ/G3S SMARC Carrier-II SoM Claudiu
2023-09-15 14:28   ` Geert Uytterhoeven
2023-09-18  6:02     ` claudiu beznea
2023-09-12  4:51 ` [PATCH 34/37] arm64: dts: renesas: rzg3s-smarc: add initial device tree for RZ SMARC Carrier-II board Claudiu
2023-09-15 14:32   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 35/37] dt-bindings: arm: renesas: document SMARC Carrier-II EVK Claudiu
2023-09-12 16:16   ` Rob Herring
2023-09-13  5:32     ` claudiu beznea
2023-09-13 15:16       ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 36/37] arm64: dts: renesas: r9a08g045s33-smarc: add initial device tree for RZ/G3S SMARC EVK board Claudiu
2023-09-21 15:02   ` Geert Uytterhoeven
2023-09-12  4:51 ` [PATCH 37/37] arm64: defconfig: enable RZ/G3S (R9A08G045) SoC Claudiu
2023-09-15 14:34   ` Geert Uytterhoeven
2023-09-12  8:55 ` [PATCH 00/37] Add new Renesas RZ/G3S SoC and RZ/G3S SMARC EVK Linus Walleij
2023-09-12  9:03   ` Geert Uytterhoeven
2023-09-12  9:05     ` Linus Walleij
2023-09-13  5:40       ` claudiu beznea

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).