Skip to main content
Visitor II
September 15, 2023
Solved

STM32MP135F-DK How to set LDO2

  • September 15, 2023
  • 1 reply
  • 2492 views

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.

 

 

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

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 
 

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
September 15, 2023

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.