2023-09-15 05:06 AM
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.
Solved! Go to Solution.
2023-09-15 05:22 AM
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
2023-09-15 05:22 AM
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