RE: [PATCH RFC 0/2] regulator: raa215300: add support for configurable 32kHz clock output

From: Biju Das

Date: Sun May 03 2026 - 05:24:55 EST


Hi Josua Mayer,

> -----Original Message-----
> From: Josua Mayer <josua@xxxxxxxxxxxxx>
> Sent: 02 May 2026 17:07
> Subject: [PATCH RFC 0/2] regulator: raa215300: add support for configurable 32kHz clock output
>
> Add driver support and extend bindings for Renesas RAA215300 PMIC 32kHz clock output feature on pin
> MPIO2.


Snippet from hardware MANUAL [1]

Not sure, does it need to be part of a raa215300 pincontrol driver?

From [1] this clock generator depending up on the pinmux selection of
MPIO2?


[1]

000: Disabled
001: 32K_CLK
010: External VR PGood input
011: Input to I2C register
100: PGood output
101: Reset output
110: External VR EN output
111: Output from I2C output

32kHz Clock (32K_CLK)

Only MPIO2 supports this function. The function provides a driven clock signal output for external devices. The
clock frequency is programmable with a maximum setting of 32.768kHz, which is the RTC crystal oscillator
frequency. The RTC needs to be enabled by the RTC_EN bit to output this clock signal. If the user does not have
an external pull-up voltage, the MPIO2 needs to be configured as a Full CMOS output.
When this function is selected, the MPIO2 Power-Off Delay register Bits [3:0] are used to select the clock
frequency. In this case, Bits [6:0] in this register are no longer used as a power-off delay.

Cheers,
Biju


>
> Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx>
> ---
> Josua Mayer (2):
> regulator: dt-bindings: raa215300: add clock output
> regulator: raa215300: add support for configurable 32kHz clock output
>
> .../bindings/regulator/renesas,raa215300.yaml | 6 +
> drivers/regulator/raa215300.c | 132 +++++++++++++++++++++
> 2 files changed, 138 insertions(+)
> ---
> base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
> change-id: 20260502-raa215300-clkout-c3ed84024888
>
> Best regards,
> --
> Josua Mayer <josua@xxxxxxxxxxxxx>