~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel:topic/crc-pmic

Last commit made on 2015-07-22
Get this branch:
git clone -b topic/crc-pmic https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel
Members of Ubuntu Kernel Test can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

04cbfe6... by Shobhit Kumar

mfd: Add GPIOLIB dependency if INTEL_SOC_PMIC is to be enabled

This is needed as the CRC PMIC has support for Panel
enable/diable as gpio which needs 'gpiod_add_lookup_table'
and 'gpiod_remove_lookup_table' from gpiolib. This patch
can be squashed with below commit in topic/crc-pmic branch

    commit 61dd2ca2d44e493b050adbbb75bc50db11c367dd
    Author: Shobhit Kumar <email address hidden>
    Date: Fri Jun 26 14:32:05 2015 +0530

    mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO
    signal

    On some Intel SoC platforms, the panel enable/disable signals
    are controlled by CRC PMIC. Add those control as a new GPIO in a
    lookup table for gpio-crystalcove chip during CRC driver load

Cc: Lee Jones <email address hidden>
Cc: Linus Walleij <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

b029e66... by Shobhit Kumar

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 <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Reviewed-by: Ville Syrjälä <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

fc45e82... by Shobhit Kumar

drm/i915: Use the CRC gpio for panel enable/disable

The CRC (Crystal Cove) PMIC, controls the panel enable and disable
signals for BYT for dsi panels. This is indicated in the VBT fields. Use
that to initialize and use GPIO based control for these signals.

v2: Use the newer gpiod interface(Alexandre)
v3: Remove the redundant checks and unused code (Ville)
v4: Moved PWM vs SoC backlight #defines to intel_bios.h (Jani)

CC: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Acked-by: Linus Walleij <email address hidden>
Reviewed-by: Jani Nikula <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

a3f37a1... by Shobhit Kumar

pwm: crc: Add Crystalcove (CRC) PWM driver

The Crystalcove PMIC provides three PWM signals and this driver exports
one of them on the BYT platform which is used to control backlight for
DSI panel. This is platform device implementation of the drivers/mfd
cell device for CRC PMIC.

CC: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Cc: Paul Bolle <email address hidden>
Cc: Paul Gortmaker <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Reviewed-by: Varka Bhadram <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

a3aa9a9... by Shobhit Kumar

mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM

On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup
entry for the same to be used by the consumer (Intel GFX)

CC: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Acked-by: Lee Jones <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

3d5e10e... by Shobhit Kumar

mfd: intel_soc_pmic_crc: Add PWM cell device for Crystalcove PMIC

Needed for PWM control suuported by the PMIC

CC: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Acked-by: Lee Jones <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

61dd2ca... by Shobhit Kumar

mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal

On some Intel SoC platforms, the panel enable/disable signals are
controlled by CRC PMIC. Add those control as a new GPIO in a lookup
table for gpio-crystalcove chip during CRC driver load

CC: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Acked-by: Lee Jones <email address hidden>
Acked-by: Linus Walleij <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

be9015a... by Shobhit Kumar

gpiolib: Add support for removing registered consumer lookup table

In case we unload and load a driver module again that is registering a
lookup table, without this it will result in multiple entries. Provide
an option to remove the lookup table on driver unload

Cc: Samuel Ortiz <email address hidden>
Cc: Linus Walleij <email address hidden>
Cc: Alexandre Courbot <email address hidden>
Cc: Thierry Reding <email address hidden>
Reviewed-by: Alexandre Courbot <email address hidden>
Reviewed-by: Linus Walleij <email address hidden>
Tested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Shobhit Kumar <email address hidden>
Acked-by: Lee Jones <email address hidden>
Signed-off-by: Daniel Vetter <email address hidden>

52721d9... by Linus Torvalds <email address hidden>

Linux 4.2-rc3

fdbd55f... by Linus Torvalds <email address hidden>

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fixes from James Bottomley:
 "Two fairly simple fixes: one is a change that causes us to have a very
  low queue depth leading to performance issues and the other is a null
  deref occasionally in tapes thanks to use after put"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: fix host max depth checking for the 'queue_depth' sysfs interface
  st: null pointer dereference panic caused by use after kref_put by st_open