2019-03-31 06:15:33 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* rWTM BIU Mailbox driver for Armada 37xx
|
|
|
|
*
|
2021-04-09 23:27:04 +03:00
|
|
|
* Author: Marek Behún <kabel@kernel.org>
|
2019-03-31 06:15:33 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
|
|
|
|
#define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
struct armada_37xx_rwtm_tx_msg {
|
|
|
|
u16 command;
|
|
|
|
u32 args[16];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct armada_37xx_rwtm_rx_msg {
|
|
|
|
u32 retval;
|
|
|
|
u32 status[16];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ */
|