diff options
| author | Bin Gao <[email protected]> | 2016-07-25 21:59:38 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-08-11 11:27:39 +0000 |
| commit | 0ba19cfc2a667ca986355e11d122c465482f12e2 (patch) | |
| tree | 33e74257ff853b44a8d2ae2cc44a5bd444bde175 /drivers/gpio/gpio-gpio-mm.c | |
| parent | gpio: Add AXP209 GPIO driver (diff) | |
| download | kernel-0ba19cfc2a667ca986355e11d122c465482f12e2.tar.gz kernel-0ba19cfc2a667ca986355e11d122c465482f12e2.zip | |
gpio: Add Intel WhiskeyCove PMIC GPIO driver
This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC.
This driver is based on gpio-crystalcove.c.
Changes in v7:
- Fixed various coding style comments from Andy Shevchenko
Changes in v6:
- Removed unnecessary wcove_gpio_remove()
- Used devm_gpiochip_remove() instead of gpiochip_remove()
- Various coding style changes per Mika's comment
Changes in v5:
- Revisited the interrupt handler code to iterate until all pending
interrupts are handled. This change is to avoid missing interrupt
when we're inside the interrupt handler.
- Used regmap_bulk_read() to read address adjacent registers.
Changes in v4:
- Converted CTLI_INTCNT_XX macros to less verbose ones INT_DETECT_XX.
- Add comments about why there is no .pm for the driver.
- Header files re-ordered.
- Various coding style change to address Andy's comments.
Changes in v3:
- Fixed the year in copyright line(2015-->2016).
- Removed DRV_NAME macro.
- Added kernel-doc for regmap_irq_chip of the wcove_gpio structure.
- Line length fix.
Changes in v2:
- Typo fix (Whsikey --> Whiskey).
- Included linux/gpio/driver.h instead of linux/gpio.h
- Implemented .set_single_ended().
- Added GPIO register description.
- Replaced container_of() with gpiochip_get_data().
- Removed unnecessary "if (gpio > WCOVE_VGPIO_NUM" check.
- Removed the device id table and added MODULE_ALIAS().
Signed-off-by: Ajay Thomas <[email protected]>
Signed-off-by: Bin Gao <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-gpio-mm.c')
0 files changed, 0 insertions, 0 deletions
