[PATCH] arm: imx6q_logic: Enable I2C PMIC

Fabio Estevam festevam at gmail.com
Wed Aug 19 21:52:25 CEST 2020


Hi Adam,

On Wed, Aug 19, 2020 at 9:13 AM Adam Ford <aford173 at gmail.com> wrote:

> The issue I am seeing is U-Boot specific, because Linux doesn't power
> this rail down.  I'd rather not keep this regulator-always-on in
> Linux, and I want to keep the devices trees between U-Boot and Linux

Yes, I also prefer to always keep them in sync.

> the same. In the device tree, I have associated this rail to the SDHC
> interface , but for some reason, U-Boot still powers it down, so when
> it tries to go and read from the SD card, the system hangs.

Interesting. Then this needs to be investigated, otherwise we will
just paper over the real problem without understanding its root cause.

Why is U-Boot powering the regulator down?

The device tree representation of the regulators is agnostic to U-Boot
or kernel, as it just represents the hardware, so I prefer that the
correct regulator description is passed in the main device tree
instead of hacking the specific U-Boot device tree.


More information about the U-Boot mailing list