OSDN Git Service

drivers: optee: allow op-tee to access devices on the i2c bus
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Fri, 14 Aug 2020 11:12:21 +0000 (13:12 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 21 Aug 2020 09:41:45 +0000 (11:41 +0200)
commitc05210ab975771e161427eb47696b869d820bdaf
treea2c858ff2aa873c31a4c7882702c992cdce9d0b5
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
drivers: optee: allow op-tee to access devices on the i2c bus

Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to
control this type of cryptographic devices it needs coordinated access
to the bus, so collisions and RUNTIME_PM dont get in the way.

This trampoline driver allow OP-TEE to access them.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/optee_msg.h
drivers/tee/optee/optee_private.h
drivers/tee/optee/rpc.c