]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: tee: i2c trampoline driver
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Mon, 25 Jan 2021 12:28:40 +0000 (14:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:48:20 +0000 (11:48 -0500)
commit4e9635618529e0e404b641e155513ad7f313f423
treeb10aa37f03c9fdfa9cb268a2b2684a51cb0cb43c
parenteb5fd9e46c11ea41430d9c5bcc81d4583424216e
drivers: tee: i2c trampoline driver

This commit gives the secure world access to the I2C bus so it can
communicate with I2C slaves (typically those would be secure elements
like the NXP SE050).

A similar service implementation has been merged in linux:
c05210ab ("drivers: optee: allow op-tee to access devices on the i2c
bus")

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/tee/optee/Makefile
drivers/tee/optee/i2c.c [new file with mode: 0644]
drivers/tee/optee/optee_msg.h
drivers/tee/optee/optee_msg_supplicant.h
drivers/tee/optee/optee_private.h
drivers/tee/optee/supplicant.c