ARM: OMAP2+: Drop legacy platform data for omap5 hwmod
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:05:02 +0000 (14:05 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:05:02 +0000 (14:05 +0200)
We can now probe interconnects with simple-pm-bus and genpd.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap_hwmod.h
arch/arm/mach-omap2/omap_hwmod_54xx_data.c [deleted file]

index 4178c0ee46eba5a63ee33f8923ea431268a76ced..ac051435d8c009ae2a392079692cff716589457b 100644 (file)
@@ -54,7 +54,6 @@ config SOC_OMAP5
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_ARCH_TIMER
        select ARM_ERRATA_798181 if SMP
-       select OMAP_HWMOD
        select OMAP_INTERCONNECT
        select OMAP_INTERCONNECT_BARRIER
        select PM_OPP
index 9bcfb34a22064752372ad241b09f734733152fde..49c3d2d070725268ac05acd4653160463801e6b1 100644 (file)
@@ -208,7 +208,6 @@ obj-$(CONFIG_ARCH_OMAP3)            += omap_hwmod_2xxx_3xxx_ipblock_data.o
 obj-$(CONFIG_ARCH_OMAP3)               += omap_hwmod_3xxx_data.o
 obj-$(CONFIG_SOC_TI81XX)               += omap_hwmod_81xx_data.o
 obj-$(CONFIG_ARCH_OMAP4)               += omap_hwmod_44xx_data.o
-obj-$(CONFIG_SOC_OMAP5)                        += omap_hwmod_54xx_data.o
 obj-$(CONFIG_SOC_DRA7XX)               += omap_hwmod_7xx_data.o
 
 # OMAP2420 MSDI controller integration support ("MMC")
index 060ba6957b7c838cea5c3030c3f220b2cab08a1e..9bb0550c4a61be5ba69f199c108cf870d7ca5b2f 100644 (file)
@@ -643,8 +643,6 @@ void __init omap5_init_early(void)
        omap54xx_voltagedomains_init();
        omap54xx_powerdomains_init();
        omap54xx_clockdomains_init();
-       omap54xx_hwmod_init();
-       omap_hwmod_init_postsetup();
        omap_clk_soc_init = omap5xxx_dt_clk_init;
        omap_secure_init();
 }
index eebf2fdf434cde54b738ef6aa70e1fac14be4e37..a0835ab8452b7a593a3e1a9239ad0971bb8870c9 100644 (file)
@@ -671,7 +671,6 @@ extern int omap2420_hwmod_init(void);
 extern int omap2430_hwmod_init(void);
 extern int omap3xxx_hwmod_init(void);
 extern int omap44xx_hwmod_init(void);
-extern int omap54xx_hwmod_init(void);
 extern int am33xx_hwmod_init(void);
 extern int dm814x_hwmod_init(void);
 extern int dm816x_hwmod_init(void);
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
deleted file mode 100644 (file)
index 90aad36..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Hardware modules present on the OMAP54xx chips
- *
- * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com
- *
- * Paul Walmsley
- * Benoit Cousson
- *
- * This file is automatically generated from the OMAP hardware databases.
- * We respectfully ask that any modifications to this file be coordinated
- * with the public linux-omap@vger.kernel.org mailing list and the
- * authors above to ensure that the autogeneration scripts are kept
- * up-to-date with the file contents.
- */
-
-#include <linux/io.h>
-#include <linux/power/smartreflex.h>
-
-#include "omap_hwmod.h"
-#include "omap_hwmod_common_data.h"
-#include "cm1_54xx.h"
-#include "cm2_54xx.h"
-#include "prm54xx.h"
-
-/* Base offset for all OMAP5 interrupts external to MPUSS */
-#define OMAP54XX_IRQ_GIC_START 32
-
-static struct omap_hwmod_ocp_if *omap54xx_hwmod_ocp_ifs[] __initdata = {
-       NULL,
-};
-
-int __init omap54xx_hwmod_init(void)
-{
-       omap_hwmod_init();
-       return omap_hwmod_register_links(omap54xx_hwmod_ocp_ifs);
-}