From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbdAYGqL (ORCPT ); Wed, 25 Jan 2017 01:46:11 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:60451 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbdAYGqJ (ORCPT ); Wed, 25 Jan 2017 01:46:09 -0500 X-AuditID: b6c32a59-f79be6d0000012bb-c8-588847566bcc Message-id: <58884755.2010702@samsung.com> Date: Wed, 25 Jan 2017 15:36:05 +0900 From: Chanwoo Choi Organization: Samsung Electronics User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-version: 1.0 To: Greg KH Cc: "linux-kernel@vger.kernel.org" , =?UTF-8?B?Iu2VqOuqheyjvCAobXl1bmdqb28uaGFtQHNhbXN1bmcuY29tKSI=?= , =?UTF-8?B?64yA7J246riw?= Subject: [GIT PULL] extcon next for v4.11 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPKsWRmVeSWpSXmKPExsWy7bCmhm6Ye0eEwfcuBYvmxevZLCbdn8Bi cXnXHDaL240r2BxYPPbPXcPu0bdlFaPH501yAcxRqTYZqYkpqUUKqXnJ+SmZeem2St7B8c7x pmYGhrqGlhbmSgp5ibmptkouPgG6bpk5QNuUFMoSc0qBQgGJxcVK+nY2RfmlJakKGfnFJbZK 0YaGRnqGBuZ6RkZGeibGsVZGpkAlCakZqz8tYCzo0ar41NnC1MC4UrGLkYNDQsBEYseNui5G TiBTTOLCvfVsXYxcHEICSxkl2q80sUA47UwSR2b/Y4KoMpFY2bwHqmo5o0T/1OmsEM49RolD XyazgYzlFdCSOLNfDaSBRUBVYvHxe4wgNhtQeP+LG2wgNr+AosTVH4/B4qICERI7539jB7F5 BQQlfky+xwJiiwhoSLw8egvsCmaBy4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zi0vz0vWS83M3MYKj4pn0DsbDu9wPMQpwMCrx8E5Iao8Q Yk0sK67MPcQowcGsJMIra9sRIcSbklhZlVqUH19UmpNafIjRFOjticxSosn5wIjNK4k3NDE3 MTc2sDC3tDQxUhLnbZz9LFxIID2xJDU7NbUgtQimj4mDU6qB0UbBddfM+4//zYjwyV03w5K9 cvvb0sNBR75tK7KXiJkut5TJ60/h25N3D+u+nqC7+ZOPYsS+1zf6n4uu2+0jaHr310y1KXOr n/qq/4/a2OGZJ3V09+eS++ocomIJyobafxQWPevjmsWs2Xh7ws+NWwJuTdhj7ues7bI6c/Oy LSdFl23rvJPWI6DEUpyRaKjFXFScCAALkzbmoAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170125063606epcas5p3ad9e24e0e4a71aca4a457077990f9e44 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTNS9TZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170125063606epcas5p3ad9e24e0e4a71aca4a457077990f9e44 X-RootMTR: 20170125063606epcas5p3ad9e24e0e4a71aca4a457077990f9e44 References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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