diff options
author | Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 2010-05-18 15:15:32 +0200 |
---|---|---|
committer | Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 2010-08-04 14:50:17 +0200 |
commit | 6b23398591a51943dbf08f30cfc2475a895cb1b4 (patch) | |
tree | ff2c318b9fa3ef8a90d0413a85976614fd822cd7 /kernel | |
parent | omap: mailbox: convert block api to kfifo (diff) | |
download | linux-6b23398591a51943dbf08f30cfc2475a895cb1b4.tar.xz linux-6b23398591a51943dbf08f30cfc2475a895cb1b4.zip |
omap mailbox: Set a device in logical mbox instance for traceability
With this patch, you'll get the following sysfs directories. This
structure implies that a single platform device, "omap2-mailbox" holds
multiple logical mbox instances. This could be the base to add sysfs
files for each logical mboxes. Then userland application can access a
mbox through sysfs entries if necessary(ex: setting kfifo size
dynamically)
~# tree -d -L 2 /sys/devices/platform/omap2-mailbox/
/sys/devices/platform/omap2-mailbox/
|-- driver -> ../../../bus/platform/drivers/omap2-mailbox
|-- mbox
| |-- dsp <- they are each instances of logical mailbox.
| |-- ducati
| |-- iva2
| |-- mbox01
| |-- mbox02
| |-- mbox03
| |-- .....
| `-- tesla
|-- power
`-- subsystem -> ../../../bus/platform
This was wrongly dropped by:
commit c7c158e57bce6220644f2bcd65d82e1468aa40ec
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions