Re: [Tee-dev] [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-06-08 Thread Jorge Ramirez-Ortiz, Foundries
On 08/06/20, Jens Wiklander wrote: > On Mon, Jun 01, 2020 at 09:24:46AM +0200, Jorge Ramirez-Ortiz, Foundries > wrote: > > On 01/06/20, Sumit Garg wrote: > > > Hi Jorge, > > > > hey > > > > > > > > On Mon, 1 Jun 2020 at 04:41, Jorge Ramirez-Ortiz > > > wrote: > > > > > > > > Some secure

Re: [Tee-dev] [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-06-08 Thread Jens Wiklander
On Mon, Jun 01, 2020 at 09:24:46AM +0200, Jorge Ramirez-Ortiz, Foundries wrote: > On 01/06/20, Sumit Garg wrote: > > Hi Jorge, > > hey > > > > > On Mon, 1 Jun 2020 at 04:41, Jorge Ramirez-Ortiz wrote: > > > > > > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > > >

Re: [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-06-07 Thread Jorge Ramirez-Ortiz, Foundries
On 01/06/20, Jorge Ramirez-Ortiz wrote: > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > control this type of cryptographic devices it needs coordinated access > to the bus, so collisions and RUNTIME_PM dont get in the way. > > This trampoline driver allow OP-TEE to

Re: [Tee-dev] [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-06-01 Thread Jorge Ramirez-Ortiz, Foundries
On 01/06/20, Sumit Garg wrote: > Hi Jorge, hey > > On Mon, 1 Jun 2020 at 04:41, Jorge Ramirez-Ortiz wrote: > > > > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > > control this type of cryptographic devices it needs coordinated access > > to the bus, so collisions and

Re: [Tee-dev] [PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-06-01 Thread Sumit Garg
Hi Jorge, On Mon, 1 Jun 2020 at 04:41, Jorge Ramirez-Ortiz wrote: > > Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to > control this type of cryptographic devices it needs coordinated access > to the bus, so collisions and RUNTIME_PM dont get in the way. > > This trampoline

[PATCH v2] drivers: optee: allow op-tee to access devices on the i2c bus

2020-05-31 Thread Jorge Ramirez-Ortiz
Some secure elements like NXP's SE050 sit on I2C buses. For OP-TEE to control this type of cryptographic devices it needs coordinated access to the bus, so collisions and RUNTIME_PM dont get in the way. This trampoline driver allow OP-TEE to access them. Signed-off-by: Jorge Ramirez-Ortiz ---