mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
fsicom: Add support for fsi core2 and core3
fsicom driver updated to support fsicom channels without notification. With notification disabled channels fsicom can support all four cores of FSI Bug 4805453 DOS-SHR-10636 Change-Id: I6cf4dd36c1570505dbcf582499189bd974ed095f Signed-off-by: Praveen James <pjames@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3197598 (cherry picked from commit 1dbdf63d67b102908c845671d18ddf4d14ae498f) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3206768 Reviewed-by: Kovid Kumar <kovidk@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3217458
This commit is contained in:
committed by
Jon Hunter
parent
1fb5a4f931
commit
55847ce7a0
@@ -8,7 +8,15 @@
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#define MAX_FSI_CORE 2
|
||||
#define MAX_FSI_CORE 4
|
||||
|
||||
struct fsi_core {
|
||||
uint32_t max_core;
|
||||
uint32_t notify_cnt;
|
||||
uint32_t polling_cnt;
|
||||
uint32_t notify_list[MAX_FSI_CORE];
|
||||
uint32_t polling_list[MAX_FSI_CORE];
|
||||
};
|
||||
|
||||
struct rw_data {
|
||||
uint8_t coreid;
|
||||
@@ -36,7 +44,7 @@ struct iova_data {
|
||||
#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 *)
|
||||
#define TEGRA_SIGNAL_REG _IOWR('q', 4, struct fsi_core *)
|
||||
#define TEGRA_IOVA_DATA _IOWR('q', 5, struct iova_data *)
|
||||
|
||||
#endif /* _UAPI_TEGRA_FSICOM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user