diff options
author | Shobhit Kumar <shobhit.kumar@intel.com> | 2015-06-26 11:02:10 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-21 09:22:48 +0200 |
commit | b029e66fa8e39ba10dcc47b114be8da8b082493b (patch) | |
tree | e488953f5d4bd24a9bfa75427f32e1f1f442c389 /drivers/mfd | |
parent | drm/i915: Use the CRC gpio for panel enable/disable (diff) | |
download | linux-b029e66fa8e39ba10dcc47b114be8da8b082493b.tar.xz linux-b029e66fa8e39ba10dcc47b114be8da8b082493b.zip |
drm/i915: Backlight control using CRC PMIC based PWM driver
Use the CRC PWM device in intel_panel.c and add new MIPI backlight
specififc callbacks
v2: Modify to use pwm_config callback
v3: Addressed Jani's comments
- Renamed all function as pwm_* instead of vlv_*
- Call intel_panel_actually_set_backlight in enable function
- Return -ENODEV in case pwm_get fails
- in case pwm_config error return error cdoe from pwm_config
- Cleanup pwm in intel_panel_destroy_backlight
v4: Removed unused #defines and initialized backlight with INVALID_PIPE (Ville)
CC: Samuel Ortiz <sameo@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions