[RFC v5 0/9] Crystalcove (CRC) PMIC based panel and pwm control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux