]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: add user and fifo info to mailbox platform data
authorSuman Anna <s-anna@ti.com>
Tue, 7 May 2013 22:30:27 +0000 (17:30 -0500)
committerSuman Anna <s-anna@ti.com>
Tue, 11 Jun 2013 16:41:30 +0000 (11:41 -0500)
commitfe32c1f6024e357f586b1d666237cab80a1215ce
tree04ba3a27a26419441e464b2d152e1cbb0ac8d447
parentb8a7cf8e2b15a3abac0a9e376b6b7ed4bbb6ee8e
ARM: OMAP2+: add user and fifo info to mailbox platform data

The different generations of OMAP2+ SoCs have almost the same
mailbox IP, but the IP has configurable parameters for number
of users (interrupts it can generate out towards processors)
and number of fifos (the base unidirectional h/w communication
channel). This data cannot be read from any registers, and so
has been added to the platform data.

This data together with the interrupt-type configuration can be
used in properly figuring out the number of registers to save
and restore in the OMAP mailbox driver code.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
include/linux/platform_data/mailbox-omap.h