Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP3: hwmod data: Remove legacy mailbox data and addrs

Remove the mailbox attribute data, irq info and hwmod addr space
data that are used for creating the legacy-style mailbox devices,
there is no need for these as the support for legacy-mode for this
IP is being dropped.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>

authored by

Suman Anna and committed by
Paul Walmsley
c4384a97 deb9f54e

-29
-29
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
··· 26 26 #include <linux/platform_data/asoc-ti-mcbsp.h> 27 27 #include <linux/platform_data/spi-omap2-mcspi.h> 28 28 #include <linux/platform_data/iommu-omap.h> 29 - #include <linux/platform_data/mailbox-omap.h> 30 29 #include <plat/dmtimer.h> 31 30 32 31 #include "soc.h" ··· 1505 1506 .sysc = &omap3xxx_mailbox_sysc, 1506 1507 }; 1507 1508 1508 - static struct omap_mbox_dev_info omap3xxx_mailbox_info[] = { 1509 - { .name = "dsp", .tx_id = 0, .rx_id = 1 }, 1510 - }; 1511 - 1512 - static struct omap_mbox_pdata omap3xxx_mailbox_attrs = { 1513 - .num_users = 2, 1514 - .num_fifos = 2, 1515 - .info_cnt = ARRAY_SIZE(omap3xxx_mailbox_info), 1516 - .info = omap3xxx_mailbox_info, 1517 - }; 1518 - 1519 - static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { 1520 - { .irq = 26 + OMAP_INTC_START, }, 1521 - { .irq = -1 }, 1522 - }; 1523 - 1524 1509 static struct omap_hwmod omap3xxx_mailbox_hwmod = { 1525 1510 .name = "mailbox", 1526 1511 .class = &omap3xxx_mailbox_hwmod_class, 1527 - .mpu_irqs = omap3xxx_mailbox_irqs, 1528 1512 .main_clk = "mailboxes_ick", 1529 1513 .prcm = { 1530 1514 .omap2 = { ··· 1518 1536 .idlest_idle_bit = OMAP3430_ST_MAILBOXES_SHIFT, 1519 1537 }, 1520 1538 }, 1521 - .dev_attr = &omap3xxx_mailbox_attrs, 1522 1539 }; 1523 1540 1524 1541 /* ··· 3257 3276 .user = OCP_USER_MPU, 3258 3277 }; 3259 3278 3260 - static struct omap_hwmod_addr_space omap3xxx_mailbox_addrs[] = { 3261 - { 3262 - .pa_start = 0x48094000, 3263 - .pa_end = 0x480941ff, 3264 - .flags = ADDR_TYPE_RT, 3265 - }, 3266 - { } 3267 - }; 3268 - 3269 3279 /* l4_core -> mailbox */ 3270 3280 static struct omap_hwmod_ocp_if omap3xxx_l4_core__mailbox = { 3271 3281 .master = &omap3xxx_l4_core_hwmod, 3272 3282 .slave = &omap3xxx_mailbox_hwmod, 3273 - .addr = omap3xxx_mailbox_addrs, 3274 3283 .user = OCP_USER_MPU | OCP_USER_SDMA, 3275 3284 }; 3276 3285