nvidia-oot: add tsec driver as oot module

1. Add tsec device entry in the DT overlay file
2. Copy over the existing tsec driver source code
   and compile it when building with oot kernel
3. Add a dummy tsec folder with an empty Makefile
   which conveys that common driver source is used
   from kernel/nvidia/drivers/video/tegra/tsec

Bug 3817626

Change-Id: I7b3064fc08bf7507b7660985564bc6bc8eba86eb
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793265
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Nikesh Oswal
2022-10-17 10:02:55 +00:00
committed by mobile promotions
parent 9bc606c24d
commit 6d2a57d57b
4 changed files with 29 additions and 0 deletions

View File

@@ -563,6 +563,22 @@
status = "okay";
};
tsec@15500000 {
compatible = "nvidia,tegra234-tsec";
reg = <0x15500000 0x00040000>;
interrupts = <0 228 0x04>;
resets = <&bpmp TEGRA234_RESET_TSEC>;
clocks = <&bpmp TEGRA234_CLK_TSEC>,
<&bpmp TEGRA234_CLK_FUSE>,
<&bpmp TEGRA234_CLK_TSEC_PKA>;
clock-names = "tsec", "efuse", "tsec_pka";
iommus = <&smmu_niso1 TEGRA234_SID_TSEC>;
nvidia,memory-controller = <&mc>;
dma-coherent;
status = "okay";
};
};
};