Dear Greg, This is extcon-next pull request for v4.11. 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 a121103c922847ba5010819a3f250f1f7fc84ab8: Linux 4.10-rc3 (2017-01-08 14:18:17 -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.11 for you to fetch changes up to 567ab5a81ba569b823b51f4af74f26c437e98b56: extcon: palmas: Use dev_dbg macro for the debug messages (2017-01-25 15:03:54 +0900) ---------------------------------------------------------------- Update extcon for 4.11 Detailed description for this pull request: 1. Add the new extcon driver. - Intel INT3496 ACPI USB id detection driver detects whether EXTCON_USB_HOST is attached or detached. (extcon-intel-int3496.c) 2. Add the new type of external connector. - EXTCON_CHG_USB_PD (USB Power Delivery) provides the increased power more than 7.5W to device with larger power demand. 3. Add the description for EXTCON_CHG_USB_(SDP|ACA|SLOW|FAST) - EXTCON_CHG_USB_SDP should always appear together with EXTCON_USB - EXTCON_CHG_USB_ACA would normally appear with EXTCON_USB_HOST. - EXTCON_CHG_USB_SLOW can provide at least 500mA of current at 5V - EXTCON_CHG_USB_FAST can provide at least 1A of current at 5V. 4. Modify the connector name of EXTCON_USB_HOST - "USB_HOST" -> "USB-HOST" 5. Update the extcon core - Move the private extcon structure into driver/extcon directory. The 'struct extcon_dev' should be only handled by extcon core to prevent the direct access and to maintain the integrity of it. - Remove the ambigous operation of extcon_register_notifier() in case of the 'extcon_dev' instance is NULL. The user of extcon_register_notifier() have to specify the correct instance of the provider extcon driver. 6. Update the extcon drivers and fix the minor issues - Update the extcon-axp288 driver to remove the unncessary code. - Add pinctrl operation during suspend mode to extcon-usb-gpio driver. - Clean up the extcon-arizona/adc-jack driver. - Use the dev_dbg() for debug messsage on extcon-palmas driver. - Return the error code on failure of extcon_sync() ---------------------------------------------------------------- Baolin Wang (3): extcon: Add documentation for EXTCON_CHG_USB_* and EXTCON_USB_* extcon: axp288: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set extcon: Add documentation for EXTCON_CHG_USB_SLOW/FAST Chanwoo Choi (5): extcon: Remove potential problem when calling extcon_register_notifier() extcon: adc-jack: Use the internal data instead of using struct extcon_dev extcon: Move defintion of struct extcon_dev to driver/extcon directory extcon: Add new EXTCON_CHG_USB_PD type for USB Power Delivery extcon: Modify the name of EXTCON_USB_HOST connector Charles Keepax (1): extcon: arizona: Simplify micd_pol_gpio handling David Cohen (1): extcon: int3496: Add Intel INT3496 ACPI device extcon driver Hans de Goede (7): extcon: axp288: Remove dependency on non-existing platform_data extcon: axp288: Remove usb_phy notification code extcon: axp288: Simplify axp288_handle_chrg_det_event extcon: axp288: Fix possibly reporting 2 cables in state true extcon: axp288: Use vbus-valid instead of -present to determine cable presence extcon: axp288: Remove unnecessary irq?_en register writes extcon: axp288: Fix the module not auto-loading Pan Bian (1): extcon: Return error code on failure Peter Chen (1): extcon: usb-gpio: Add pinctrl operation during system PM Peter Foley (1): extcon: adc-jack: Fix incompatible pointer type warning Roger Quadros (2): extcon: palmas: Check the parent instance to prevent the NULL extcon: palmas: Use dev_dbg macro for the debug messages Srikant Ritolia (1): extcon: Restructure multi-line comments to follow codingstyle Documentation/extcon/intel-int3496.txt | 22 ++++ drivers/extcon/Kconfig | 10 ++ drivers/extcon/Makefile | 1 + drivers/extcon/devres.c | 2 +- drivers/extcon/extcon-adc-jack.c | 2 +- drivers/extcon/extcon-arizona.c | 20 ++-- drivers/extcon/extcon-axp288.c | 110 ++++++++------------ drivers/extcon/extcon-intel-int3496.c | 179 +++++++++++++++++++++++++++++++++ drivers/extcon/extcon-max14577.c | 6 +- drivers/extcon/extcon-max77693.c | 12 ++- drivers/extcon/extcon-max77843.c | 24 +++-- drivers/extcon/extcon-palmas.c | 21 ++-- drivers/extcon/extcon-rt8973a.c | 6 +- drivers/extcon/extcon-sm5502.c | 6 +- drivers/extcon/extcon-usb-gpio.c | 7 ++ drivers/extcon/extcon.c | 45 +++------ drivers/extcon/extcon.h | 62 ++++++++++++ include/linux/extcon.h | 71 +++---------- include/linux/extcon/extcon-adc-jack.h | 2 +- 19 files changed, 415 insertions(+), 193 deletions(-) create mode 100644 Documentation/extcon/intel-int3496.txt create mode 100644 drivers/extcon/extcon-intel-int3496.c create mode 100644 drivers/extcon/extcon.h