[GIT PULL] extcon next for v4.12

From: Chanwoo Choi
Date: Mon Apr 10 2017 - 01:40:09 EST


Dear Greg,

This is extcon-next pull request for v4.12. I add detailed description of
this pull request on below. Please pull extcon with following updates.

Best Regards,
Chanwoo Choi

The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8:

Linux 4.11-rc4 (2017-03-26 14:15:16 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-next-for-4.12

for you to fetch changes up to 70641a0a84e1ae3c6eee3d47ed5a482f85b11e3e:

extcon: Use BIT() macro for the left-shift operation (2017-04-06 11:12:45 +0900)

----------------------------------------------------------------
Update extcon for 4.12

Detailed description for this pull request:
1. Add new 'extcon-intel-cht-wc.c' driver
- Intel Cherrytrail Whiskey Cove PMIC extcon driver supports
the detection of the charger connectors and the control.

2. Add new extcon API to monitor the all external connectors.
- The extcon consumer might need to monitor the all supported external
connectors from the extcon device. Before, the extcon consumer
should have each notifier_block structure for each external connector.

In order to support the requirement, the extcon adds new
extcon_register_notifier_all() API. The extcon consumer is able
to monitor the state change of all supported external connectors
from the extcon device by using only one notifier_block.

- extcon_(register|unregister)_notifier_all(struct extcon_dev *edev
struct notifier_block *nb)
- devm_extcon_(register|unregister)_notifier_all(struct device *dev,
struct extcon_dev *edev
struct notifier_block *nb)

3. Remove porting compatibility of old switch class
- The extcon removes the porting compatibility of old switch class
because there are no any use-case and requirement of switch class.

4. Update the extcon drivers and Fix the minor issues
- Revert the ACPI gpio interface on the extcon-usb-gpioc.c.
- Fix the issues related to the suspend-to-ram for both extcon-usb-gpio.c
and extcon-palmas.c.
- Add warning message for extcon-arizona.c when headphone detection is not
finished.

----------------------------------------------------------------
Andy Shevchenko (1):
Revert "extcon: usb-gpio: add support for ACPI gpio interface"

Chanwoo Choi (4):
extcon: Add new extcon_register_notifier_all() to monitor all external connectors
Merge branch 'ib-extcon-4.12' into HEAD
extcon: Remove porting compatibility of swich class
extcon: Use BIT() macro for the left-shift operation

Charles Keepax (1):
extcon: arizona: Wait for any running HPDETs to complete on jack removal

Hans de Goede (3):
extcon: intel-cht-wc: Add Intel Cherry Trail Whiskey Cove PMIC extcon driver
extcon: intel-cht-wc: Disable external 5v boost converter on probe
extcon: intel-cht-wc: Ignore failure to detect charger-type on host mode exit

Peter Chen (1):
extcon: usb-gpio: Do not enable USB as wakeup source by default

Roger Quadros (2):
extcon: usb-gpio: Don't miss event during suspend/resume
extcon: palmas: Don't miss GPIO events during suspend/resume

Documentation/extcon/porting-android-switch-class | 123 -------
drivers/extcon/Kconfig | 7 +
drivers/extcon/Makefile | 1 +
drivers/extcon/devres.c | 61 ++++
drivers/extcon/extcon-arizona.c | 46 +++
drivers/extcon/extcon-intel-cht-wc.c | 395 ++++++++++++++++++++++
drivers/extcon/extcon-palmas.c | 6 +
drivers/extcon/extcon-usb-gpio.c | 10 +-
drivers/extcon/extcon.c | 88 +++--
drivers/extcon/extcon.h | 3 +
include/linux/extcon.h | 21 +-
11 files changed, 606 insertions(+), 155 deletions(-)
delete mode 100644 Documentation/extcon/porting-android-switch-class
create mode 100644 drivers/extcon/extcon-intel-cht-wc.c