]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm: omap: board-am3517: use generic dpi panel's gpio handling
authorArchit Taneja <archit@ti.com>
Mon, 3 Dec 2012 11:11:41 +0000 (16:41 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 08:50:36 +0000 (11:50 +0300)
commit130cbe57f8f8c2fdf68eeb085f55b88a067404e8
treead249a4eba56a6425b71b07e5daecc3cb3547542
parente471e9ad57252ca46b9577c4cb3c6c08e6889bbf
arm: omap: board-am3517: use generic dpi panel's gpio handling

The am3517 board file currently requests gpios required to configure the sharp
lq DPI panel, and provides platform_enable/disable callbacks to configure them.

These tasks have been moved to the generic dpi panel driver itself and shouldn't
be done in the board files.

Remove the gpio requests and the platform callbacks from the board file.
Add the gpio information to generic dpi panel's platform data so that it's
passed to the panel driver.

Note: It's not clear why the GPIOs were muxed as input signals in PULL down mode
in am3517_evm_display_init(). Also, only the LCD_PANEL_PWR was toggled in the
platform_enable/disable calls, the generic DPI panel driver will now toggle all
the three gpios on panel's disable/enable. We need to test if these changes to
see if they have any impact or not.

Signed-off-by: Archit Taneja <archit@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/mach-omap2/board-am3517evm.c