From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752618AbdDJFjo (ORCPT ); Mon, 10 Apr 2017 01:39:44 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:34457 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbdDJFjm (ORCPT ); Mon, 10 Apr 2017 01:39:42 -0400 X-AuditID: b6c32a38-f791a6d0000031eb-46-58eb1a9b8607 Message-id: <58EB1A99.4010906@samsung.com> Date: Mon, 10 Apr 2017 14:39:37 +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" , "Chanwoo Choi (samsung.com)" , "Chanwoo Choi (samsung.com)" , =?UTF-8?B?7ZWo66qF7KO8?= , =?UTF-8?B?64yA7J246riw?= Subject: [GIT PULL] extcon next for v4.12 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDKsWRmVeSWpSXmKPExsWy7bCmnu5sqdcRBpOXWVhMvHGFxeL6l+es Fs2L17NZTLo/gcXi8q45bBa3G1ewObB5bFrVyeaxf+4ado++LasYPT5vkgtgiUq1yUhNTEkt UkjNS85PycxLt1XyDo53jjc1MzDUNbS0MFdSyEvMTbVVcvEJ0HXLzAFarqRQlphTChQKSCwu VtK3synKLy1JVcjILy6xVYo2NDTSMzQw1zMyMtIzMY61MjIFKklIzVi9eh5bQa9Cxbvd5g2M 3yW6GDk5JARMJM5vf8wIYYtJXLi3nq2LkYtDSGAHo8SD38+YIJx2Jomp9zeywXRcf/6VHSKx nFGif+5VRgjnHqPE+Ul9zCBVvAJaEsf/vmQBsVkEVCX2rpkO1s0GFN//4gaYzS+gKHH1B8Ru UYEIiZ3zv7FD9ApK/J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k9g5J+FZNIshKpZSKoWMDKvYpRILUguKE5KzzXMSy3XK07MLS7NS9dLzs/dxAiOmGdSOxgP 7nI/xCjAwajEwxtQ/SpCiDWxrLgy9xCjBAezkghvxQ+gEG9KYmVValF+fFFpTmrxIUZToK8n MkuJJucDozmvJN7QxNzE3NjAwtzS0sRISZy3cfazcCGB9MSS1OzU1ILUIpg+Jg5OqQbG4pcS cjyd5gV2G+PLni3q2Sqlx6ow/aBee4+gxd/iOedu6aqazzvBreF78HTIVcPoXZO5hJYUO/Jf 6HsXqKnjl+MzYUKqi7uehGC81c81aSdNeWddOz53J2f1jz0aO2e/yTmoXvjhQwz7+nliOvsT cz1Z1je/ifp9e9Pc53OkHRpXVnBvPrFfiaU4I9FQi7moOBEAzEcnMa4CAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170410053939epcas1p1db4dc62c814fb69c7143be2a788146b0 X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170410053939epcas1p1db4dc62c814fb69c7143be2a788146b0 X-RootMTR: 20170410053939epcas1p1db4dc62c814fb69c7143be2a788146b0 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.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