[PATCH v3 0/8] Add RZ/G3E GPT support

From: Biju

Date: Tue Sep 23 2025 - 10:45:28 EST


From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>

Add RZ/G3E GPT support. It has multiple clocks and resets compared to
RZ/G2L. Also prescale field width and factor for calculating prescale
are different.

This patch series depend upon[1]

[1]
https://lore.kernel.org/all/20250915163637.3572-1-biju.das.jz@xxxxxxxxxxxxxx/

v2->v3:
* Added Rb tag from Rob for bindings patch
* Dropped wave form callback conversion from this patch series as
it is covered in another series[1]
* Added suspend/resume support.
v1->v2:
* Created separate document for RZ/G3E GPT.
* Updated commit header and description for binding patch.
* Added waveform callback conversion to this series.
* Collected tag.
* Added link to hardware manual
* Updated limitation section in driver patch.

Biju Das (8):
dt-bindings: pwm: Document RZ/G3E GPT support
pwm: rzg2l-gpt: Add info variable to struct rzg2l_gpt_chip
pwm: rzg2l-gpt: Add prescale_pow_of_two_mult_factor variable to struct
rzg2l_gpt_info
pwm: rzg2l-gpt: Add calculate_prescale() callback to struct
rzg2l_gpt_info
pwm: rzg2l-gpt: Add RZ/G3E support
pwm: rzg2l-gpt: Add suspend/resume support
arm64: dts: renesas: r9a09g047: Add GPT nodes
arm64: dts: renesas: r9a09g047e57-smarc: Enable GPT on carrier board

.../bindings/pwm/renesas,rzg3e-gpt.yaml | 323 ++++++++++++++++++
arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 184 ++++++++++
.../boot/dts/renesas/r9a09g047e57-smarc.dts | 13 +
drivers/pwm/pwm-rzg2l-gpt.c | 209 ++++++++++--
4 files changed, 704 insertions(+), 25 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/renesas,rzg3e-gpt.yaml


base-commit: bf2602a3cb2381fb1a04bf1c39a290518d2538d1
--
2.43.0