mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 18:27:13 +07:00
ARM: OMAP2+: Drop legacy platform data for dra7 spinlock
We can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property. As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch. Cc: Suman Anna <s-anna@ti.com> Cc: Keerthy <j-keerthy@ti.com> Tested-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
995c1535da
commit
4554f0a1cb
@ -471,7 +471,6 @@ mailbox1: mailbox@0 {
|
||||
|
||||
target-module@f6000 { /* 0x4a0f6000, ap 25 78.0 */
|
||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||
ti,hwmods = "spinlock";
|
||||
reg = <0xf6000 0x4>,
|
||||
<0xf6010 0x4>,
|
||||
<0xf6014 0x4>;
|
||||
|
@ -962,40 +962,6 @@ static struct omap_hwmod dra7xx_smartreflex_mpu_hwmod = {
|
||||
.dev_attr = &smartreflex_mpu_dev_attr,
|
||||
};
|
||||
|
||||
/*
|
||||
* 'spinlock' class
|
||||
*
|
||||
*/
|
||||
|
||||
static struct omap_hwmod_class_sysconfig dra7xx_spinlock_sysc = {
|
||||
.rev_offs = 0x0000,
|
||||
.sysc_offs = 0x0010,
|
||||
.syss_offs = 0x0014,
|
||||
.sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_ENAWAKEUP |
|
||||
SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
|
||||
SYSS_HAS_RESET_STATUS),
|
||||
.idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
|
||||
.sysc_fields = &omap_hwmod_sysc_type1,
|
||||
};
|
||||
|
||||
static struct omap_hwmod_class dra7xx_spinlock_hwmod_class = {
|
||||
.name = "spinlock",
|
||||
.sysc = &dra7xx_spinlock_sysc,
|
||||
};
|
||||
|
||||
/* spinlock */
|
||||
static struct omap_hwmod dra7xx_spinlock_hwmod = {
|
||||
.name = "spinlock",
|
||||
.class = &dra7xx_spinlock_hwmod_class,
|
||||
.clkdm_name = "l4cfg_clkdm",
|
||||
.main_clk = "l3_iclk_div",
|
||||
.prcm = {
|
||||
.omap4 = {
|
||||
.clkctrl_offs = DRA7XX_CM_L4CFG_SPINLOCK_CLKCTRL_OFFSET,
|
||||
.context_offs = DRA7XX_RM_L4CFG_SPINLOCK_CONTEXT_OFFSET,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/*
|
||||
* 'timer' class
|
||||
@ -1536,14 +1502,6 @@ static struct omap_hwmod_ocp_if dra7xx_l4_cfg__smartreflex_mpu = {
|
||||
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
||||
};
|
||||
|
||||
/* l4_cfg -> spinlock */
|
||||
static struct omap_hwmod_ocp_if dra7xx_l4_cfg__spinlock = {
|
||||
.master = &dra7xx_l4_cfg_hwmod,
|
||||
.slave = &dra7xx_spinlock_hwmod,
|
||||
.clk = "l3_iclk_div",
|
||||
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
||||
};
|
||||
|
||||
/* l4_wkup -> timer1 */
|
||||
static struct omap_hwmod_ocp_if dra7xx_l4_wkup__timer1 = {
|
||||
.master = &dra7xx_l4_wkup_hwmod,
|
||||
@ -1678,7 +1636,6 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
|
||||
&dra7xx_l4_cfg__sata,
|
||||
&dra7xx_l4_cfg__smartreflex_core,
|
||||
&dra7xx_l4_cfg__smartreflex_mpu,
|
||||
&dra7xx_l4_cfg__spinlock,
|
||||
&dra7xx_l4_wkup__timer1,
|
||||
&dra7xx_l4_per1__timer2,
|
||||
&dra7xx_l4_per1__timer3,
|
||||
|
Loading…
Reference in New Issue
Block a user