[PATCH 09/12] ARM: DRA7: hwmod: Create initial DRA7XX SoC data

Tony Lindgren tony at atomide.com
Tue Jul 9 04:31:53 EDT 2013


* Rajendra Nayak <rnayak at ti.com> [130709 00:39]:
> From: Ambresh K <ambresh at ti.com>

> --- /dev/null
> +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
...

> +/* dma_system */
> +static struct omap_hwmod_irq_info dra7xx_dma_system_irqs[] = {
> +	{ .name = "0", .irq = 12 + DRA7XX_IRQ_GIC_START },
> +	{ .name = "1", .irq = 13 + DRA7XX_IRQ_GIC_START },
> +	{ .name = "2", .irq = 14 + DRA7XX_IRQ_GIC_START },
> +	{ .name = "3", .irq = 15 + DRA7XX_IRQ_GIC_START },
> +	{ .irq = -1 }
> +};

I think these should no longer be needed?

In general, we must move the hwmod stuff to drivers/bus and start
parsing the data from device tree along the lines Tero is doing
for the clock data.

What's the plan for doing that?

Regards,

Tony



More information about the linux-arm-kernel mailing list