[PATCH 0/8] Support SD/SDIO controllers on RK3528

Yao Zi
2025-03-01T10:45:14Z

RK3528 features two SDIO controllers and one SD/MMC controller. This
series adds essential support for their tuning clocks, document the
controller in dt-bindings and bring the SD/MMC one up on Radxa E20C
board with pinctrl set up by the previous bootloader. Both HS and SDR104
mode are verified.

Yao Zi (8):
dt-bindings: soc: rockchip: Add RK3528 VO GRF syscon
dt-bindings: soc: rockchip: Add RK3528 VPU GRF syscon
dt-bindings: mmc: rockchip-dw-mshc: Add compatible string for RK3528
dt-bindings: clock: Add GRF clock definition for RK3528
clk: rockchip: Support MMC clocks in GRF region
clk: rockchip: rk3528: Add SD/SDIO tuning clocks in GRF region
arm64: dts: rockchip: Add SDMMC/SDIO controllers for RK3528
arm64: dts: rockchip: Enable SD-card interface on Radxa E20C

.../bindings/mmc/rockchip-dw-mshc.yaml | 1 +
.../devicetree/bindings/soc/rockchip/grf.yaml | 2 +
.../boot/dts/rockchip/rk3528-radxa-e20c.dts | 14 +++++
arch/arm64/boot/dts/rockchip/rk3528.dtsi | 62 +++++++++++++++++++
drivers/clk/rockchip/clk-mmc-phase.c | 24 +++++--
drivers/clk/rockchip/clk-rk3528.c | 56 +++++++++++++++--
drivers/clk/rockchip/clk.c | 42 +++++++++++++
drivers/clk/rockchip/clk.h | 23 ++++++-
.../dt-bindings/clock/rockchip,rk3528-cru.h | 6 ++
9 files changed, 220 insertions(+), 10 deletions(-)

--
2.48.1