tee: add OP-TEE driver
authorJens Wiklander <jens.wiklander@linaro.org>
Tue, 14 Apr 2015 12:33:20 +0000 (14:33 +0200)
committerAlex Shi <alex.shi@linaro.org>
Thu, 6 Jul 2017 03:07:40 +0000 (11:07 +0800)
commit7e47bc4f6e082bcf583480f6a88de75d45c632c0
treeaa34d4150583c7d383268fdbe050181df57e7b4d
parentc87474a0de37d249baa1b61773775dae5d6b27ce
tee: add OP-TEE driver

Adds a OP-TEE driver which also can be compiled as a loadable module.

* Targets ARM and ARM64
* Supports using reserved memory from OP-TEE as shared memory
* Probes OP-TEE version using SMCs
* Accepts requests on privileged and unprivileged device
* Uses OPTEE message protocol version 2 to communicate with secure world

Acked-by: Andreas Dannenberg <dannenberg@ti.com>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Tested-by: Volodymyr Babchuk <vlad.babchuk@gmail.com> (RCAR H3)
Tested-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
(cherry picked from commit 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
12 files changed:
MAINTAINERS
drivers/tee/Kconfig
drivers/tee/Makefile
drivers/tee/optee/Kconfig [new file with mode: 0644]
drivers/tee/optee/Makefile [new file with mode: 0644]
drivers/tee/optee/call.c [new file with mode: 0644]
drivers/tee/optee/core.c [new file with mode: 0644]
drivers/tee/optee/optee_msg.h [new file with mode: 0644]
drivers/tee/optee/optee_private.h [new file with mode: 0644]
drivers/tee/optee/optee_smc.h [new file with mode: 0644]
drivers/tee/optee/rpc.c [new file with mode: 0644]
drivers/tee/optee/supp.c [new file with mode: 0644]