mmc: socfpga_dw_mmc: Enable/disable SDMMC clock via API
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 9 Sep 2025 02:11:16 +0000 (19:11 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 30 Sep 2025 06:29:55 +0000 (14:29 +0800)
commitab27182cac8ff14621c73c6609aaf3036fab1c0a
treed1d237afc8324f0f13901d18d99a4523c6b8904d
parent190a339ae345c5653aca5557e713af6a9227f29e
mmc: socfpga_dw_mmc: Enable/disable SDMMC clock via API

Update the driver to enable or disable the SDMMC clock via
clock driver model API instead of doing it in the driver itself.

This allows for scalability of the driver for various SoCFPGA
devices.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
drivers/mmc/socfpga_dw_mmc.c