tegra-fsicom: Implement PM ops

Initiate handshake with FSI by sending signal to NvFsiCom daemon on
system resume.

JIRA SS-3761

This patch is integrated from kernel/nvidia to kernel/nvidia-oot
https://git-master.nvidia.com/r/c/linux-nvidia/+/2720391

JIRA SS-4628
Bug 3855033

Change-Id: I08221f94248c39998df856ae3e254e02b2803985
Signed-off-by: Rahul Bedarkar <rabedarkar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2819742
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Rahul Bedarkar
2022-12-01 07:59:04 +00:00
committed by mobile promotions
parent dd109353df
commit 6a69011d7c
2 changed files with 29 additions and 11 deletions

View File

@@ -15,7 +15,8 @@ struct rw_data {
};
/* signal value */
#define SIG_FSI_DAEMON 44
#define SIG_DRIVER_RESUME 43
#define SIG_FSI_WRITE_EVENT 44
/* ioctl call macros */
#define NVMAP_SMMU_MAP _IOWR('q', 1, struct rw_data *)