[PATCH v2 0/3] Add RZ/G3L HS400 support
From: Biju Das
Date: Mon Nov 16 2026 - 13:52:54 EST
RZ/G3L SDHI IP support HS400 and HS400 ES mode. This patch
series aims to add support for HS400 mode. HS400 ES mode
support will be added later.
Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
---
Changes in v2:
- Added fixes tag for patch 1
- Using ios.timing to decide whether the HS400 divider restriction applies
is wrong: mmc_hs400_to_hs200() lowers the clock while ios.timing is still
HS400 and then walks through DDR52/HS/HS200 before prepare_hs400_tuning()
clears the HS400 bits, so the divider could stay at 200 MHz or prohibited
non-zero dividers could be programmed while HS400 is still enabled. So
tracking HS400 hardware state for RZ/G3L clock programming using 2
variables hs400_active and hs400_clk in struct renesas_sdhi.
- Link to v1: https://lore.kernel.org/r/20261116-sdhi_hs400-v1-0-c5bedd312408@xxxxxxxxxxxxxx
---
Biju Das (3):
mmc: renesas_sdhi: Save and restore IOVS across suspend/resume
mmc: renesas_sdhi: Make HS400 OSEL bit configurable per SoC
mmc: renesas_sdhi: Add RZ/G3L HS400 support
drivers/mmc/host/renesas_sdhi.h | 5 ++
drivers/mmc/host/renesas_sdhi_core.c | 95 +++++++++++++++++++++++++--
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 5 +-
include/linux/platform_data/tmio.h | 4 ++
4 files changed, 101 insertions(+), 8 deletions(-)
---
base-commit: 35dd24973da5e5810a6fae86c291293d11dc8022
change-id: 20261113-sdhi_hs400-5f08e5237291
Best regards,
--
Biju Das <biju.das.jz@xxxxxxxxxxxxxx>