forked from Minki/linux
ARM: OMAP2+: Drop legacy platform data for am3 and am4 sham
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: Keerthy <j-keerthy@ti.com> Cc: Tero Kristo <t-kristo@ti.com> Tested-by: Tero Kristo <t-kristo@ti.com> Reviewed-by: Tero Kristo <t-kristo@ti.com> Tested-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
4150fe384e
commit
6899cf7388
@ -441,7 +441,6 @@
|
||||
|
||||
sham_target: target-module@53100000 {
|
||||
compatible = "ti,sysc-omap3-sham", "ti,sysc";
|
||||
ti,hwmods = "sham";
|
||||
reg = <0x53100100 0x4>,
|
||||
<0x53100110 0x4>,
|
||||
<0x53100114 0x4>;
|
||||
|
@ -258,7 +258,6 @@
|
||||
|
||||
sham_target: target-module@53100000 {
|
||||
compatible = "ti,sysc-omap3-sham", "ti,sysc";
|
||||
ti,hwmods = "sham";
|
||||
reg = <0x53100100 0x4>,
|
||||
<0x53100110 0x4>,
|
||||
<0x53100114 0x4>;
|
||||
|
@ -49,7 +49,6 @@ extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc0;
|
||||
extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc1;
|
||||
extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc2;
|
||||
extern struct omap_hwmod_ocp_if am33xx_l3_main__ocmc;
|
||||
extern struct omap_hwmod_ocp_if am33xx_l3_main__sha0;
|
||||
extern struct omap_hwmod_ocp_if am33xx_l3_main__aes0;
|
||||
|
||||
extern struct omap_hwmod am33xx_l3_main_hwmod;
|
||||
@ -62,7 +61,6 @@ extern struct omap_hwmod am33xx_pruss_hwmod;
|
||||
extern struct omap_hwmod am33xx_gfx_hwmod;
|
||||
extern struct omap_hwmod am33xx_prcm_hwmod;
|
||||
extern struct omap_hwmod am33xx_aes0_hwmod;
|
||||
extern struct omap_hwmod am33xx_sha0_hwmod;
|
||||
extern struct omap_hwmod am33xx_ocmcram_hwmod;
|
||||
extern struct omap_hwmod am33xx_smartreflex0_hwmod;
|
||||
extern struct omap_hwmod am33xx_smartreflex1_hwmod;
|
||||
|
@ -269,14 +269,6 @@ struct omap_hwmod_ocp_if am33xx_l3_main__ocmc = {
|
||||
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
||||
};
|
||||
|
||||
/* l3 main -> sha0 HIB2 */
|
||||
struct omap_hwmod_ocp_if am33xx_l3_main__sha0 = {
|
||||
.master = &am33xx_l3_main_hwmod,
|
||||
.slave = &am33xx_sha0_hwmod,
|
||||
.clk = "sha0_fck",
|
||||
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
||||
};
|
||||
|
||||
/* l3 main -> AES0 HIB2 */
|
||||
struct omap_hwmod_ocp_if am33xx_l3_main__aes0 = {
|
||||
.master = &am33xx_l3_main_hwmod,
|
||||
|
@ -240,30 +240,6 @@ struct omap_hwmod am33xx_aes0_hwmod = {
|
||||
},
|
||||
};
|
||||
|
||||
/* sha0 HIB2 (the 'P' (public) device) */
|
||||
static struct omap_hwmod_class_sysconfig am33xx_sha0_sysc = {
|
||||
.rev_offs = 0x100,
|
||||
.sysc_offs = 0x110,
|
||||
.syss_offs = 0x114,
|
||||
.sysc_flags = SYSS_HAS_RESET_STATUS,
|
||||
};
|
||||
|
||||
static struct omap_hwmod_class am33xx_sha0_hwmod_class = {
|
||||
.name = "sha0",
|
||||
.sysc = &am33xx_sha0_sysc,
|
||||
};
|
||||
|
||||
struct omap_hwmod am33xx_sha0_hwmod = {
|
||||
.name = "sham",
|
||||
.class = &am33xx_sha0_hwmod_class,
|
||||
.clkdm_name = "l3_clkdm",
|
||||
.main_clk = "l3_gclk",
|
||||
.prcm = {
|
||||
.omap4 = {
|
||||
.modulemode = MODULEMODE_SWCTRL,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/* ocmcram */
|
||||
static struct omap_hwmod_class am33xx_ocmcram_hwmod_class = {
|
||||
@ -807,7 +783,6 @@ static void omap_hwmod_am33xx_clkctrl(void)
|
||||
CLKCTRL(am33xx_mpu_hwmod , AM33XX_CM_MPU_MPU_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_l3_instr_hwmod , AM33XX_CM_PER_L3_INSTR_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_ocmcram_hwmod , AM33XX_CM_PER_OCMCRAM_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_sha0_hwmod , AM33XX_CM_PER_SHA0_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_aes0_hwmod , AM33XX_CM_PER_AES0_CLKCTRL_OFFSET);
|
||||
}
|
||||
|
||||
@ -860,7 +835,6 @@ static void omap_hwmod_am43xx_clkctrl(void)
|
||||
CLKCTRL(am33xx_mpu_hwmod , AM43XX_CM_MPU_MPU_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_l3_instr_hwmod , AM43XX_CM_PER_L3_INSTR_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_ocmcram_hwmod , AM43XX_CM_PER_OCMCRAM_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_sha0_hwmod , AM43XX_CM_PER_SHA0_CLKCTRL_OFFSET);
|
||||
CLKCTRL(am33xx_aes0_hwmod , AM43XX_CM_PER_AES0_CLKCTRL_OFFSET);
|
||||
}
|
||||
|
||||
|
@ -399,7 +399,6 @@ static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata = {
|
||||
&am33xx_l3_main__tptc1,
|
||||
&am33xx_l3_main__tptc2,
|
||||
&am33xx_l3_main__ocmc,
|
||||
&am33xx_l3_main__sha0,
|
||||
&am33xx_l3_main__aes0,
|
||||
NULL,
|
||||
};
|
||||
|
@ -771,7 +771,6 @@ static struct omap_hwmod_ocp_if *am43xx_hwmod_ocp_ifs[] __initdata = {
|
||||
&am33xx_l3_main__tptc1,
|
||||
&am33xx_l3_main__tptc2,
|
||||
&am33xx_l3_main__ocmc,
|
||||
&am33xx_l3_main__sha0,
|
||||
&am33xx_l3_main__aes0,
|
||||
&am43xx_l3_main__des,
|
||||
&am43xx_l4_ls__ocp2scp0,
|
||||
|
Loading…
Reference in New Issue
Block a user