History

mailbox: Add support for Armada 37xx rWTM mailbox

This adds support for the mailbox via which the kernel can communicate with the firmware running on the secure processor of the Armada 37xx SOC. The rWTM secure processor has access to internal eFuses and cryptographic circuits, such as the Entropy Bit Generator to generate true random numbers.

Marek Behun committed 7 years ago

Commit 8fbbfd91 parent 004c35c4 files · +260 −0Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/armada-37xx-rwtm-mailbox.h+23−0
@@ -0,0 +1,23 @@
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * rWTM BIU Mailbox driver for Armada 37xx
4 *
5 * Author: Marek Behun <marek.behun@nic.cz>
6 */
7
8#ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
9#define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
10
11#include <linux/types.h>
12
13struct armada_37xx_rwtm_tx_msg {
14 u16 command;
15 u32 args[16];
16};
17
18struct armada_37xx_rwtm_rx_msg {
19 u32 retval;
20 u32 status[16];
21};
22
23#endif /* _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t