cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP135F-DK How to set LDO2

gunesalp
Associate

Hi, I have an STM32MP135F-DK board, and I want to set LDO2 and get an output voltage of 3.3V. I have read a document ( Integration of STM32MP13x MPU product lines and STPMIC1D / STPMIC1A on a wall adapter supply) which states that LDO2 must be set after boot sequence by software. Unfortunately I could not find a way to do that.  I am stuck and any help is appreciated.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @gunesalp 

 

Have a look into TF-A code and device tree and follow how is manage a supply like BUCK2. 

tf-a-stm32mp-v2.6-stm32mp-r2/fdts/stm32mp135f-dk.dts

Create a specific node for LDO2 in stpmic node -> by set it always-on it might  be turn-on by TF-A

For further investigation looks how it's managed starting from : 

drivers/st/pmic/stm32mp_pmic.c

 

Hope it help 

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 @gunesalp 

 

Have a look into TF-A code and device tree and follow how is manage a supply like BUCK2. 

tf-a-stm32mp-v2.6-stm32mp-r2/fdts/stm32mp135f-dk.dts

Create a specific node for LDO2 in stpmic node -> by set it always-on it might  be turn-on by TF-A

For further investigation looks how it's managed starting from : 

drivers/st/pmic/stm32mp_pmic.c

 

Hope it help 

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.