Enable LDO17 in Linux

custom_board

#1

Hi,
How do I enable the 3.3V on LDO17?
I looked at the regulator Summary and it shows 3300mV, but the output stays 0V.

Thx,
Ofer


#2

Hi Ofer,

Typically you have some device driver for the component attached to your power-source and then you would configure (in DeviceTree) that driver to control LDO17 for you, based on use cases etc.

If you just want to turn it on, for some reason, you can find the “l17” regulator definition in apq8016-sbc.dtsi and add a line (within that node) reading “regulator-always-on;”. This will cause the regulator code to turn the regulator on when you’re booting the kernel.

Regards,
Bjorn