From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751918AbdJZKQv (ORCPT ); Thu, 26 Oct 2017 06:16:51 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:30520 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbdJZKQs (ORCPT ); Thu, 26 Oct 2017 06:16:48 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20171026101647epoutp025341b12a13770b3eaaa9292916cf488f~xF1W8v_Iu3150031500epoutp02R X-AuditID: b6c32a47-cd7ff7000000102c-e1-59f1b60e7572 Message-id: <59F1B60D.9060607@samsung.com> Date: Thu, 26 Oct 2017 19:16:45 +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 (chanwoo@kernel.org)" , =?UTF-8?B?Iuy1nOywrOyasCAoc2Ftc3VuZy5jb20pIg==?= , =?UTF-8?B?7ZWo66qF7KO8?= , =?UTF-8?B?64yA7J246riw?= Subject: [GIT PULL] extcon next for v4.15 Content-type: text/plain; charset="utf-8" Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGKsWRmVeSWpSXmKPExsWy7bCmuS7fto+RBpePmFhMvHGFxeL6l+es Fs2L17NZTLo/gcXi8q45bBa3G1ewObB5bFrVyeaxf+4ado++LasYPT5vkgtgiUq1yUhNTEkt UkjNS85PycxLt1XyDo53jjc1MzDUNbS0MFdSyEvMTbVVcvEJ0HXLzAFarqRQlphTChQKSCwu VtK3synKLy1JVcjILy6xVYo2NDTSMzQw1zMyMtIzMY61MjIFKklIzfj+KbNgiVLFs0cn2RoY G6S6GDk5JARMJBon9LCB2EICOxglfhxh6mLkArK/M0qsfbGRB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tjMJHGreS3YTGEBTYlrb5cyg/QyC6hLTJmSCxJmFpCX 2LzmLfMERr5ZSEbNQqiahaRqASPzKkbJ1ILi3PTcYqMCo7zUcr3ixNzi0rx0veT83E2MwCDd dlirfwfj4yXxhxgFOBiVeHg/fPwQKcSaWFZcmXuIUYKDWUmEV3Lrx0gh3pTEyqrUovz4otKc 1OJDjNIcLErivPz5xyKFBNITS1KzU1MLUotgskwcnFINjFyuG681JO8Me3tHqpBhSvT045N1 FT6JB/9+WRfjuqJW1nJO1/xHE52e/f/xzXXZw0UzDKa39fT+Sanmy/Ova+Dbsqz+Q0WITNqp +/YlM1P3cm4x4xa6U5Da3bldb+Kl74XM3NMuc/9V27SkxKLsqgdbUv4Puwtxqpccb7qeqyxS O1G/aXL2QyWW4oxEQy3mouJEAK1XbBtOAgAA X-CMS-MailID: 20171026101645epcas2p1c4c5bb08c6a2f31d076130f9202cd966 X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20171026101645epcas2p1c4c5bb08c6a2f31d076130f9202cd966 X-RootMTR: 20171026101645epcas2p1c4c5bb08c6a2f31d076130f9202cd966 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.15. 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 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -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.15 for you to fetch changes up to 4a4a87146a07c866ad2ef49cc32296e6583b1cee: extcon: max77843: Add support for SmartDock accessory (2017-10-24 09:48:54 +0900) ---------------------------------------------------------------- Update extcon for 4.15 Detailed description for this pull request: 1. Split out extcon header file for consumer and provider device : The extcon has two type of extcon devices as following. - 'extcon provider deivce' adds new extcon device and detect the state/properties of external connector. Also, it notifies the state/properties to the extcon consumer device. - 'extcon consumer device' gets the change state/properties from extcon provider device. Prior to that, include/linux/extcon.h contains all exported API for both provider and consumer device driver. To clarify the meaning of header file and to remove the wrong use-case on consumer device. - include/linux/extcon-provider.h includes API for the provider device driver. - include/linux/extcon.h includes the API for the consumer device driver. 2. Support the SmartDock accessory on extcon-max77843.c device driver - Support the SmartDock accessory which detects following connectors at the same time. : USB host throught USB hub for mouse, keyboard and so on. : MHL connector for video output. : Charger connector for battery charging. - It tested with Unitek Y-2165 MHL+OTG Hub Smart Phone Dock. 3. Fix the minor issue of extcon driver - Delete the unneeded initialization in extcon-max14577. - Make extcon_info static const in order to fix the warning. ---------------------------------------------------------------- Chanwoo Choi (1): extcon: Split out extcon header file for consumer and provider device Colin Ian King (1): extcon: make extcon_info static const, fixes warning Marek Szyprowski (2): extcon: max77843: Add OTG power control to the MUIC driver extcon: max77843: Add support for SmartDock accessory Markus Elfring (1): extcon: max14577: Delete an unnecessary variable initialisation in max14577_muic_set_path() drivers/extcon/extcon-adc-jack.c | 2 +- drivers/extcon/extcon-arizona.c | 2 +- drivers/extcon/extcon-axp288.c | 2 +- drivers/extcon/extcon-gpio.c | 2 +- drivers/extcon/extcon-intel-cht-wc.c | 2 +- drivers/extcon/extcon-intel-int3496.c | 2 +- drivers/extcon/extcon-max14577.c | 4 +- drivers/extcon/extcon-max3355.c | 2 +- drivers/extcon/extcon-max77693.c | 2 +- drivers/extcon/extcon-max77843.c | 95 ++++++++++++++--- drivers/extcon/extcon-max8997.c | 2 +- drivers/extcon/extcon-qcom-spmi-misc.c | 2 +- drivers/extcon/extcon-rt8973a.c | 2 +- drivers/extcon/extcon-sm5502.c | 2 +- drivers/extcon/extcon-usb-gpio.c | 2 +- drivers/extcon/extcon-usbc-cros-ec.c | 2 +- drivers/extcon/extcon.c | 2 +- drivers/extcon/extcon.h | 2 +- drivers/phy/allwinner/phy-sun4i-usb.c | 2 +- drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 2 +- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 2 +- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 +- drivers/power/supply/qcom_smbb.c | 2 +- drivers/usb/gadget/udc/renesas_usb3.c | 2 +- drivers/usb/phy/phy-tahvo.c | 2 +- include/linux/extcon-provider.h | 142 ++++++++++++++++++++++++++ include/linux/extcon.h | 109 +------------------- include/linux/mfd/max77843-private.h | 5 + include/linux/mfd/palmas.h | 2 +- 29 files changed, 258 insertions(+), 145 deletions(-) create mode 100644 include/linux/extcon-provider.h