[GIT PULL] extcon next for v4.16

From: Chanwoo Choi
Date: Tue Jan 02 2018 - 21:13:07 EST


Dear Greg,

This is extcon-next pull request for v4.16. 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 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

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

for you to fetch changes up to ca90a64dc671f4a18958078a4bf2e31e2ef57db9:

extcon: axp288: Handle reserved charger-type values better (2018-01-03 10:12:59 +0900)

----------------------------------------------------------------
Update extcon for 4.16

Detailed description for this pull request:
1. Add support to notify USB connector for "ChromeOS Embedded Controller".
- extcon-usbc-cros-ec driver detects the EXTCON_USB and EXTCON_USB_HOST
connector type and then notify the state/properties to the consumer device.

2. Update the detection on probe time and clean-up code for "X-Power AXP288".
- Detect the state of connector after a couple of seconds after probe()
becasue extcon-axp288.c driver depends on other device driver like mux.
In order to guarantee the correct state, the extcon-axp288.c uses the
delayed_work.
- Set EXTCON_CHG_USB_SDP type as the safe default type if unknown connector
is attached because the data sheet of axp288 doesn't handle
the all exception cases.
- Remove unused code

3. Fix the minor issue of extcon driver
- Fix platform get_irq's error checking for extcon-adc-jack.
- Delete unneeded initialization for extcon-max8997/max77693.

----------------------------------------------------------------
Arvind Yadav (2):
extcon: adc-jack: Fix platform_get_irq's error checking
extcon: axp288:: Handle return value of platform_get_irq

Benson Leung (1):
extcon: usbc-cros-ec: add support to notify USB type cables.

Chanwoo Choi (1):
Merge branch 'ib-extcon-mfd-4.16' into extcon-next

Hans de Goede (4):
extcon: axp288: Remove unused extcon_nb struct member
extcon: axp288: Remove unused platform data
extcon: axp288: Redo charger type detection a couple of seconds after probe()
extcon: axp288: Handle reserved charger-type values better

Markus Elfring (2):
extcon: max77693: Delete unneeded initialization in max77693_muic_set_path()
extcon: max8997: Delete unneeded initialization in max8997_muic_set_path()

drivers/extcon/extcon-adc-jack.c | 2 +-
drivers/extcon/extcon-axp288.c | 75 +++++++++---------
drivers/extcon/extcon-max77693.c | 2 +-
drivers/extcon/extcon-max8997.c | 2 +-
drivers/extcon/extcon-usbc-cros-ec.c | 142 ++++++++++++++++++++++++++++++++++-
include/linux/mfd/axp20x.h | 5 --
include/linux/mfd/cros_ec_commands.h | 17 +++++
7 files changed, 194 insertions(+), 51 deletions(-)