
Hi Tim,
On Tue, Feb 10, 2015 at 12:50 PM, Tim Harvey tharvey@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/a1af6ac6f00b4da7c8a5656e8ff09...
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.
Can we do like your approach, but defining imx_anatop_ldobypass_enable() inside rivers/regulator/anatop-regulator.c instead?
Regards,
Fabio Estevam