[PATCH v2 00/15] iio: adc: rzg2l_adc: Add support for RZ/G3S

From: Claudiu
Date: Fri Dec 06 2024 - 06:14:05 EST


From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>

Hi,

This series adds ADC support for the Renesas RZ/G3S SoC.

Series is organized as follows:
- patch 01/15: adds clocks, reset and power domain support
for ADC
- patches 02-07/15: cleanup patches to ease the addition of RZ/G3S
support
- patches 08/15: enables runtime PM autosuspend support
- patches 09-13/15: add RZ/G3S support, including suspend-to-RAM
functionality
- patches 14-15/15: add device tree support

Merge strategy, if any:
- patch 01/15 can go through the Renesas tree
- patches 02-13/15 can go through the IIO tree
- patch 14-15/15 can go through the Renesas tree

Thank you,
Claudiu Beznea

Changes in v2:
- added patch "iio: adc: rzg2l_adc: Convert dev_err() to dev_err_probe()"
as requested in the review process
- addressed review comments
- collected tags
- each patch includes a detailed description of its changes


Claudiu Beznea (15):
clk: renesas: r9a08g045: Add clocks, resets and power domain support
for the ADC IP
iio: adc: rzg2l_adc: Convert dev_err() to dev_err_probe()
iio: adc: rzg2l_adc: Use devres helpers to request pre-deasserted
reset controls
iio: adc: rzg2l_adc: Simplify the runtime PM code
iio: adc: rzg2l_adc: Switch to RUNTIME_PM_OPS() and pm_ptr()
iio: adc: rzg2l_adc: Use read_poll_timeout()
iio: adc: rzg2l_adc: Simplify the locking scheme in
rzg2l_adc_read_raw()
iio: adc: rzg2l_adc: Enable runtime PM autosuspend support
iio: adc: rzg2l_adc: Prepare for the addition of RZ/G3S support
iio: adc: rzg2l_adc: Add support for channel 8
iio: adc: rzg2l_adc: Add suspend/resume support
dt-bindings: iio: adc: renesas,rzg2l-adc: Document RZ/G3S SoC
iio: adc: rzg2l_adc: Add support for Renesas RZ/G3S
arm64: dts: renesas: r9a08g045: Add ADC node
arm64: dts: renesas: rzg3s-smarc-som: Enable ADC

.../bindings/iio/adc/renesas,rzg2l-adc.yaml | 37 +-
arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 53 +++
.../boot/dts/renesas/rzg3s-smarc-som.dtsi | 4 +
drivers/clk/renesas/r9a08g045-cpg.c | 7 +
drivers/iio/adc/rzg2l_adc.c | 423 ++++++++++--------
5 files changed, 316 insertions(+), 208 deletions(-)

--
2.39.2