All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Crystalcove (CRC) PMIC based panel and pwm control
@ 2015-04-29 13:59 ` Shobhit Kumar
  0 siblings, 0 replies; 79+ messages in thread
From: Shobhit Kumar @ 2015-04-29 13:59 UTC (permalink / raw)
  To: intel-gfx, linux-kernel, linux-gpio, linux-pwm, dri-devel
  Cc: Alexandre Courbot, Samuel Ortiz, Povilas Staniulis, David Airlie,
	Shobhit Kumar, Linus Walleij, Jani Nikula, 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 - 
http://lists.freedesktop.org/archives/intel-gfx/2015-March/061908.html

This series addresses the review comments with two of the patches already merged
in linux-next as - 

http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e189ca56d91bbf1d3fe2f88ab6858bf919d42adf
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=c264f1110d27185f8531602f5fce400a6bbce946

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 are also verified on android-x86 tree for AsusT100.

Regards
Shobhit

Shobhit Kumar (8):
  drivers/gpio/gpiolib: Add support for removing registered consumer
    lookup table
  drivers/pwm/core: Add support to remove registered consumer lookup
    tables
  drivers/mfd: Add lookup table for Panel Control as GPIO signal
  drivers/mfd: Add PWM cell device for Crystalcove PMIC
  drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM
  drivers/pwm: 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_drv.h   |   5 ++
 drivers/gpu/drm/i915/intel_dsi.c   |  38 ++++++++-
 drivers/gpu/drm/i915/intel_dsi.h   |   6 ++
 drivers/gpu/drm/i915/intel_panel.c |  92 ++++++++++++++++++--
 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/core.c                 |  17 ++++
 drivers/pwm/pwm-crc.c              | 171 +++++++++++++++++++++++++++++++++++++
 include/linux/gpio/machine.h       |   1 +
 include/linux/pwm.h                |   5 ++
 13 files changed, 381 insertions(+), 7 deletions(-)
 create mode 100644 drivers/pwm/pwm-crc.c

-- 
2.1.0

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

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

end of thread, other threads:[~2015-06-22  7:55 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 13:59 [PATCH 0/8] Crystalcove (CRC) PMIC based panel and pwm control Shobhit Kumar
2015-04-29 13:59 ` Shobhit Kumar
2015-04-29 13:59 ` [PATCH 1/8] drivers/gpio/gpiolib: Add support for removing registered consumer lookup table Shobhit Kumar
2015-05-05  9:32   ` [PATCH 1/8] gpiolib: " Shobhit Kumar
2015-05-05  9:32     ` Shobhit Kumar
2015-05-05 10:45     ` Lee Jones
2015-05-05 10:45       ` Lee Jones
2015-05-05 15:44       ` [Intel-gfx] " Daniel Vetter
2015-05-05 15:44         ` Daniel Vetter
2015-05-07  7:25         ` Lee Jones
2015-05-07  7:25           ` [Intel-gfx] " Lee Jones
2015-05-06 14:49   ` [PATCH 1/8] drivers/gpio/gpiolib: " Linus Walleij
2015-05-06 14:49     ` Linus Walleij
2015-05-06 15:09     ` Daniel Vetter
2015-05-06 15:09       ` [Intel-gfx] " Daniel Vetter
2015-05-12  8:52       ` Linus Walleij
2015-05-12  8:52         ` Linus Walleij
2015-04-29 13:59 ` [PATCH 2/8] drivers/pwm/core: Add support to remove registered consumer lookup tables Shobhit Kumar
2015-05-05  9:34   ` [PATCH 2/8] pwm: core: " Shobhit Kumar
2015-05-05  9:34     ` Shobhit Kumar
2015-05-06 12:21     ` Thierry Reding
2015-05-06 12:21       ` Thierry Reding
2015-04-29 14:00 ` [PATCH 3/8] drivers/mfd: Add lookup table for Panel Control as GPIO signal Shobhit Kumar
2015-04-29 14:27   ` Lee Jones
2015-04-30  7:17     ` Shobhit Kumar
2015-04-29 14:29   ` Lee Jones
2015-04-29 14:29     ` Lee Jones
2015-05-05  9:36   ` [PATCH 3/8] mfd: intel_soc_pmic_core: " Shobhit Kumar
2015-05-12  9:14     ` Linus Walleij
2015-05-12  9:14       ` Linus Walleij
2015-05-06 14:51   ` [PATCH 3/8] drivers/mfd: " Linus Walleij
2015-05-06 14:51     ` Linus Walleij
2015-04-29 14:00 ` [PATCH 4/8] drivers/mfd: Add PWM cell device for Crystalcove PMIC Shobhit Kumar
2015-04-29 14:00   ` Shobhit Kumar
2015-04-29 14:25   ` Lee Jones
2015-04-29 14:25     ` Lee Jones
2015-05-05  9:36   ` [PATCH 4/8] mfd: intel_soc_pmic_crc: " Shobhit Kumar
2015-04-29 14:00 ` [PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM Shobhit Kumar
2015-04-29 14:00   ` Shobhit Kumar
2015-04-29 14:24   ` Lee Jones
2015-05-05  9:48     ` Shobhit Kumar
2015-05-05 10:42       ` Lee Jones
2015-05-05 10:42         ` Lee Jones
2015-05-05  9:38   ` [PATCH 5/8] mfd: intel_soc_pmic_core: " Shobhit Kumar
2015-05-05  9:38     ` Shobhit Kumar
2015-04-29 14:00 ` [PATCH 6/8] drivers/pwm: Add Crystalcove (CRC) PWM driver Shobhit Kumar
2015-04-29 14:00   ` Shobhit Kumar
2015-04-30 21:12   ` Paul Bolle
2015-06-18 17:54     ` [Intel-gfx] " Shobhit Kumar
2015-06-18 18:41       ` Paul Bolle
2015-06-19  6:46         ` Shobhit Kumar
2015-06-19  6:46           ` [Intel-gfx] " Shobhit Kumar
2015-06-20 11:23           ` Paul Bolle
2015-06-20 11:23             ` Paul Bolle
2015-06-20 18:04             ` Paul Gortmaker
2015-06-20 18:04               ` Paul Gortmaker
2015-06-22  7:55               ` Shobhit Kumar
2015-06-22  7:55                 ` [Intel-gfx] " Shobhit Kumar
2015-05-05  9:38   ` [PATCH 6/8] pwm: crc: " Shobhit Kumar
2015-05-05  9:38     ` Shobhit Kumar
2015-05-06  7:40     ` Paul Bolle
2015-05-06  7:40       ` Paul Bolle
2015-05-07  7:13       ` [Intel-gfx] " Shobhit Kumar
2015-05-06 12:14     ` Thierry Reding
2015-05-07  7:19       ` [Intel-gfx] " Shobhit Kumar
2015-05-20 15:09         ` Shobhit Kumar
2015-06-17  2:43           ` Shobhit Kumar
2015-04-29 14:00 ` [PATCH 7/8] drm/i915: Use the CRC gpio for panel enable/disable Shobhit Kumar
2015-04-29 14:00   ` Shobhit Kumar
2015-05-06 13:11   ` Jani Nikula
2015-05-06 13:11     ` Jani Nikula
2015-05-06 14:08     ` Daniel Vetter
2015-05-06 14:08       ` [Intel-gfx] " Daniel Vetter
2015-05-12 11:10   ` Linus Walleij
2015-04-29 14:00 ` [PATCH 8/8] drm/i915: Backlight control using CRC PMIC based PWM driver Shobhit Kumar
2015-04-29 14:00   ` Shobhit Kumar
2015-05-01  2:03   ` shuang.he
2015-05-06 13:39   ` Jani Nikula
2015-05-06 13:39     ` 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.