]> git.karo-electronics.de Git - linux-beck.git/commit
arm: omap: board-sdp3430: use sharp panel's gpio handling
authorArchit Taneja <archit@ti.com>
Tue, 12 Feb 2013 09:38:09 +0000 (15:08 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 08:50:52 +0000 (11:50 +0300)
commita05f92b70205df5927d767e9e0afecd2e5fde6d2
tree66d90d8b92b0d846f8e3202572392a74748490ca
parentfde382541d55000ffc39587d5bff4f71fde8db07
arm: omap: board-sdp3430: use sharp panel's gpio handling

The omap3430sdp board file currently requests gpios required by the sharp_ls dpi
panel, and provides platform_enable/disable callbacks to configure them.

These tasks have been moved to the sharp_ls 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 panel_sharp_ls037v7dw01_data so that it's
passed to the panel driver.

Out of sharp panel's configurable pins, all apart from resb_gpio are managed by
a CPLD on the display and set to a default value. Only the configurable pin is
passed to platform data.

The backlight GPIO doesn't go directly to the sharp panel, it is used to set up
a voltage supply which goes to the LED+ pin of the panel, hence it isn't passed
to panel as platform data, and configured in the board file itself. The
backlight used to previously toggle through the platform_enable/disable
callbacks, but now it is always on. This needs to be revisited.

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