Re: [PATCH 08/10] ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 18 January 2013 10:45 PM, Tony Lindgren wrote:
Hi,

* Santosh Shilimkar <santosh.shilimkar@xxxxxx> [130118 07:30]:
From: Benoit Cousson <b-cousson@xxxxxx>

Adding the hwmod data for OMAP54xx platforms.
--- /dev/null
+++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
+/* bb2d */
+static struct omap_hwmod_irq_info omap54xx_bb2d_irqs[] = {
+	{ .irq = 125 + OMAP54XX_IRQ_GIC_START },
+	{ .irq = -1 }
+};
...

+/* c2c */
+static struct omap_hwmod_irq_info omap54xx_c2c_irqs[] = {
+	{ .irq = 88 + OMAP54XX_IRQ_GIC_START },
+	{ .irq = -1 }
+};
...


+static struct omap_hwmod_dma_info omap54xx_c2c_sdma_reqs[] = {
+	{ .dma_req = 68 + OMAP54XX_DMA_REQ_START },
+	{ .dma_req = -1 }
+};



+static struct omap_hwmod_addr_space omap54xx_elm_addrs[] = {
+	{
+		.pa_start	= 0x48078000,
+		.pa_end		= 0x48078fff,
+		.flags		= ADDR_TYPE_RT
+	},
+	{ }
+};
...

+static struct omap_hwmod_addr_space omap54xx_emif1_addrs[] = {
+	{
+		.pa_start	= 0x4c000000,
+		.pa_end		= 0x4c0003ff,
+		.flags		= ADDR_TYPE_RT
+	},
+	{ }
+};

As discussed earlier on this list, let's not duplicate the standard
resources here as they already are supposed to come from device tree.

Whatever issues prevent us from dropping the duplicate data here need
to be fixed. I believe Benoit already had some scripts/patches for
that and was just waiting for the DMA binding to get merged?

Will have a loot at it. DMA binding pull request narrowly missed
3.8 but should get into 3.9.

Regards
santosh


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux