linux/drivers/gpu/drm/tilcdc
Uwe Kleine-König 26a5bd2649 drm/tilcdc: panel: make better use of gpiod API
Since 39b2bbe3d7 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Furthermore there is devm_gpiod_get_optional which is designed to get
optional gpios.

Simplify driver accordingly.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2015-07-06 10:10:21 +02:00
..
Kconfig drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
Makefile drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_crtc.c drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_drv.c drm/tilcdc: use pm_runtime_irq_safe() 2015-05-27 13:13:33 +03:00
tilcdc_drv.h drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_external.c drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_external.h drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_panel.c drm/tilcdc: panel: make better use of gpiod API 2015-07-06 10:10:21 +02:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_regs.h drm/tilcdc: support pixel widths greater than 1024 2013-06-28 09:12:13 +10:00
tilcdc_slave_compat.c drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c drm/tilcdc: Fix build breakage 2014-07-10 12:01:38 +10:00
tilcdc_tfp410.h