]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: n8x0 panel: handle gpio data in panel driver
authorArchit Taneja <archit@ti.com>
Wed, 21 Nov 2012 06:38:40 +0000 (12:08 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:21:09 +0000 (15:21 +0300)
commit2073c6f951b9421b23e84ae3e3e1594b39785888
treedc092da395c4e23583ee75cb1e624c1b11156692
parent7df127c5fe4b160e48900de4705ab2bcf5961fb0
OMAPDSS: n8x0 panel: handle gpio data in panel driver

The n8x0 panel driver leaves gpio configurations to the platform_enable and
disable calls in the platform's board file. These should happen in the panel
driver itself.

A platform data struct called panel_n8x0_data already exists to hold gpio
numbers and other platform data. However, the gpio requests are expected to be
done in the board file and not the panel driver.

Request all the gpios in the panel driver so that the board files which use
the the panel don't need to do it. This will help in removing the need for the
panel drivers to have platform related callbacks.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-n8x0.c