mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Add tegra-fsicom driver. It provides interface to communicate with Functional Safety Island (FSI). Bug 3583609 Change-Id: I0cc45de69ca73092e13ee17fec4abd3f9c9e0468 Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2707054 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit
27 lines
633 B
C
27 lines
633 B
C
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note)
|
|
*
|
|
* Copyright (c) 2021-2022, NVIDIA CORPORATION, All rights reserved.
|
|
*/
|
|
|
|
#ifndef _UAPI_TEGRA_FSICOM_H_
|
|
#define _UAPI_TEGRA_FSICOM_H_
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
struct rw_data {
|
|
uint32_t handle;
|
|
uint64_t pa;
|
|
uint64_t iova;
|
|
};
|
|
|
|
/* signal value */
|
|
#define SIG_FSI_DAEMON 44
|
|
|
|
/* ioctl call macros */
|
|
#define NVMAP_SMMU_MAP _IOWR('q', 1, struct rw_data *)
|
|
#define NVMAP_SMMU_UNMAP _IOWR('q', 2, struct rw_data *)
|
|
#define TEGRA_HSP_WRITE _IOWR('q', 3, struct rw_data *)
|
|
#define TEGRA_SIGNAL_REG _IOWR('q', 4, struct rw_data *)
|
|
|
|
#endif /* _UAPI_TEGRA_FSICOM_H_ */
|