
On Tue, Oct 8, 2019 at 1:40 PM Fabio Estevam festevam@gmail.com wrote:
Hi Adam,
On Tue, Oct 8, 2019 at 3:32 PM Adam Ford aford173@gmail.com wrote:
The schematic shows Gen3V3 is driven by sw2_reg on the pfuze100 PMIC. Linux doesn't appear to have an issue keeping this rail up, but U-Boot shuts it down for some reason.
This patch sets 'regulator-always-on' for sw2_reg to keept this rail powered.
Why does U-Boot shuts down sw2_reg?
I don't know.
sw2_reg has a consumer: &usdhc1, so it should keep turned on.
I would agree.
Or you don't use usdhc1 port in U-Boot?
I do use usdhc1 powered from that rail, but if I enable I2C, the MMC initialization dies and the board hangs. It seems like a bug to me, but I'll look into that later. At least for now, I can use this as a work-around for keeping the board alive.
adam
Just want to understand this problem better.