mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
Like i.MX8 SCU, i.MX8ULP S4 also has vendor specific protocol. - bind SCU/S4 MU part to share one tx/rx/init API to make code simple. - S4 msg max size is very large, so alloc the space at driver probe, not use local on stack variable. - S4 MU has 8 TR and 4 RR which is different with i.MX8 MU, so adapt code to reflect this. Tested on i.MX8MP, i.MX8ULP Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
20 lines
290 B
C
20 lines
290 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2021 NXP
|
|
*
|
|
* Header file for the IPC implementation.
|
|
*/
|
|
|
|
#ifndef _S4_IPC_H
|
|
#define _S4_IPC_H
|
|
|
|
struct imx_s4_ipc;
|
|
|
|
struct imx_s4_rpc_msg {
|
|
uint8_t ver;
|
|
uint8_t size;
|
|
uint8_t cmd;
|
|
uint8_t tag;
|
|
} __packed;
|
|
|
|
#endif /* _S4_IPC_H */
|