mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot
authorMarco Franchi <marco.franchi@nxp.com>
Wed, 8 Jun 2016 18:05:31 +0000 (15:05 -0300)
committerStefano Babic <sbabic@denx.de>
Sat, 18 Jun 2016 08:25:54 +0000 (10:25 +0200)
commit6c51a3644e233bce171c19cec9cec77a77beada7
treeedb238ffb3b996859cd77cdefc8521a001ada5ae
parentdc557e9a1fe00ca9d884bd88feef5bebf23fede4
mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot

Currently the LVDS backlight does not work in U-Boot after a “reboot” comand
in the kernel.

This problem occurs because the kernel uses this pin in PWM mode and U-Boot
does not configure the backlight pin as GPIO functionality.

So fix the problem by explicitly configuring the backlight pin as GPIO in
U-Boot.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6sabresd/mx6sabresd.c