[U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass
Tim Harvey
tharvey at gateworks.com
Tue Feb 10 16:29:23 CET 2015
On Tue, Feb 10, 2015 at 6:59 AM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Tim,
>
> On Tue, Feb 10, 2015 at 12:50 PM, Tim Harvey <tharvey at gateworks.com> wrote:
>
>> I think what you are trying to do here is to put the anatop regulators
>> in bypass mode so that the Freescale vendor kernel leaves them
>> bypassed (which is what the 3.10.x based vendor kernels supporting
>> device-tree at http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git
>> do). This is what the Freescale vendor U-Boot does and so they have
>> created a horrible dependence between kernel and bootloader.
>
> I agree.
>
>> Instead you may be interested in what I did for our BSP's that use the
>> Freescale vendor kernel. Instead of touching U-Boot, I look for the
>> fsl,ldo-bypass node in the kernel and enable it just like their
>> bootloader would have:
>> https://github.com/Gateworks/linux-imx6/commit/a1af6ac6f00b4da7c8a5656e8ff093d4ab5cadee
>>
>> That said, I would love to see some help getting IMX6 ldo-bypass
>> support upstream. All of our boards have an external PMIC and are
>
> I want to help you on upstreaming ldo-bypass support in the kernel, Tim.
Great!
>
> Can we do like your approach, but defining
> imx_anatop_ldobypass_enable() inside
> rivers/regulator/anatop-regulator.c instead?
Yes, I think that makes sense. I hope to be able to get back to this
in a couple of weeks after a round of U-Boot updates that are next on
my list.
Thanks,
Tim
More information about the U-Boot
mailing list