Accessing SPI using OPTEE TA


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 ?


@noufal For future references, please direct all OP-TEE specific questions to Wrt to your current question, see if helps.