How to modify PMIC voltages in Linux with OP-TEE and SCMI
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
