drm/panel: panel-himax-hx83102: support for csot-pna957qt1-1 MIPI-DSI panel
[drm/drm-misc.git] / include / linux / soc / ti / ti-msgmgr.h
blob543da257a5f27228e0bdb08d52e5abdd523e5c69
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Texas Instruments' Message Manager
5 * Copyright (C) 2015-2022 Texas Instruments Incorporated - https://www.ti.com/
6 * Nishanth Menon
7 */
9 #ifndef TI_MSGMGR_H
10 #define TI_MSGMGR_H
12 struct mbox_chan;
14 /**
15 * struct ti_msgmgr_message - Message Manager structure
16 * @len: Length of data in the Buffer
17 * @buf: Buffer pointer
18 * @chan_rx: Expected channel for response, must be provided to use polled rx
19 * @timeout_rx_ms: Timeout value to use if polling for response
21 * This is the structure for data used in mbox_send_message
22 * the length of data buffer used depends on the SoC integration
23 * parameters - each message may be 64, 128 bytes long depending
24 * on SoC. Client is supposed to be aware of this.
26 struct ti_msgmgr_message {
27 size_t len;
28 u8 *buf;
29 struct mbox_chan *chan_rx;
30 int timeout_rx_ms;
33 #endif /* TI_MSGMGR_H */