Re: [PATCHv8 3/3] tpm_ftpm_tee: register driver on TEE bus
From: Jarkko Sakkinen
Date: Tue Jun 16 2020 - 16:57:42 EST
On Thu, Jun 04, 2020 at 08:58:51PM +0300, Maxim Uvarov wrote:
> OP-TEE based fTPM Trusted Application depends on tee-supplicant to
> provide NV RAM implementation based on RPMB secure storage. So this
> dependency can be resolved via TEE bus where we only invoke fTPM
> driver probe once fTPM device is registered on the bus which is only
> true after the tee-supplicant is up and running. Additionally, TEE bus
> provides auto device enumeration.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@xxxxxxxxxx>
> Suggested-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxxxx>
> Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
/Jarkko