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.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJaTDptAAoJEJzN3yze689T4X8P/j2u++jk/fxob0RSNzu0obbJ
 GZwEIrFiUmqOHoDX8cJhG5s1KQMRMzIKv3rqLgJtR4UxcFOWL+rrsJclYUfOWeCp
 DsmJ4HHBozRL/XhF5UWxw0VZYnHfCZP2aLjIuUTMgSb7yMaluRgAhKB5ZE7TtdD9
 Z0BX9KBT9qbqDXkZwxJX78jksN2OapPOMaVrbEHZ2bJpa5OlwIh0dcgwR31qJ7nR
 ZKuv9IDkv/uQIzy5foTDiWUjDsydUJBxia518S95XXN8ehIUilF+xpTGe2/iKOgb
 Wqr8zdZZlgqI8cnC785H2kOg3ehWjV9YnjhmhvI/xxxoR59kMmCsRooTuZrcG8LU
 t/A5nwL3McjRejorLPA5BoOPE4UaLKeAyfI+7xG8r92UiHcEucewclUqYAmZLrUT
 ZiwWCr/6WYYsSgFAIW8ZgVBzSGnmZhIb5QgnvcYSs2k6X1sr2q5zUXgWXMJ8sGF5
 HJzYJEJJeaurWk3xYv9jnCoKj8HF5SnBVaLr+L6aMVT0CDJFkCFnOJRD8Lviuzi6
 jvsZ9g4NOL4EoInS4hMhaE8DjnKRhLNO9fRl0fUVfZrHqYRiQ/W8EvIFB/XKvdhc
 j+UHFT1TfKxHrinuJb50xuiWcUEdMylz42VRJq5WzbHvSlbGRsBgu1bkWTwB1h9D
 k/1kD8gQyDV6oc5afSA1
 =bVYG
 -----END PGP SIGNATURE-----

Merge tag 'extcon-next-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next

Chanwoo writes:

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.
This commit is contained in:
Greg Kroah-Hartman 2018-01-08 14:33:08 +01:00
commit 24d142d5be
7 changed files with 194 additions and 51 deletions