From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 23 Feb 2015 09:03:09 +0100 Subject: [U-Boot] [PATCH 2/2] mx25pdk: Turn on the LCD supply In-Reply-To: <1424546453-14026-2-git-send-email-festevam@gmail.com> References: <1424546453-14026-1-git-send-email-festevam@gmail.com> <1424546453-14026-2-git-send-email-festevam@gmail.com> Message-ID: <54EADEBD.1060207@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21/02/2015 20:20, Fabio Estevam wrote: > From: Fabio Estevam > > Currently there is no support for MC34704 PMIC in the mainline kernel. > > Turn on the LCD supply via bootloader for the time being, so that we could > use the LCD in the kernel. > > Signed-off-by: Fabio Estevam > --- > board/freescale/mx25pdk/mx25pdk.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c > index 71a395c..01dac72 100644 > --- a/board/freescale/mx25pdk/mx25pdk.c > +++ b/board/freescale/mx25pdk/mx25pdk.c > @@ -146,8 +146,8 @@ int board_late_init(void) > if (!p) > return -ENODEV; > > - /* Turn on Ethernet PHY supply */ > - pmic_reg_write(p, MC34704_GENERAL2_REG, ONOFFE); > + /* Turn on Ethernet PHY and LCD supplies */ > + pmic_reg_write(p, MC34704_GENERAL2_REG, ONOFFE | ONOFFA); > > return 0; > } > Acked-by: Stefano Babic Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================