Skip to main content
Visitor II
March 14, 2025
Solved

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

  • March 14, 2025
  • 1 reply
  • 527 views

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

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    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 

     

     

    1 reply

    Technical Moderator
    March 14, 2025

    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