ARM: OMAP2+: hwmod: cleanup HWMOD_INIT_NO_RESET usage
For modules/IPs/hwmods which do not have -1- sys->class->reset() and -2- hardreset lines and -3- No way to do an ocp reset (no sysc control) the flag 'HWMOD_INIT_NO_RESET' is not much useful. Cleanup all such instances across various hwmod data files. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
Родитель
f0d48990e1
Коммит
b2eb000265
|
@ -52,7 +52,7 @@ static struct omap_hwmod am33xx_emif_hwmod = {
|
||||||
.name = "emif",
|
.name = "emif",
|
||||||
.class = &am33xx_emif_hwmod_class,
|
.class = &am33xx_emif_hwmod_class,
|
||||||
.clkdm_name = "l3_clkdm",
|
.clkdm_name = "l3_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_ddr_m2_div2_ck",
|
.main_clk = "dpll_ddr_m2_div2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -74,7 +74,7 @@ static struct omap_hwmod am33xx_l3_main_hwmod = {
|
||||||
.name = "l3_main",
|
.name = "l3_main",
|
||||||
.class = &am33xx_l3_hwmod_class,
|
.class = &am33xx_l3_hwmod_class,
|
||||||
.clkdm_name = "l3_clkdm",
|
.clkdm_name = "l3_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "l3_gclk",
|
.main_clk = "l3_gclk",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -96,7 +96,7 @@ static struct omap_hwmod am33xx_l3_instr_hwmod = {
|
||||||
.name = "l3_instr",
|
.name = "l3_instr",
|
||||||
.class = &am33xx_l3_hwmod_class,
|
.class = &am33xx_l3_hwmod_class,
|
||||||
.clkdm_name = "l3_clkdm",
|
.clkdm_name = "l3_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "l3_gclk",
|
.main_clk = "l3_gclk",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -119,7 +119,7 @@ static struct omap_hwmod am33xx_l4_ls_hwmod = {
|
||||||
.name = "l4_ls",
|
.name = "l4_ls",
|
||||||
.class = &am33xx_l4_hwmod_class,
|
.class = &am33xx_l4_hwmod_class,
|
||||||
.clkdm_name = "l4ls_clkdm",
|
.clkdm_name = "l4ls_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "l4ls_gclk",
|
.main_clk = "l4ls_gclk",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -134,7 +134,7 @@ static struct omap_hwmod am33xx_l4_hs_hwmod = {
|
||||||
.name = "l4_hs",
|
.name = "l4_hs",
|
||||||
.class = &am33xx_l4_hwmod_class,
|
.class = &am33xx_l4_hwmod_class,
|
||||||
.clkdm_name = "l4hs_clkdm",
|
.clkdm_name = "l4hs_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "l4hs_gclk",
|
.main_clk = "l4hs_gclk",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -150,7 +150,7 @@ static struct omap_hwmod am33xx_l4_wkup_hwmod = {
|
||||||
.name = "l4_wkup",
|
.name = "l4_wkup",
|
||||||
.class = &am33xx_l4_hwmod_class,
|
.class = &am33xx_l4_hwmod_class,
|
||||||
.clkdm_name = "l4_wkup_clkdm",
|
.clkdm_name = "l4_wkup_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
.clkctrl_offs = AM33XX_CM_WKUP_L4WKUP_CLKCTRL_OFFSET,
|
.clkctrl_offs = AM33XX_CM_WKUP_L4WKUP_CLKCTRL_OFFSET,
|
||||||
|
@ -170,7 +170,7 @@ static struct omap_hwmod am33xx_mpu_hwmod = {
|
||||||
.name = "mpu",
|
.name = "mpu",
|
||||||
.class = &am33xx_mpu_hwmod_class,
|
.class = &am33xx_mpu_hwmod_class,
|
||||||
.clkdm_name = "mpu_clkdm",
|
.clkdm_name = "mpu_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_mpu_m2_ck",
|
.main_clk = "dpll_mpu_m2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -450,7 +450,7 @@ static struct omap_hwmod am33xx_ocmcram_hwmod = {
|
||||||
.name = "ocmcram",
|
.name = "ocmcram",
|
||||||
.class = &am33xx_ocmcram_hwmod_class,
|
.class = &am33xx_ocmcram_hwmod_class,
|
||||||
.clkdm_name = "l3_clkdm",
|
.clkdm_name = "l3_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "l3_gclk",
|
.main_clk = "l3_gclk",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -532,7 +532,7 @@ static struct omap_hwmod am33xx_control_hwmod = {
|
||||||
.name = "control",
|
.name = "control",
|
||||||
.class = &am33xx_control_hwmod_class,
|
.class = &am33xx_control_hwmod_class,
|
||||||
.clkdm_name = "l4_wkup_clkdm",
|
.clkdm_name = "l4_wkup_clkdm",
|
||||||
.flags = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_core_m4_div2_ck",
|
.main_clk = "dpll_core_m4_div2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
|
|
@ -914,7 +914,7 @@ static struct omap_hwmod omap44xx_emif1_hwmod = {
|
||||||
.name = "emif1",
|
.name = "emif1",
|
||||||
.class = &omap44xx_emif_hwmod_class,
|
.class = &omap44xx_emif_hwmod_class,
|
||||||
.clkdm_name = "l3_emif_clkdm",
|
.clkdm_name = "l3_emif_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "ddrphy_ck",
|
.main_clk = "ddrphy_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -930,7 +930,7 @@ static struct omap_hwmod omap44xx_emif2_hwmod = {
|
||||||
.name = "emif2",
|
.name = "emif2",
|
||||||
.class = &omap44xx_emif_hwmod_class,
|
.class = &omap44xx_emif_hwmod_class,
|
||||||
.clkdm_name = "l3_emif_clkdm",
|
.clkdm_name = "l3_emif_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "ddrphy_ck",
|
.main_clk = "ddrphy_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -2193,7 +2193,7 @@ static struct omap_hwmod omap44xx_mpu_hwmod = {
|
||||||
.name = "mpu",
|
.name = "mpu",
|
||||||
.class = &omap44xx_mpu_hwmod_class,
|
.class = &omap44xx_mpu_hwmod_class,
|
||||||
.clkdm_name = "mpuss_clkdm",
|
.clkdm_name = "mpuss_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_mpu_m2_ck",
|
.main_clk = "dpll_mpu_m2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
|
|
@ -352,7 +352,7 @@ static struct omap_hwmod omap54xx_emif1_hwmod = {
|
||||||
.name = "emif1",
|
.name = "emif1",
|
||||||
.class = &omap54xx_emif_hwmod_class,
|
.class = &omap54xx_emif_hwmod_class,
|
||||||
.clkdm_name = "emif_clkdm",
|
.clkdm_name = "emif_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_core_h11x2_ck",
|
.main_clk = "dpll_core_h11x2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -368,7 +368,7 @@ static struct omap_hwmod omap54xx_emif2_hwmod = {
|
||||||
.name = "emif2",
|
.name = "emif2",
|
||||||
.class = &omap54xx_emif_hwmod_class,
|
.class = &omap54xx_emif_hwmod_class,
|
||||||
.clkdm_name = "emif_clkdm",
|
.clkdm_name = "emif_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_core_h11x2_ck",
|
.main_clk = "dpll_core_h11x2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
@ -1135,7 +1135,7 @@ static struct omap_hwmod omap54xx_mpu_hwmod = {
|
||||||
.name = "mpu",
|
.name = "mpu",
|
||||||
.class = &omap54xx_mpu_hwmod_class,
|
.class = &omap54xx_mpu_hwmod_class,
|
||||||
.clkdm_name = "mpu_clkdm",
|
.clkdm_name = "mpu_clkdm",
|
||||||
.flags = HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
|
.flags = HWMOD_INIT_NO_IDLE,
|
||||||
.main_clk = "dpll_mpu_m2_ck",
|
.main_clk = "dpll_mpu_m2_ck",
|
||||||
.prcm = {
|
.prcm = {
|
||||||
.omap4 = {
|
.omap4 = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче