[PATCH v2 0/8] Add RZ/G3E GPT support
From: Biju
Date: Tue Sep 09 2025 - 05:15:09 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.
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: Implementation of the waveform callbacks
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
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 | 268 ++++++++++-----
4 files changed, 705 insertions(+), 83 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/renesas,rzg3e-gpt.yaml
base-commit: 65dd046ef55861190ecde44c6d9fcde54b9fb77d
prerequisite-patch-id: 994e29857383f8aa61bdc53df997f6e28f5cb723
prerequisite-patch-id: 81a4395c1935f9cc757743c5de646bf17a1bcfa0
prerequisite-patch-id: 34306f03faabbe6a0c238225e748b1d76726fd2c
prerequisite-patch-id: fd30b02c03eb26ef5c899a999964b4011e8c2e8e
prerequisite-patch-id: 93a5224b3caedf84145f925131c583f31332bdde
prerequisite-patch-id: 12f1505eeca8d5d136d8eac74573f6d2bdffa153
--
2.43.0