From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Harvey Date: Tue, 10 Feb 2015 07:29:23 -0800 Subject: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass In-Reply-To: References: <1420793987-7621-1-git-send-email-Peng.Fan@freescale.com> <1420793987-7621-8-git-send-email-Peng.Fan@freescale.com> <54D9EA4D.7010307@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 10, 2015 at 6:59 AM, Fabio Estevam wrote: > Hi Tim, > > On Tue, Feb 10, 2015 at 12:50 PM, Tim Harvey 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