[PATCHv3 1/4] drivers: tee: i2c trampoline driver
    Simon Glass 
    sjg at chromium.org
       
    Wed Jan 13 17:10:43 CET 2021
    
    
  
On Tue, 12 Jan 2021 at 01:43, Jorge Ramirez-Ortiz <jorge at foundries.io> wrote:
>
> 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 at foundries.io>
> ---
>  drivers/tee/optee/Makefile               |  1 +
>  drivers/tee/optee/i2c.c                  | 90 ++++++++++++++++++++++++
>  drivers/tee/optee/optee_msg.h            | 21 ++++++
>  drivers/tee/optee/optee_msg_supplicant.h |  5 ++
>  drivers/tee/optee/optee_private.h        | 17 +++++
>  drivers/tee/optee/supplicant.c           |  3 +
>  6 files changed, 137 insertions(+)
>  create mode 100644 drivers/tee/optee/i2c.c
>
Reviewed-by: Simon Glass <sjg at chromium.org>
    
    
More information about the U-Boot
mailing list