tee: add OP-TEE driver
authorJens Wiklander <jens.wiklander@linaro.org>
Tue, 14 Apr 2015 12:33:20 +0000 (14:33 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 10 Mar 2017 13:51:52 +0000 (14:51 +0100)
commit4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2
tree42f9c838c6edf35b7d56c8dc28d50a650b50edcd
parent967c9cca2cc50569efc65945325c173cecba83bd
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>
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]