devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] tilcdc-panel: Backlight and GPIO devicetree support
@ 2014-07-11 14:18 Ezequiel Garcia
       [not found] ` <1405088334-11215-1-git-send-email-ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
  2014-07-24 21:25 ` Darren Etheridge
  0 siblings, 2 replies; 14+ messages in thread
From: Ezequiel Garcia @ 2014-07-11 14:18 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Dave Airlie
  Cc: Russell King, Darren Etheridge, daniel.vetter-/w4YWyX8dFk,
	Guido Martínez, Ezequiel Garcia

Hello all,

This patchset adds the required changes to support an optional backlight
and GPIO for the tilcdc panel driver.

There was some code to support a backlight, but it was somewhat broken
and undocumented. I've followed the nice implementation in panel-simple
and added a similar one here.

The enable GPIO is required to turn on and off devices with such capability.
Also here, I've followed panel-simple which looks correct.

In addition to this there are very minor cosmetic cleanups and a larger
error path fix in tilcdc's DRM driver .load error path.

This patchset applies on top of drm-next branch which contains the latest
tilcdc pushed by Guido.

If at all possible, I'd like to get this merged for v3.17. If a pull request
is needed, don't hesitate to ask and I'll prepare one.

Comments and tests welcome!

Ezequiel Garcia (8):
  drm/tilcdc: Fix the error path in tilcdc_load()
  drm/tilcdc: panel: Add missing of_node_put
  drm/tilcdc: panel: Remove unused variable
  drm/tilcdc: panel: Spurious whitespace removal
  drm/tilcdc: panel: Use devm_kzalloc to simplify the error path
  drm/tilcdc: panel: Fix backlight devicetree support
  drm/tilcdc: panel: Set return value explicitly
  drm/tilcdc: panel: Add support for enable GPIO

 .../devicetree/bindings/drm/tilcdc/panel.txt       |  7 ++
 drivers/gpu/drm/tilcdc/tilcdc_drv.c                | 60 +++++++++++++++---
 drivers/gpu/drm/tilcdc/tilcdc_panel.c              | 74 +++++++++++++++++-----
 3 files changed, 114 insertions(+), 27 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-07-25 14:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 14:18 [PATCH 0/8] tilcdc-panel: Backlight and GPIO devicetree support Ezequiel Garcia
     [not found] ` <1405088334-11215-1-git-send-email-ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-07-11 14:18   ` [PATCH 1/8] drm/tilcdc: Fix the error path in tilcdc_load() Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 2/8] drm/tilcdc: panel: Add missing of_node_put Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 3/8] drm/tilcdc: panel: Remove unused variable Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 4/8] drm/tilcdc: panel: Spurious whitespace removal Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 5/8] drm/tilcdc: panel: Use devm_kzalloc to simplify the error path Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 6/8] drm/tilcdc: panel: Fix backlight devicetree support Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 7/8] drm/tilcdc: panel: Set return value explicitly Ezequiel Garcia
2014-07-11 14:18   ` [PATCH 8/8] drm/tilcdc: panel: Add support for enable GPIO Ezequiel Garcia
2014-07-11 15:08     ` Fabio Estevam
     [not found]       ` <CAOMZO5CawR9qMbm3HLf4+S3-pcf4m=VCUqm0W9LXXYzNzv2aOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-11 17:38         ` Ezequiel Garcia
2014-07-22 14:51   ` [PATCH 0/8] tilcdc-panel: Backlight and GPIO devicetree support Ezequiel Garcia
2014-07-24 21:25 ` Darren Etheridge
2014-07-25 14:44   ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).