All of lore.kernel.org
 help / color / mirror / Atom feed
* [v2 0/7] Crystalcove (CRC) PMIC based panel and pwm control
@ 2015-06-22 10:54 ` Shobhit Kumar
  0 siblings, 0 replies; 40+ messages in thread
From: Shobhit Kumar @ 2015-06-22 10:54 UTC (permalink / raw)
  To: linux-pwm, intel-gfx, linux-kernel, dri-devel, linux-gpio
  Cc: Alexandre Courbot, Paul Bolle, Samuel Ortiz, Povilas Staniulis,
	Jani Nikula, Shobhit Kumar, Linus Walleij, Paul Gortmaker,
	bloften80, David Airlie, Chih-Wei Huang, Thierry Reding,
	Daniel Vetter, Lee Jones

Hi All,
On some of the BYT devices, for DSI panels, the panel enable/disable signals
and backlight control are done using the Crystalcove PMIC. This series provides
support for the same and has been reviewed earlier on -
https://lkml.org/lkml/2015/4/29/301

This series addresses the review comments with one patch from last set already merged as -
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=efb0de55b6a2ec15fc424e660601f22ae2fa487a

Basically following are implemented -

1. GPIO control for panel enable/disable with GFX device as consumer
2. New PWM chip driver added for CRC PMIC based backlight control
3. i915 is modified to use the CRC gpio chip and the CRC PWM chip to do
   backlight control. This is now added in the generic panel backlight
   control infrastructure

All these patches have been tested on AsusT100 and working fine using
/sys/class/backlight/intel_backlight interface.

Patches were also verified on android-x86 tree for AsusT100.

Regards
Shobhit

Shobhit Kumar (7):
  gpiolib: Add support for removing registered consumer lookup table
  mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO
    signal
  mfd: intel_soc_pmic_crc: Add PWM cell device for Crystalcove PMIC
  mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM
  pwm: crc: Add Crystalcove (CRC) PWM driver
  drm/i915: Use the CRC gpio for panel enable/disable
  drm/i915: Backlight control using CRC PMIC based PWM driver

 drivers/gpio/gpiolib.c             |  13 ++++
 drivers/gpu/drm/i915/intel_bios.h  |   7 ++
 drivers/gpu/drm/i915/intel_drv.h   |   4 +
 drivers/gpu/drm/i915/intel_dsi.c   |  38 ++++++++-
 drivers/gpu/drm/i915/intel_dsi.h   |   3 +
 drivers/gpu/drm/i915/intel_panel.c |  95 +++++++++++++++++++++--
 drivers/mfd/intel_soc_pmic_core.c  |  29 +++++++
 drivers/mfd/intel_soc_pmic_crc.c   |   3 +
 drivers/pwm/Kconfig                |   7 ++
 drivers/pwm/Makefile               |   1 +
 drivers/pwm/pwm-crc.c              | 155 +++++++++++++++++++++++++++++++++++++
 include/linux/gpio/machine.h       |   1 +
 12 files changed, 349 insertions(+), 7 deletions(-)
 create mode 100644 drivers/pwm/pwm-crc.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] 40+ messages in thread

end of thread, other threads:[~2015-07-15  8:05 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-22 10:54 [v2 0/7] Crystalcove (CRC) PMIC based panel and pwm control Shobhit Kumar
2015-06-22 10:54 ` Shobhit Kumar
2015-06-22 10:54 ` [v2 1/7] gpiolib: Add support for removing registered consumer lookup table Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-07-15  8:05   ` Linus Walleij
2015-07-15  8:05     ` Linus Walleij
2015-06-22 10:54 ` [v2 2/7] mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-22 10:54 ` [v2 3/7] mfd: intel_soc_pmic_crc: Add PWM cell device for Crystalcove PMIC Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-22 10:54 ` [v2 4/7] mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-22 11:03   ` Varka Bhadram
2015-06-22 11:03     ` Varka Bhadram
2015-06-22 14:19     ` Daniel Vetter
2015-06-22 14:19       ` [Intel-gfx] " Daniel Vetter
2015-06-23  7:19       ` Lee Jones
2015-06-23  7:19         ` [Intel-gfx] " Lee Jones
2015-06-25 12:33         ` Shobhit Kumar
2015-06-25 12:33           ` Shobhit Kumar
2015-06-22 10:54 ` [v2 5/7] pwm: crc: Add Crystalcove (CRC) PWM driver Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-22 11:16   ` Varka Bhadram
2015-06-22 11:16     ` Varka Bhadram
2015-06-23 12:49     ` [Intel-gfx] " Shobhit Kumar
2015-06-23 12:49       ` Shobhit Kumar
2015-06-22 10:54 ` [v2 6/7] drm/i915: Use the CRC gpio for panel enable/disable Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-22 10:54 ` [v2 7/7] drm/i915: Backlight control using CRC PMIC based PWM driver Shobhit Kumar
2015-06-22 10:54   ` Shobhit Kumar
2015-06-25  8:48   ` [Intel-gfx] " Ville Syrjälä
2015-06-25  8:48     ` Ville Syrjälä
2015-06-25 12:08     ` Shobhit Kumar
2015-06-25 12:08       ` Shobhit Kumar
2015-06-25 12:47       ` Ville Syrjälä
2015-06-25 12:47         ` Ville Syrjälä
2015-06-25 13:24         ` Shobhit Kumar
2015-06-25 13:24           ` Shobhit Kumar
2015-06-26  8:31       ` Jani Nikula
2015-06-26  8:31         ` 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.