[PATCH 00/11] arm64: renesas: r8a78000: Add PWM support

Geert Uytterhoeven geert+renesas at glider.be
Mon Oct 26 07:55:16 PDT 2026


	Hi all,

This patch series enables PWM support for the Renesas R-Car X5H SoC, as
found on the Renesas Ironhide development board.  On this board, clocks,
power-domains, and resets must be accessed only through SCMI firmware.

Just like its GPIO counterpart[1], this series is a bit special, in that
several patches are not meant to be applied upstream yet:
  1. The first patch, targeting the PWM tree, documents support for the
     16-Bit Timer Pulse Unit (TPU) on R-Car X5H; no driver changes are
     needed,
  2. Patches 2-6, targeting the PWM tree too, document and add support
     for the PWM instances on R-Car X5H, after a few customary
     refactorings,
  3. Patch 7, targeting a shared DT bindings branch, adds PWM clock
     definitions,
  4. Patch 8, targeting renesas-devel, adds the various PWM device nodes
     to the R-Car X5H .dtsi file,
  5. The remaining patches are marked DNI, and depend on code or DTS
     that is not yet upstream.  More detail can be found in the
     individual patches.

PWM instances 0 to 5 and TPU channels 0 and 1 have been tested on
Ironhide using a set of blinkenlights and a logic analyzer.

Thanks for your comments!

[1] "[PATCH 0/7] arm64: renesas: r8a78000: Enable GPIO support"
    https://lore.kernel.org/cover.1792776697.git.geert+renesas@glider.be

Geert Uytterhoeven (10):
  dt-bindings: pwm: renesas,pwm-rcar: Add support for R-Car X5H
  pwm: rcar: Use FIELD_PREP() for PWMCR_CC0 access
  pwm: rcar: Add helper variable dev to rcar_pwm_probe()
  pwm: rcar: Parametrize cycle counter field size
  pwm: rcar: Add support for R-Car Gen5
  dt-bindings: clock: renesas,r8a78000-cpg: Add PWM clocks
  arm64: dts: renesas: r8a78000: Add PWM nodes
  [DNI] clk: renesas: r8a78000: Add PWM clocks
  [DNI] pmdomain: renesas: r8a78000: Add PWM support
  [DNI] arm64: dts: renesas: ironhide: Enable PWM

Khanh Le (1):
  dt-bindings: pwm: renesas,tpu-pwm: Add support for R-Car X5H

 .../bindings/pwm/renesas,pwm-rcar.yaml        |  61 +++++----
 .../bindings/pwm/renesas,tpu-pwm.yaml         |   1 +
 .../boot/dts/renesas/r8a78000-ironhide.dts    |  84 ++++++++++++
 arch/arm64/boot/dts/renesas/r8a78000.dtsi     | 121 ++++++++++++++++++
 drivers/clk/renesas/r8a78000-cpg.c            |   6 +
 drivers/pmdomain/renesas/r8a78000-mdlc.c      |   2 +
 drivers/pwm/pwm-rcar.c                        |  92 ++++++++-----
 .../dt-bindings/clock/renesas,r8a78000-cpg.h  |   3 +
 8 files changed, 312 insertions(+), 58 deletions(-)

-- 
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



More information about the linux-arm-kernel mailing list