Accessing SPI using OPTEE TA

Hi,

I am trying to implement SPI support using OPTEE on Hikey960 platform. I have following queries about the implementation.

  1. Can I use non secure Client APIs(Or exported of driver API function) from non secure kernel modules? Instead of using usermode client application, i would like to use kernel module in non secure side.
  2. Is there any document or readme available for implementing SPI support in OP-TEE ?

Regards
Noufal

@noufal For future references, please direct all OP-TEE specific questions to https://github.com/OP-TEE/optee_os/issues/new. Wrt to your current question, see if https://github.com/OP-TEE/optee_os/issues/3578 helps.