All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/4] Crystal Cove PMIC based Panel and Backlight Control
@ 2015-01-02 13:41 Shobhit Kumar
  2015-01-02 13:41 ` [RFC v2 1/4] drm: Add support to find drm_panel by name Shobhit Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Shobhit Kumar @ 2015-01-02 13:41 UTC (permalink / raw)
  To: intel-gfx; +Cc: Jani Nikula, Daniel Vetter, jacob.jun.pan, Shobhit Kumar

Hi All
Please find modifed set of patches. Sending as a separate thread as initial
patches were a crude implementation to trigger discussion, but these have been 
tested and also do not need intel_soc_pmic_writeb/readb functionaly, but uses
the regmap interface as suggested by Jacob.

These patches implement a drm_panel as a platform driver for the mfd_cell device
declared in intel_soc_pmic_core.c. 

Still there are opens, where I need closure - 
1. Added a new drm_panel, but how to find the panel in lack of OF info. For now
   added a drm_panel function to find panel by name.
2. Backlight also needs similar pmic based control. Is it okay to add a backlight
   class driver also as part of this panel driver ?

For now I am doing Backlight Enable/Disable also during panel/enable as this will
at least save power. Backlight control will need a backlight class driver.

Regards
Shobhit

Shobhit Kumar (4):
  drm: Add support to find drm_panel by name
  mfd: Add a new cell device for panel controlled by crystal cove pmic
  drm/panel: Add new panel driver based on crystal cove pmic
  drm/i915: Enable DSI panel enable/disable based on PMIC

 drivers/gpu/drm/drm_panel.c                |  18 +++
 drivers/gpu/drm/i915/Kconfig               |   1 +
 drivers/gpu/drm/i915/intel_dsi.c           |  16 +++
 drivers/gpu/drm/i915/intel_dsi.h           |   6 +
 drivers/gpu/drm/i915/intel_dsi_panel_vbt.c |   1 +
 drivers/gpu/drm/panel/Kconfig              |   7 ++
 drivers/gpu/drm/panel/Makefile             |   1 +
 drivers/gpu/drm/panel/panel-crystalcove.c  | 191 +++++++++++++++++++++++++++++
 drivers/mfd/intel_soc_pmic_crc.c           |   3 +
 include/drm/drm_panel.h                    |   3 +
 10 files changed, 247 insertions(+)
 create mode 100644 drivers/gpu/drm/panel/panel-crystalcove.c

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2015-01-16 12:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-02 13:41 [RFC v2 0/4] Crystal Cove PMIC based Panel and Backlight Control Shobhit Kumar
2015-01-02 13:41 ` [RFC v2 1/4] drm: Add support to find drm_panel by name Shobhit Kumar
2015-01-09 12:50   ` Jani Nikula
2015-01-12  7:37     ` Kumar, Shobhit
2015-01-12 23:08     ` [Intel-gfx] " Daniel Vetter
2015-01-13 15:14       ` Andrzej Hajda
2015-01-16 12:19       ` Thierry Reding
2015-01-02 13:41 ` [RFC v2 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic Shobhit Kumar
2015-01-02 13:41 ` [RFC v2 3/4] drm/panel: Add new panel driver based on " Shobhit Kumar
2015-01-09 13:08   ` Jani Nikula
2015-01-12  8:26     ` Kumar, Shobhit
2015-01-12  9:02       ` Kumar, Shobhit
2015-01-02 13:41 ` [RFC v2 4/4] drm/i915: Enable DSI panel enable/disable based on PMIC Shobhit Kumar
2015-01-09 13:17   ` Jani Nikula
2015-01-12  8:23     ` Kumar, Shobhit
2015-01-12 23:11       ` Daniel Vetter
2015-01-07  5:06 ` [RFC v2 0/4] Crystal Cove PMIC based Panel and Backlight Control Kumar, Shobhit
2015-01-09 13:20 ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.