From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754226AbdHYBGM (ORCPT ); Thu, 24 Aug 2017 21:06:12 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:13554 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753556AbdHYBGL (ORCPT ); Thu, 24 Aug 2017 21:06:11 -0400 X-AuditID: b6c32a37-f79886d000004f16-11-599f7800566d Message-id: <599F7800.1080306@samsung.com> Date: Fri, 25 Aug 2017 10:06:08 +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.14 Content-type: text/plain; charset="utf-8" Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEKsWRmVeSWpSXmKPExsWy7bCmvi5DxfxIg3n7LS0m3rjCYnH9y3NW i+bF69ksJt2fwGJxedccNovbjSvYHNg8Nq3qZPPYP3cNu0ffllWMHp83yQWwRKXaZKQmpqQW KaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXmptoqufgE6Lpl5gAtV1IoS8wpBQoFJBYX K+nb2RTll5akKmTkF5fYKkUbGhrpGRqY6xkZGemZGMdaGZkClSSkZvRc285W0KBU8WT1ctYG xjVSXYycHBICJhJ3uhezQNhiEhfurWcDsYUEdjBKrDvp18XIBWR/Z5T4svw6G0zD+hP32CES uxkljp5rYIVw7jFK7Pl1gR2kildAS+LHqT5WEJtFQFVize1fYDYbUHz/ixtgk/gFFCWu/njM CGKLCkRI7Jz/DapXUOLH5HtgJ4kIaEi8PHqL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VgTy4orcw8xSnAwK4nwpprOjxTiTUmsrEotyo8vKs1J LT7EKM3BoiTOm9k3I1JIID2xJDU7NbUgtQgmy8TBKdXAyKKyyulTYLVEyOGW6ZeOTBTaV+Ge tURfssx4qmi7Z3la+clY7aTZt2al6RlWljknPC109M222ttUuqT3e9ki+7fTQhia2V6VH3V/ uviy78fnjpH5ISm5lqUTL5znrj9z6WFQwuVG/XXBIas8lkbuFtV7yLRZRG3L7dgPnyeGTmWW V/8+WzBGiaU4I9FQi7moOBEAsnBz6U4CAAA= X-CMS-MailID: 20170825010608epcas1p4d03a12481382a0b060ee5527955007b1 X-Msg-Generator: CA X-Sender-IP: 182.195.42.142 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?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170825010608epcas1p4d03a12481382a0b060ee5527955007b1 X-RootMTR: 20170825010608epcas1p4d03a12481382a0b060ee5527955007b1 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.14. 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 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -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.14 for you to fetch changes up to 4243c408f7402e254454d4770dfc1437545eba1b: extcon: max77693: Allow MHL attach notifier (2017-08-25 09:32:27 +0900) ---------------------------------------------------------------- Update extcon for 4.14 Detailed description for this pull request: 1. Add new 'extcon-usbc-cros-ec.c' driver - ChromeOS Embedded Controller extcon driver supports the detection of the Display Port (EXTCON_DISP_DP) through USB C-type and contol it. 2. Update extcon core - Modify the description for both functions and structures in order to improve the readability and give the more correct guide about the role of functions because there are different explanation even if the same arguments. - Keep the indentation with tab instead of space - Remove the following deprecated extcon API. The deprecated API are exchanged on all of linux tree. : extcon_get_cable_state_() -> extcon_get_state() : extcon_set_cable_state_() -> extcon_set_state_sync() 3. Include the two immutable branch as following: - ib-extcon-mfd-4.14 for the 'extcon-ubsc-cros-ec.c' driver because the patches of 'extcon-ubsc-cros-ec.c' touch the MFD directory. - ib-extcon-usb-phy-4.14 for removing the deprecated extcon API because the usb/phy driver usese the deprecated extcon API. So, this immutable branch alters the extcon API and then remove them from extcon. 4. Fix minor issue of extcon driver - Fix the MHL detection on extcon-max77693.c - Convert to using %pOF instead of full_name on extcon.c - Add 'const' kerywod for acpi_device_id on extcon-intel-int3496.c ---------------------------------------------------------------- Arvind Yadav (1): extcon: int3496: Constify acpi_device_id Benson Leung (2): extcon: cros-ec: Add extcon-cros-ec driver to support display out dt-bindings: extcon: Add support for cros-ec device Chanwoo Choi (10): phy: qcom-usb-hs: Replace the extcon API Merge remote-tracking branch 'origin/ib-extcon-mfd-4.14' into extcon-next phy: rockchip-inno-usb2: Replace the extcon API phy: phy-bcm-ns2-usbdrd: Replace the deprecated extcon API usb: gadget: udc: Replace the deprecated extcon API extcon: Remove deprecated extcon_set/get_cable_state_() Merge branch 'ib-extcon-usb-phy-4.14' into extcon-next extcon: Remove unused CABLE_NAME_MAX definition extcon: Correct description to improve the readability extcon: Use tab instead of space for indentation Christophe JAILLET (1): extcon: cros-ec: Fix a potential NULL pointer dereference Maciej Purski (1): extcon: max77693: Allow MHL attach notifier Rob Herring (1): extcon: Convert to using %pOF instead of full_name .../bindings/extcon/extcon-usbc-cros-ec.txt | 24 ++ drivers/extcon/Kconfig | 7 + drivers/extcon/Makefile | 1 + drivers/extcon/devres.c | 50 ++- drivers/extcon/extcon-intel-int3496.c | 2 +- drivers/extcon/extcon-max77693.c | 5 +- drivers/extcon/extcon-usbc-cros-ec.c | 417 +++++++++++++++++++++ drivers/extcon/extcon.c | 279 +++++++------- drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 8 +- drivers/phy/qualcomm/phy-qcom-usb-hs.c | 14 +- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 10 +- drivers/usb/gadget/udc/snps_udc_plat.c | 6 +- include/linux/extcon.h | 130 +++---- include/linux/mfd/cros_ec_commands.h | 75 ++++ 14 files changed, 756 insertions(+), 272 deletions(-) create mode 100644 Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.txt create mode 100644 drivers/extcon/extcon-usbc-cros-ec.c