This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -0,0 +1,20 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | |||
| 3 | #ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_ | ||
| 4 | #define _LINUX_ZYNQMP_IPI_MESSAGE_H_ | ||
| 5 | |||
| 6 | /** | ||
| 7 | * struct zynqmp_ipi_message - ZynqMP IPI message structure | ||
| 8 | * @len: Length of message | ||
| 9 | * @data: message payload | ||
| 10 | * | ||
| 11 | * This is the structure for data used in mbox_send_message | ||
| 12 | * the maximum length of data buffer is fixed to 12 bytes. | ||
| 13 | * Client is supposed to be aware of this. | ||
| 14 | */ | ||
| 15 | struct zynqmp_ipi_message { | ||
| 16 | size_t len; | ||
| 17 | u8 data[0]; | ||
| 18 | }; | ||
| 19 | |||
| 20 | #endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */ | ||