mmc: socfpga_dw_mmc: Restore legacy clkmgr address retrieval
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 25 Nov 2025 08:13:12 +0000 (00:13 -0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 1 Dec 2025 06:30:31 +0000 (14:30 +0800)
commita2bd59f7c38b1b7729b022f608f7527e1f69ae89
tree41bd270a702894e8927cb85362279c6d15f4910b
parent83d157e0362260974b3ed0da14a7c011fdb3768a
mmc: socfpga_dw_mmc: Restore legacy clkmgr address retrieval

Restore legacy implementation of retrieving clkmgr base address from
mach-socfpga/misc.c driver for our legacy devices.

Excluding Agilex7/7M from this implementation as these devices' clock
driver is already following clock driver model and is supporting
enable/disable APIs.

The legacy devices' clock driver will have to be refactored to support
driver model which enables us to support enable/disable APIs for these
devices.

Fixes: ab27182cac8f ("mmc: socfpga_dw_mmc: Enable/disable SDMMC clock via API")

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