AnsweredAssumed Answered

Access PMIC registers directly from APs in iMX8qm

Question asked by mehdi.taabouri on Jan 19, 2020
Latest reply on Jan 20, 2020 by igorpadykov

The System Controller firmware API does not have support to access the I2C bus between SCU and the PMIC in iMX8qm. We need to be able to send commands to the PMIC from the Linux user space running in the APs, possibly via RPC call. We're especially interested in functions like

status_t i2c_write(..); and i2c_read(..) provided by the SCFW source code.

 

Is there a reasonable workaround that doesn't require kernel changes and adding extra commands to the SCU API?#

Outcomes