Re: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp
Hi, On Fri, Nov 4, 2011 at 6:23 PM, Kevin Hilman khil...@ti.com wrote: + .flags = HWMOD_INIT_NO_RESET, Why is this needed? ... + .flags = HWMOD_INIT_NO_RESET, And this? I have this because the hwmod complains about a failure in hard reset, even though the reset deassert does complete after the clock is enabled. Later on, hwmod will warn again because of a wrong state when enabling, I believe because of the failure on _setup but didn't dig into it yet. Regards, Omar -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp
Ramirez Luna, Omar omar.rami...@ti.com writes: Hi, On Fri, Nov 4, 2011 at 6:23 PM, Kevin Hilman khil...@ti.com wrote: + .flags = HWMOD_INIT_NO_RESET, Why is this needed? ... + .flags = HWMOD_INIT_NO_RESET, And this? I have this because the hwmod complains about a failure in hard reset, even though the reset deassert does complete after the clock is enabled. Later on, hwmod will warn again because of a wrong state when enabling, I believe because of the failure on _setup but didn't dig into it yet. Please dig deeper into the reset failure. We don't merge HWMOD_INIT_NO_RESET changes without a very good reason (that is also well described in the changelog.) Thanks, Kevin -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v3 2/4] OMAP4: hwmod data: add mmu hwmod for ipu and dsp
Omar Ramirez Luna omar.rami...@ti.com writes: Add mmu hwmod data for ipu and dsp. Signed-off-by: Omar Ramirez Luna omar.rami...@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 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html