[PATCH v3 5/9] ARM: OMAP2+: ti816x: Remove mmc1 hwmod
Ettore Chimenti
ettore.chimenti at linaro.org
Mon Nov 2 11:52:51 PST 2026
Removing TI Sitara DM816x deprecated hwmod for mmc1 in favour of
ti-sysc implementation. Tested on DM8168-EVM.
Tested-by: Andrew Goodbody <andrew.goodbody at linaro.org>
Signed-off-by: Ettore Chimenti <ettore.chimenti at linaro.org>
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
index 9b5c728fb7da..bdd04fed8034 100644
--- a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
@@ -989,30 +989,6 @@ static struct omap_hwmod_ocp_if dm814x_alwon_l3_med__mmc3 = {
.user = OCP_USER_MPU,
};
-static struct omap_hwmod dm816x_mmc1_hwmod = {
- .name = "mmc1",
- .clkdm_name = "alwon_l3s_clkdm",
- .opt_clks = dm81xx_mmc_opt_clks,
- .opt_clks_cnt = ARRAY_SIZE(dm81xx_mmc_opt_clks),
- .main_clk = "sysclk10_ck",
- .prcm = {
- .omap4 = {
- .clkctrl_offs = DM816X_CM_ALWON_SDIO_CLKCTRL,
- .modulemode = MODULEMODE_SWCTRL,
- },
- },
- .dev_attr = &mmc_dev_attr,
- .class = &dm81xx_mmc_class,
-};
-
-static struct omap_hwmod_ocp_if dm816x_l4_ls__mmc1 = {
- .master = &dm81xx_l4_ls_hwmod,
- .slave = &dm816x_mmc1_hwmod,
- .clk = "sysclk6_ck",
- .user = OCP_USER_MPU,
- .flags = OMAP_FIREWALL_L4
-};
-
static struct omap_hwmod_class_sysconfig dm816x_mcspi_sysc = {
.rev_offs = 0x0,
.sysc_offs = 0x110,
@@ -1236,7 +1212,6 @@ static struct omap_hwmod_ocp_if *dm816x_hwmod_ocp_ifs[] __initdata = {
&dm81xx_l4_ls__gpio2,
&dm81xx_l4_ls__elm,
&ti81xx_l4_ls__rtc,
- &dm816x_l4_ls__mmc1,
&dm816x_l4_ls__timer3,
&dm816x_l4_ls__timer4,
&dm816x_l4_ls__timer5,
--
2.56.0
More information about the linux-arm-kernel
mailing list