diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index fa9915411440..f7a3df2fb579 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 25 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
26 | #include <linux/platform_data/spi-omap2-mcspi.h> | 26 | #include <linux/platform_data/spi-omap2-mcspi.h> |
27 | #include <linux/platform_data/iommu-omap.h> | 27 | #include <linux/platform_data/iommu-omap.h> |
28 | #include <linux/platform_data/mailbox-omap.h> | ||
28 | #include <plat/dmtimer.h> | 29 | #include <plat/dmtimer.h> |
29 | 30 | ||
30 | #include "am35xx.h" | 31 | #include "am35xx.h" |
@@ -1504,6 +1505,17 @@ static struct omap_hwmod_class omap3xxx_mailbox_hwmod_class = { | |||
1504 | .sysc = &omap3xxx_mailbox_sysc, | 1505 | .sysc = &omap3xxx_mailbox_sysc, |
1505 | }; | 1506 | }; |
1506 | 1507 | ||
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 | |||
1507 | static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { | 1519 | static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { |
1508 | { .irq = 26 + OMAP_INTC_START, }, | 1520 | { .irq = 26 + OMAP_INTC_START, }, |
1509 | { .irq = -1 }, | 1521 | { .irq = -1 }, |
@@ -1523,6 +1535,7 @@ static struct omap_hwmod omap3xxx_mailbox_hwmod = { | |||
1523 | .idlest_idle_bit = OMAP3430_ST_MAILBOXES_SHIFT, | 1535 | .idlest_idle_bit = OMAP3430_ST_MAILBOXES_SHIFT, |
1524 | }, | 1536 | }, |
1525 | }, | 1537 | }, |
1538 | .dev_attr = &omap3xxx_mailbox_attrs, | ||
1526 | }; | 1539 | }; |
1527 | 1540 | ||
1528 | /* | 1541 | /* |