u-boot/drivers/mmc
Andre Przywara 0527f30672 sunxi: mmc: remove usage of struct sunxi_ccm_reg
The Allwinner MMC code uses a complex C struct, modelling the clock
device's register frame. We rely on sharing the member names across all
Allwinner SoCs, which is fragile.

Drop the usage of the struct in the MMC code, by using #define'd
register names and their offset, and then adding those names to the base
pointer. This requires to define those offsets for all SoCs, but since we
only use between four and six clock registers in the MMC code, this is
easily done.

This removes one common user of the clock register struct.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2025-04-28 12:45:44 -06:00
..
adi_sdhci.c mmc: Add support for ADI SC5XX-family processor SDHCI peripherals 2025-03-12 10:24:58 -06:00
am654_sdhci.c mmc: am654_sdhci: Add am654_sdhci_set_control_reg 2025-04-24 10:44:52 -06:00
arm_pl180_mmci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Enable HWFC for specific versions of MCI 2021-10-29 18:22:32 +09:00
aspeed_sdhci.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
atmel_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm2835_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm2835_sdhost.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcmstb_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ca_dw_mmc.c mmc: exynos_dw_mmc: Refactor fixed CIU clock divider 2024-08-19 16:09:06 +09:00
cv1800b_sdhci.c mmc: cv1800b: Add transmit tap delay config to fix write error 2024-05-01 22:40:08 +08:00
davinci_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
dw_mmc.c mmc: Allow controlling DM_MMC for VPL builds 2025-02-03 16:00:42 -06:00
exynos_dw_mmc.c mmc: exynos_dw_mmc: Improve coding style 2024-08-19 16:09:06 +09:00
f_sdh30.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fsl_esdhc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
fsl_esdhc_imx.c mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to Kconfig 2025-03-13 15:15:50 -03:00
fsl_esdhc_spl.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ftsdc010_mci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ftsdc010_mci.h mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
gen_atmel_mci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
hi6220_dw_mmc.c mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
iproc_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
jz_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig mmc: mediatek: permit to also build for Airoha arch 2025-04-16 16:51:45 -06:00
kona_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Makefile Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
meson_gx_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson_gx_mmc.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mmc-pwrseq.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc-uclass.c mmc: Add a new callback function to perform the 74 clocks cycle sequence 2025-04-23 10:41:11 +08:00
mmc.c mmc: Add a new callback function to perform the 74 clocks cycle sequence 2025-04-23 10:41:11 +08:00
mmc_boot.c mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing 2025-04-11 11:51:04 +08:00
mmc_bootdev.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc_legacy.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
mmc_private.h drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
mmc_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mmc_write.c mmc: Optimize eMMC erase speed 2025-04-11 11:48:53 +08:00
msm_sdhci.c mmc: msm_sdhci: Reset clocks before reconfiguration 2025-03-17 13:38:17 +00:00
mtk-sd.c mmc: mediatek: add support for MediaTek MT7987 SoCs 2025-01-30 14:35:14 -06:00
mv_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvebu_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mxcmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mxsmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nexell_dw_mmc.c mmc: dw_mmc: Replace fifoth_val property with fifo-depth 2024-08-19 16:09:06 +09:00
npcm_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
octeontx_hsmmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
octeontx_hsmmc.h treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
omap_hsmmc.c mmc: omap_hsmmc: implement send_init_stream callback 2025-04-23 10:41:11 +08:00
owl_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pci_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_sdhci.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
piton_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
renesas-sdhi.c mmc: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
rockchip_dw_mmc.c mmc: rockchip_dw_mmc: Add support for rk3576 2025-04-23 22:12:05 +08:00
rockchip_sdhci.c mmc: rockchip_sdhci: Add support for RK3576 2025-04-23 22:12:05 +08:00
rpmb.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
s5p_sdhci.c mmc: exynos_dw_mmc: Read common bus-width property 2024-08-19 16:09:06 +09:00
sandbox_mmc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sdhci-adma.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sdhci-cadence.c mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci-cadence.h mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci-cadence6.c mmc: sdhci-cadence: Add support for Cadence sdmmc v6 2024-09-05 16:18:38 -06:00
sdhci.c mmc: am654_sdhci: Add am654_sdhci_set_control_reg 2025-04-24 10:44:52 -06:00
sh_mmcif.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sh_mmcif.h ARM: renesas: Rename ARCH_RMOBILE to ARCH_RENESAS 2024-03-02 14:29:36 -05:00
snps_dw_mmc.c mmc: dw_mmc: Add "starfive, jh7110-mmc" compatible to match upstream DT 2024-12-18 13:19:15 +08:00
snps_sdhci.c mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC 2024-12-18 13:19:16 +08:00
socfpga_dw_mmc.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
sti_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stm32_sdmmc2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sunxi_mmc.c sunxi: mmc: remove usage of struct sunxi_ccm_reg 2025-04-28 12:45:44 -06:00
sunxi_mmc.h sunxi: mmc: Improve reset procedure 2025-03-27 00:26:35 +00:00
tangier_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tegra_mmc.c drivers: mmc: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
tmio-common.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
tmio-common.h mmc: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
uniphier-sd.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
xenon_sdhci.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
zynq_sdhci.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00