arm64: renesas: r8a78000: Add PWM support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | dt-bindings: pwm: renesas,tpu-pwm: Add support for R-Car X5HDocumentation/ | +1 | 1 reply | |
| 2/11 | dt-bindings: pwm: renesas,pwm-rcar: Add support for R-Car X5HDocumentation/ | +33 | 1 reply | |
| 3/11 | pwm: rcar: Use FIELD_PREP() for PWMCR_CC0 accessdrivers/ | +2 | 0 replies | |
| 4/11 | pwm: rcar: Add helper variable dev to rcar_pwm_probe()drivers/ | +8 | 0 replies | |
| 5/11 | pwm: rcar: Parametrize cycle counter field sizedrivers/ | +33 | 0 replies | |
| 6/11 | pwm: rcar: Add support for R-Car Gen5drivers/ | +22 | 0 replies | |
| 7/11 | dt-bindings: clock: renesas,r8a78000-cpg: Add PWM clocksinclude/ | +3 | 11 replies | |
| 8/11 | arm64: dts: renesas: r8a78000: Add PWM nodesarch/ | +121 | 0 replies | |
| 9/11 | clk: renesas: r8a78000: Add PWM clocksdrivers/ | +6 | 0 replies | |
| 10/11 | pmdomain: renesas: r8a78000: Add PWM supportdrivers/ | +2 | 0 replies | |
| 11/11 | arm64: dts: renesas: ironhide: Enable PWMarch/ | +84 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/11 | A-b |
| 2/11 | R-b |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | A-b |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] arm64: renesas: r8a78000: Add PWM support
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/[email protected]
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(-)
Signature · 12 lines
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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