Re: [PATCH v19 1/4] pinctrl: renesas: rzg2l: Add SD channel POC support for RZ/G3L
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-renesas-soc |
|---|---|
| Message-ID | <CAMuHMdXkj6E4pPCYbGGGGgL+Q57VuBf06B10Kyjkmd6yd4_jhg@mail.gmail.com> |
On Thu, 23 Jul 2026 at 17:41, Biju <[email protected]> wrote: > From: Biju Das <[email protected]> > > Add power-on control (POC) support for SD channels 1 and 2 on the RZ/G3L > SoC (r9a08g046). > > Introduce PIN_CFG_IO_VMC_SD2 capability flag (bit 22) and SD_CH2_POC > register offset (0x3024). Extend rzg2l_caps_to_pwr_reg() to return > SD_CH2_POC when PIN_CFG_IO_VMC_SD2 is set. > > Replace RZG3L_MPXED_PIN_FUNCS() with RZG2L_MPXED_COMMON_PIN_FUNCS() for > port PG and PH pins, dropping PIN_CFG_SOFT_PS which is inappropriate for > SD pins, and annotate them with PIN_CFG_IO_VMC_SD1 and PIN_CFG_IO_VMC_SD2 > respectively. > > Annotate all RZ/G3L SD0 dedicated pins (CLK, CMD, RST#, DS, DAT0–DAT7) > with PIN_CFG_IO_VMC_SD0 so that power-source register lookups work > correctly for those pins. > > Add sd_ch2 field to rzg2l_register_offsets and rzg2l_pinctrl_reg_cache to > save and restore the SD_CH2_POC register across suspend/resume cycles. > > Signed-off-by: Biju Das <[email protected]> > --- > v18->v19: > * No change. > v17->v18: > * Moved sd_ch2 variable near to sd_ch[]. Reviewed-by: Geert Uytterhoeven <[email protected]> i.e. will queue in renesas-pinctrl for v7.4. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds