public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [RFC v5 0/9] Crystalcove (CRC) PMIC based panel and pwm control
@ 2015-03-12 16:31 Shobhit Kumar
  2015-03-12 16:31 ` [RFC v5 1/9] drivers/mfd: Add lookup table for Panel Control as GPIO signal Shobhit Kumar
                   ` (8 more replies)
  0 siblings, 9 replies; 38+ messages in thread
From: Shobhit Kumar @ 2015-03-12 16:31 UTC (permalink / raw)
  To: intel-gfx; +Cc: Jani Nikula, Daniel Vetter, Shobhit Kumar

Hi All,
These patches try to enable panel control as a new GPIO via lookup table
during pmic core driver loading. Code is modifed to use generic gpiod_*
routines which will take care of ownership issues. 

Also a new PWM cell device is added to the PMIC MFD. New PWM driver pwm-crc
is used to do pwm control. Since the pwm is to be configured using clock
divisor and duty percent instead of period_ns and duty_ns new helpers have been
attempted in pwm core framework. Again pwm is added to a lookup table during
PMIC core driver load time.

Finally all is tied in the display driver enabling DSI panel. As of now the pwm
use is not hooked in to the bigger backlight class driver based infra in i915
but will be done as next step.

Sending all patches together to give a complete view of changes and how they gel
together. Please provide your comments.

Regards
Shobhit

Shobhit Kumar (9):
  drivers/mfd: Add lookup table for Panel Control as GPIO signal
  gpio/crystalcove: Add additional GPIO for Panel control
  drm/i915: Use the CRC gpio for panel enable/disable
  drivers/pwm: Add helper to configure pwm using clock divisor and duty
    percent
  drivers/mfd: Add PWM cell device for Crystalcove PMIC
  drivers/pwm: Add Crystalcove (CRC) PWM driver
  drivers/pwm: Remove __init initializer for pwm_add_table
  drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM
  drm/i915: Backlight control using CRC PMIC based PWM driver

 drivers/gpio/gpio-crystalcove.c   |   7 +-
 drivers/gpu/drm/i915/intel_dsi.c  |  59 +++++++++++++-
 drivers/gpu/drm/i915/intel_dsi.h  |  13 +++
 drivers/mfd/intel_soc_pmic_core.c |  23 ++++++
 drivers/mfd/intel_soc_pmic_crc.c  |   3 +
 drivers/pwm/Kconfig               |   7 ++
 drivers/pwm/Makefile              |   1 +
 drivers/pwm/core.c                |  26 +++++-
 drivers/pwm/pwm-crc.c             | 161 ++++++++++++++++++++++++++++++++++++++
 include/linux/pwm.h               |  33 ++++++++
 10 files changed, 329 insertions(+), 4 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] 38+ messages in thread

end of thread, other threads:[~2015-04-13  8:02 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 16:31 [RFC v5 0/9] Crystalcove (CRC) PMIC based panel and pwm control Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 1/9] drivers/mfd: Add lookup table for Panel Control as GPIO signal Shobhit Kumar
2015-03-24  8:51   ` Thierry Reding
2015-03-24  9:37   ` Linus Walleij
2015-03-25 14:53   ` Linus Walleij
2015-03-12 16:31 ` [RFC v5 2/9] gpio/crystalcove: Add additional GPIO for Panel control Shobhit Kumar
2015-03-18 11:54   ` Linus Walleij
2015-03-25 14:51   ` Linus Walleij
2015-03-12 16:31 ` [RFC v5 3/9] drm/i915: Use the CRC gpio for panel enable/disable Shobhit Kumar
2015-03-13 14:29   ` Ville Syrjälä
2015-03-16  4:42     ` [PATCH " Shobhit Kumar
2015-03-18 12:19       ` Linus Walleij
2015-03-24  8:32         ` Daniel Vetter
2015-03-24  9:35           ` Linus Walleij
2015-03-24  9:50             ` Daniel Vetter
2015-03-24 10:16               ` Linus Walleij
2015-03-24 10:53                 ` Daniel Vetter
2015-03-25 12:24                   ` Linus Walleij
2015-03-25 13:13                     ` Daniel Vetter
2015-03-25 14:16                       ` Shobhit Kumar
2015-03-25 14:55                       ` Linus Walleij
2015-03-25 15:45                         ` Daniel Vetter
2015-03-12 16:31 ` [RFC v5 4/9] drivers/pwm: Add helper to configure pwm using clock divisor and duty percent Shobhit Kumar
2015-03-13 13:58   ` [PATCH " Shobhit Kumar
2015-03-24  8:23     ` Thierry Reding
2015-04-01  6:28       ` Shobhit Kumar
2015-04-10  8:29         ` Thierry Reding
2015-04-13  8:02           ` Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 5/9] drivers/mfd: Add PWM cell device for Crystalcove PMIC Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 6/9] drivers/pwm: Add Crystalcove (CRC) PWM driver Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 7/9] drivers/pwm: Remove __init initializer for pwm_add_table Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 8/9] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM Shobhit Kumar
2015-03-12 16:31 ` [RFC v5 9/9] drm/i915: Backlight control using CRC PMIC based PWM driver Shobhit Kumar
2015-03-13 14:30   ` Ville Syrjälä
2015-03-13 17:20     ` Daniel Vetter
2015-03-16  4:23       ` Shobhit Kumar
2015-03-16  4:33     ` Shobhit Kumar
2015-03-24  8:59     ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox