lkml.org 
[lkml]   [2011]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp
Date
Omar Ramirez Luna <omar.ramirez@ti.com> writes:

> Add mmu hwmod data for ipu and dsp.
>
> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>

[...]

> +static struct omap_hwmod omap44xx_ipu_mmu_hwmod = {
> + .name = "ipu_mmu",
> + .class = &omap44xx_mmu_hwmod_class,
> + .mpu_irqs = omap44xx_ipu_mmu_irqs,
> + .rst_lines = omap44xx_ipu_mmu_resets,
> + .rst_lines_cnt = ARRAY_SIZE(omap44xx_ipu_mmu_resets),
> + .main_clk = "ipu_fck",
> + .prcm = {
> + .omap4 = {
> + .rstctrl_offs = OMAP4_RM_DUCATI_RSTCTRL_OFFSET,
> + },
> + },
> + .dev_attr = &ipu_mmu_dev_attr,
> + .slaves = omap44xx_ipu_mmu_slaves,
> + .slaves_cnt = ARRAY_SIZE(omap44xx_ipu_mmu_slaves),
> + .flags = HWMOD_INIT_NO_RESET,

Why is this needed?

[...]

> +static struct omap_hwmod omap44xx_dsp_mmu_hwmod = {
> + .name = "dsp_mmu",
> + .class = &omap44xx_mmu_hwmod_class,
> + .mpu_irqs = omap44xx_dsp_mmu_irqs,
> + .rst_lines = omap44xx_dsp_mmu_resets,
> + .rst_lines_cnt = ARRAY_SIZE(omap44xx_dsp_mmu_resets),
> + .main_clk = "dsp_fck",
> + .prcm = {
> + .omap4 = {
> + .rstctrl_offs = OMAP4_RM_TESLA_RSTCTRL_OFFSET,
> + },
> + },
> + .dev_attr = &dsp_mmu_dev_attr,
> + .slaves = omap44xx_dsp_mmu_slaves,
> + .slaves_cnt = ARRAY_SIZE(omap44xx_dsp_mmu_slaves),
> + .flags = HWMOD_INIT_NO_RESET,

And this?

Kevin


\
 
 \ /
  Last update: 2011-11-05 00:25    [W:0.082 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site