mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
ARM: OMAP2+: Drop legacy platform data for omap5 mcbsp
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. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
349355ce3a
commit
b1da0fa21b
@ -86,7 +86,6 @@
|
|||||||
|
|
||||||
target-module@22000 { /* 0x40122000, ap 2 02.0 */
|
target-module@22000 { /* 0x40122000, ap 2 02.0 */
|
||||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||||
ti,hwmods = "mcbsp1";
|
|
||||||
reg = <0x2208c 0x4>;
|
reg = <0x2208c 0x4>;
|
||||||
reg-names = "sysc";
|
reg-names = "sysc";
|
||||||
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
||||||
@ -120,7 +119,6 @@
|
|||||||
|
|
||||||
target-module@24000 { /* 0x40124000, ap 4 04.0 */
|
target-module@24000 { /* 0x40124000, ap 4 04.0 */
|
||||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||||
ti,hwmods = "mcbsp2";
|
|
||||||
reg = <0x2408c 0x4>;
|
reg = <0x2408c 0x4>;
|
||||||
reg-names = "sysc";
|
reg-names = "sysc";
|
||||||
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
||||||
@ -154,7 +152,6 @@
|
|||||||
|
|
||||||
target-module@26000 { /* 0x40126000, ap 6 06.0 */
|
target-module@26000 { /* 0x40126000, ap 6 06.0 */
|
||||||
compatible = "ti,sysc-omap2", "ti,sysc";
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
||||||
ti,hwmods = "mcbsp3";
|
|
||||||
reg = <0x2608c 0x4>;
|
reg = <0x2608c 0x4>;
|
||||||
reg-names = "sysc";
|
reg-names = "sysc";
|
||||||
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
||||||
|
@ -627,92 +627,6 @@ static struct omap_hwmod omap54xx_kbd_hwmod = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 'mcbsp' class
|
|
||||||
* multi channel buffered serial port controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
static struct omap_hwmod_class_sysconfig omap54xx_mcbsp_sysc = {
|
|
||||||
.rev_offs = -ENODEV,
|
|
||||||
.sysc_offs = 0x008c,
|
|
||||||
.sysc_flags = (SYSC_HAS_CLOCKACTIVITY | SYSC_HAS_ENAWAKEUP |
|
|
||||||
SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET),
|
|
||||||
.idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
|
|
||||||
.sysc_fields = &omap_hwmod_sysc_type1,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct omap_hwmod_class omap54xx_mcbsp_hwmod_class = {
|
|
||||||
.name = "mcbsp",
|
|
||||||
.sysc = &omap54xx_mcbsp_sysc,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* mcbsp1 */
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp1_opt_clks[] = {
|
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
||||||
{ .role = "prcm_fck", .clk = "mcbsp1_sync_mux_ck" },
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct omap_hwmod omap54xx_mcbsp1_hwmod = {
|
|
||||||
.name = "mcbsp1",
|
|
||||||
.class = &omap54xx_mcbsp_hwmod_class,
|
|
||||||
.clkdm_name = "abe_clkdm",
|
|
||||||
.main_clk = "mcbsp1_gfclk",
|
|
||||||
.prcm = {
|
|
||||||
.omap4 = {
|
|
||||||
.clkctrl_offs = OMAP54XX_CM_ABE_MCBSP1_CLKCTRL_OFFSET,
|
|
||||||
.context_offs = OMAP54XX_RM_ABE_MCBSP1_CONTEXT_OFFSET,
|
|
||||||
.modulemode = MODULEMODE_SWCTRL,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
.opt_clks = mcbsp1_opt_clks,
|
|
||||||
.opt_clks_cnt = ARRAY_SIZE(mcbsp1_opt_clks),
|
|
||||||
};
|
|
||||||
|
|
||||||
/* mcbsp2 */
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp2_opt_clks[] = {
|
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
||||||
{ .role = "prcm_fck", .clk = "mcbsp2_sync_mux_ck" },
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct omap_hwmod omap54xx_mcbsp2_hwmod = {
|
|
||||||
.name = "mcbsp2",
|
|
||||||
.class = &omap54xx_mcbsp_hwmod_class,
|
|
||||||
.clkdm_name = "abe_clkdm",
|
|
||||||
.main_clk = "mcbsp2_gfclk",
|
|
||||||
.prcm = {
|
|
||||||
.omap4 = {
|
|
||||||
.clkctrl_offs = OMAP54XX_CM_ABE_MCBSP2_CLKCTRL_OFFSET,
|
|
||||||
.context_offs = OMAP54XX_RM_ABE_MCBSP2_CONTEXT_OFFSET,
|
|
||||||
.modulemode = MODULEMODE_SWCTRL,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
.opt_clks = mcbsp2_opt_clks,
|
|
||||||
.opt_clks_cnt = ARRAY_SIZE(mcbsp2_opt_clks),
|
|
||||||
};
|
|
||||||
|
|
||||||
/* mcbsp3 */
|
|
||||||
static struct omap_hwmod_opt_clk mcbsp3_opt_clks[] = {
|
|
||||||
{ .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
||||||
{ .role = "prcm_fck", .clk = "mcbsp3_sync_mux_ck" },
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct omap_hwmod omap54xx_mcbsp3_hwmod = {
|
|
||||||
.name = "mcbsp3",
|
|
||||||
.class = &omap54xx_mcbsp_hwmod_class,
|
|
||||||
.clkdm_name = "abe_clkdm",
|
|
||||||
.main_clk = "mcbsp3_gfclk",
|
|
||||||
.prcm = {
|
|
||||||
.omap4 = {
|
|
||||||
.clkctrl_offs = OMAP54XX_CM_ABE_MCBSP3_CLKCTRL_OFFSET,
|
|
||||||
.context_offs = OMAP54XX_RM_ABE_MCBSP3_CONTEXT_OFFSET,
|
|
||||||
.modulemode = MODULEMODE_SWCTRL,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
.opt_clks = mcbsp3_opt_clks,
|
|
||||||
.opt_clks_cnt = ARRAY_SIZE(mcbsp3_opt_clks),
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 'mcpdm' class
|
* 'mcpdm' class
|
||||||
* multi channel pdm controller (proprietary interface with phoenix power
|
* multi channel pdm controller (proprietary interface with phoenix power
|
||||||
@ -1597,30 +1511,6 @@ static struct omap_hwmod_ocp_if omap54xx_l4_wkup__kbd = {
|
|||||||
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* l4_abe -> mcbsp1 */
|
|
||||||
static struct omap_hwmod_ocp_if omap54xx_l4_abe__mcbsp1 = {
|
|
||||||
.master = &omap54xx_l4_abe_hwmod,
|
|
||||||
.slave = &omap54xx_mcbsp1_hwmod,
|
|
||||||
.clk = "abe_iclk",
|
|
||||||
.user = OCP_USER_MPU,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* l4_abe -> mcbsp2 */
|
|
||||||
static struct omap_hwmod_ocp_if omap54xx_l4_abe__mcbsp2 = {
|
|
||||||
.master = &omap54xx_l4_abe_hwmod,
|
|
||||||
.slave = &omap54xx_mcbsp2_hwmod,
|
|
||||||
.clk = "abe_iclk",
|
|
||||||
.user = OCP_USER_MPU,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* l4_abe -> mcbsp3 */
|
|
||||||
static struct omap_hwmod_ocp_if omap54xx_l4_abe__mcbsp3 = {
|
|
||||||
.master = &omap54xx_l4_abe_hwmod,
|
|
||||||
.slave = &omap54xx_mcbsp3_hwmod,
|
|
||||||
.clk = "abe_iclk",
|
|
||||||
.user = OCP_USER_MPU,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* l4_abe -> mcpdm */
|
/* l4_abe -> mcpdm */
|
||||||
static struct omap_hwmod_ocp_if omap54xx_l4_abe__mcpdm = {
|
static struct omap_hwmod_ocp_if omap54xx_l4_abe__mcpdm = {
|
||||||
.master = &omap54xx_l4_abe_hwmod,
|
.master = &omap54xx_l4_abe_hwmod,
|
||||||
@ -1796,9 +1686,6 @@ static struct omap_hwmod_ocp_if *omap54xx_hwmod_ocp_ifs[] __initdata = {
|
|||||||
&omap54xx_mpu__emif2,
|
&omap54xx_mpu__emif2,
|
||||||
&omap54xx_l3_main_2__mmu_ipu,
|
&omap54xx_l3_main_2__mmu_ipu,
|
||||||
&omap54xx_l4_wkup__kbd,
|
&omap54xx_l4_wkup__kbd,
|
||||||
&omap54xx_l4_abe__mcbsp1,
|
|
||||||
&omap54xx_l4_abe__mcbsp2,
|
|
||||||
&omap54xx_l4_abe__mcbsp3,
|
|
||||||
&omap54xx_l4_abe__mcpdm,
|
&omap54xx_l4_abe__mcpdm,
|
||||||
&omap54xx_l4_cfg__mpu,
|
&omap54xx_l4_cfg__mpu,
|
||||||
&omap54xx_l4_cfg__spinlock,
|
&omap54xx_l4_cfg__spinlock,
|
||||||
|
Loading…
Reference in New Issue
Block a user