cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify PMIC voltages in Linux with OP-TEE and SCMI

jerome900e
Associate

Hi,

I'm working with an STM32MP257-EV1, and security is managed by OP-TEE. I'm trying to dynamically modify PMIC voltages from a Linux module.

I've read that the PMIC is managed by OP-TEE via the SCMI subsystem.
I tried calling the Trusted App SCMI from the OP-TEE Client API, but I got an "access denied" error.

Should I use the SCMI Client API directly or the Linux regulator API?
Is it possible to get a code example of PMIC management from Linux via OP-TEE? I found a lot of explanations and diagrams, but I counldn't find any actual source code examples.

Best regards,
Jerome

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @jerome900e ,

 

Thanks for the post. 

 

We know your company is engaged in a product Developpement with STM32MP2 and usually used OLS Home to request some support. 

I recommend sticking on this flow for better efficiency. 

 

Thanks,

 

Olivier 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @jerome900e ,

 

Thanks for the post. 

 

We know your company is engaged in a product Developpement with STM32MP2 and usually used OLS Home to request some support. 

I recommend sticking on this flow for better efficiency. 

 

Thanks,

 

Olivier 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.