diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-23 09:09:15 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-23 09:09:15 -0400 |
| commit | 988faa7312b490c8a9e7fcdca434c6bf3f3af97b (patch) | |
| tree | a5cd5c53b474fc2cbfb2ba5bced836b7ae6b60e5 /include/linux/soc/ti | |
| parent | 33c1f638a0feda92ffcb507c302482a5e6158a87 (diff) | |
| parent | aace66b170ce7feda2d1860a81eefff37fa9d1d2 (diff) | |
Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration
Pull more mailbox updates from Jassi Brar:
"Device tree bindings and driver for TI's Message-Manager controller.
Due to some last minute cosmetic changes, the driver was not included
in the first pull request, otherwise the driver has been reviewed
twice"
* 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
mailbox: Introduce TI message manager driver
Documentation: dt: mailbox: Add TI Message Manager
Diffstat (limited to 'include/linux/soc/ti')
| -rw-r--r-- | include/linux/soc/ti/ti-msgmgr.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/linux/soc/ti/ti-msgmgr.h b/include/linux/soc/ti/ti-msgmgr.h new file mode 100644 index 000000000000..eac8e0c6fe11 --- /dev/null +++ b/include/linux/soc/ti/ti-msgmgr.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | * Texas Instruments' Message Manager | ||
| 3 | * | ||
| 4 | * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ | ||
| 5 | * Nishanth Menon | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any | ||
| 12 | * kind, whether express or implied; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef TI_MSGMGR_H | ||
| 18 | #define TI_MSGMGR_H | ||
| 19 | |||
| 20 | /** | ||
| 21 | * struct ti_msgmgr_message - Message Manager structure | ||
| 22 | * @len: Length of data in the Buffer | ||
| 23 | * @buf: Buffer pointer | ||
| 24 | * | ||
| 25 | * This is the structure for data used in mbox_send_message | ||
| 26 | * the length of data buffer used depends on the SoC integration | ||
| 27 | * parameters - each message may be 64, 128 bytes long depending | ||
| 28 | * on SoC. Client is supposed to be aware of this. | ||
| 29 | */ | ||
| 30 | struct ti_msgmgr_message { | ||
| 31 | size_t len; | ||
| 32 | u8 *buf; | ||
| 33 | }; | ||
| 34 | |||
| 35 | #endif /* TI_MSGMGR_H */ | ||
