]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: acx565akm panel: handle gpios in panel driver
authorArchit Taneja <archit@ti.com>
Tue, 20 Nov 2012 06:05:23 +0000 (11:35 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:47 +0000 (15:19 +0300)
commit1a5d24e1e42b61314da00143902b64ae9451c552
treeb36cae3c3ecd723b8436bfd20b3e5107b0752eea
parentca96f8ad536b66c92c7f7fb7aa1b983b8ef7ed92
OMAPDSS: acx565akm panel: handle gpios in panel driver

The acx565akm 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.

Create a platform data struct for the panel, this contains the reset gpio number
used by the panel driver, this struct will be passed to the panel driver as
platform data. The driver will request and configure the reset gpio rather than
leaving it to platform callbacks in board files.

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-acx565akm.c