]> git.sur5r.net Git - u-boot/commit
imx: ventana: export backlight gpio after gpio driver is available
authorTim Harvey <tharvey@gateworks.com>
Tue, 24 May 2016 18:03:53 +0000 (11:03 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:25:02 +0000 (17:25 +0200)
commit78532623303e089e7d36b3a11d293e618b927655
treee11daa87ee5bb4206935c3347cf771860cf8c7c6
parentca628b74c97f3a6620e6f18aad5f917d51c2cdda
imx: ventana: export backlight gpio after gpio driver is available

Calling request_gpio to register bklt_gpio with the GPIO driver had no effect
in setup_display called from early board init (although pinmuxing it and
configuring it as output-low does do what it should). Therefore move the
request_gpio later in enable_lvds so that its registered for use by the
gpio command if LVDS is actually enabled.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c