misc/trinity: Add trinity npu driver
authorDongju Chae <dongju.chae@samsung.com>
Wed, 29 Dec 2021 04:58:43 +0000 (13:58 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 23 Nov 2022 02:23:53 +0000 (11:23 +0900)
commit0897791fc443a72bdb63f1bb01c472ea0206eb12
tree6915ee24083b817c13e85feb1d5bbd5c0492bb2a
parentc421188e0c679953abd1c7e5278c6bd482cac698
misc/trinity: Add trinity npu driver

This patch uploads trinity npu driver source codes
(for now, triv2 only) including the srnpu iommu codes.

Note that the driver may not available in the rpi4 board,
but let's just sync codes as the reference tizen kernel.

Change-Id: I61353768adb948e6189aeb2c7c79082c3ddbc2ba
Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
[Fix conflicts for kernel v5.15.y]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
32 files changed:
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/srnpu-iommu.c [new file with mode: 0644]
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/trinity/Kconfig [new file with mode: 0644]
drivers/misc/trinity/Makefile [new file with mode: 0644]
drivers/misc/trinity/support/arm_fvp.c [new file with mode: 0644]
drivers/misc/trinity/support/xilinx_fpga.c [new file with mode: 0644]
drivers/misc/trinity/trinity.c [new file with mode: 0644]
drivers/misc/trinity/trinity.h [new symlink]
drivers/misc/trinity/trinity_common.h [new file with mode: 0644]
drivers/misc/trinity/trinity_debug.c [new file with mode: 0644]
drivers/misc/trinity/trinity_hwmem.c [new file with mode: 0644]
drivers/misc/trinity/trinity_hwmem.h [new file with mode: 0644]
drivers/misc/trinity/trinity_hwmem_iommu_helper.c [new file with mode: 0644]
drivers/misc/trinity/trinity_hwmem_iommu_helper.h [new file with mode: 0644]
drivers/misc/trinity/trinity_monitor.c [new file with mode: 0644]
drivers/misc/trinity/trinity_monitor.h [new file with mode: 0644]
drivers/misc/trinity/trinity_resv_mem.c [new file with mode: 0644]
drivers/misc/trinity/trinity_resv_mem.h [new file with mode: 0644]
drivers/misc/trinity/trinity_sched.c [new file with mode: 0644]
drivers/misc/trinity/trinity_sched.h [new file with mode: 0644]
drivers/misc/trinity/trinity_sched_sr.c [new file with mode: 0644]
drivers/misc/trinity/trinity_stat.c [new file with mode: 0644]
drivers/misc/trinity/trinity_stat.h [new file with mode: 0644]
drivers/misc/trinity/trinity_sysfs.c [new file with mode: 0644]
drivers/misc/trinity/trinity_trace.c [new file with mode: 0644]
drivers/misc/trinity/trinity_trace.h [new file with mode: 0644]
drivers/misc/trinity/trinity_vision2_drv.c [new file with mode: 0644]
drivers/misc/trinity/trinity_vision2_profile.h [new file with mode: 0644]
include/uapi/misc/trinity.h [new file with mode: 0644]