cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating STPMIC1 with STM32MP131F over I2C

Sean_62
Associate II

I am adding the STPMIC1 on our custom board.

While configuring device tree, when we are using scmi, how should device tree configuration look like? Should we still need to add i2c4 node? Or just adding scmi_regu entry will be enough?

Regards,

S

 

1 REPLY 1
Christophe Guibout
ST Employee

Hi @Sean_62,

 

PMIC is managed by OP-TEE through secure i2c, and OP-TEE exposes PMIC services through SCMI interface used by Linux kernel.

You need to add i2c4 node if your PMIC is connected to i2c4.

You need to and scmi_regu entry if you want to expose regulators to the linux kernel.

I would recommand to have a look into the existing op-tee code provided in github (ex: i2c4 node).

 

BR,

Christophe

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.