[PATCH v5 0/3] Add SD/MMC support for Renesas RZ/V2H(P) SoC

From: Prabhakar
Date: Wed Jul 24 2024 - 14:23:00 EST


From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Hi All,

This patch series aims to add SD/MMC support for Renesas RZ/V2H(P) SoC.

v4->v5
- Since the SDxIOVS and SDxPWEN pins can always be used as GPIO pins on
the RZ/V2H(P) SoC dropped adding regulator support.

v3->v4
- Dropped 'renesas,sdhi-use-internal-regulator' property
- Defined vqmmc-regulator in top level
- For special handling of internal regulator now using of_device_is_available()
- Fixed comments from Claudiu
- Rebased patch on top of https://patchwork.kernel.org/project/linux-renesas-soc/patch/20240626085015.32171-2-wsa+renesas@xxxxxxxxxxxxxxxxxxxx/

v2->v3
- Renamed vqmmc-r9a09g057-regulator object to vqmmc-regulator
- Added regulator-compatible property for vqmmc-regulator
- Added 'renesas,sdhi-use-internal-regulator' DT property
- Included RB tags for patch 2/3
- Moved regulator info to renesas_sdhi_of_data instead of quirks
- Added support to configure the init state of regulator
- Added function pointers to configure regulator
- Added REGULATOR_CHANGE_VOLTAGE mask

v1->v2
- Dropped regulator core API changes
- Updated DT binding
- Now controlling PWEN bit via regulator api

v1: https://patchwork.kernel.org/project/linux-renesas-soc/cover/20240605074936.578687-1-prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx/

Cheers,
Prabhakar

Lad Prabhakar (3):
dt-bindings: mmc: renesas,sdhi: Document RZ/V2H(P) support
mmc: tmio: Use MMC core APIs to control the vqmmc regulator
mmc: renesas_sdhi: Add RZ/V2H(P) compatible string

Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml | 2 ++
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
drivers/mmc/host/tmio_mmc_core.c | 7 +++----
3 files changed, 6 insertions(+), 4 deletions(-)

--
2.34.1