diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-02-12 14:59:17 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-03 15:19:46 +0300 |
commit | 0801711e1eea061cfdec2ad5bf1be687f7098c06 (patch) | |
tree | cbf3f2277ce8b7084a91f24e5e1738940792569b /drivers/hwmon/ad7314.c | |
parent | ba7b2d987dea0847782e8ad9a7bcc9429896d7ac (diff) | |
download | linux-0801711e1eea061cfdec2ad5bf1be687f7098c06.tar.gz |
OMAPDSS: generic dpi panel: handle gpios in panel driver
The generic dpi 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.
Add a generic way of passing gpio information to the generic dpi panel driver
via it's platform_data. This information includes the number of gpios used by
the panel, the gpio number and logic level (active high/low) for each gpio. This
gpio data will be used by the driver to request and configure the gpios required
by the panel.
This will help in removing the need for the panel drivers to have platform
related callbacks.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/hwmon/ad7314.c')
0 files changed, 0 insertions, 0 deletions