[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251208152133.269316-1-biju.das.jz@bp.renesas.com>
Date: Mon, 8 Dec 2025 15:21:17 +0000
From: Biju <biju.das.au@...il.com>
To: Uwe Kleine-König <ukleinek@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>
Cc: Biju Das <biju.das.jz@...renesas.com>,
linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-renesas-soc@...r.kernel.org,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>,
Biju Das <biju.das.au@...il.com>
Subject: [PATCH v4 0/9] Add RZ/G3E GPT support
From: Biju Das <biju.das.jz@...renesas.com>
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.
v3->v4:
* Added wave form callback conversion back to this patch series.
* Updated rzg2l_gpt_is_ch_enabled() fit into 80-character limit for
consistency with other functions.
* Dropped field_{get,prep} as mainline now support it.
* Updated commit description for patch#3
* Retained RZG2L_GTCR_TPCS bit definitons
* Replaced gtcr_tpcs_mask->gtcr_tpcs
* Updated commit header and description for patch#4
* Renamed prescale_pow_of_two_mult_factor->prescale_mult
* Added RZG3E_GTCR_TPCS bit definition for RZ/G3E and added to
rzg3e_data.
* Added error checks on suspend() and device set to operational state
on failure().
* Added Rb tag from Geert for SoC dtsi.
* Added SW_GPIO9_CAN1_STB check to gpt0 node.
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 (9):
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_mult 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 | 392 +++++++++++++-----
4 files changed, 819 insertions(+), 93 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/renesas,rzg3e-gpt.yaml
base-commit: 82bcd04d124a4d84580ea4a8ba6b120db5f512e7
--
2.43.0
Powered by blists - more mailing lists