From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbcGELEM (ORCPT ); Tue, 5 Jul 2016 07:04:12 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:57015 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751762AbcGELEK (ORCPT ); Tue, 5 Jul 2016 07:04:10 -0400 X-AuditID: cbfee68e-f79266d000001428-d6-577b9428967b Message-id: <577B9428.8060808@samsung.com> Date: Tue, 05 Jul 2016 20:04:08 +0900 From: Chanwoo Choi 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: =?UTF-8?B?7ZWo66qF7KO8?= , Kyungmin Park , "linux-kernel@vger.kernel.org" Subject: [GIT PULL] extcon next for 4.8 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHLMWRmVeSWpSXmKPExsWyRsSkUFdjSnW4wb7/EhbNi9ezWZxtesNu cXnXHDaL240r2BxYPPbPXcPu0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBnfz09gLZiuWPF0 53SWBsYvkl2MnBwSAiYS+9f/Z4WwxSQu3FvP1sXIxSEksIJRon/tdmaYoqaNv9lAbCGBWYwS N3cFQ9gPGCVWzfEEsXkFtCRePtoBNohFQFXixrM/7CA2G1B8/4sbQL0cHKICERLdJyohygUl fky+xwJiiwhoSLw8eosFZC+zwFJGiS3988HmCAuoSxxY9Y0RpJcZyJ4yJRckzCwgL7F5zVuo 0/rZJbYv0oZYKyDxbfIhFpByCQFZiU0HoEokJQ6uuMEygVFkFpLNsxCGzkIydAEj8ypG0dSC 5ILipPQiI73ixNzi0rx0veT83E2MwGg4/e9Z3w7GmwesDzEKcDAq8fA6hFWHC7EmlhVX5h5i NAU6YiKzlGhyPjDm8kriDY3NjCx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Xsr7Ob0hIXfn3y5EqyoxFKckWioxVxUnAgALWA5w88CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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.8. 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 33688abb2802ff3a230bd2441f765477b94cc89e: Linux 4.7-rc4 (2016-06-19 21:30:02 -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.8 for you to fetch changes up to 1b6cf310103799f371066453f55755088b008be0: extcon: adc-jack: add suspend/resume support (2016-07-02 14:31:34 +0900) ---------------------------------------------------------------- Update extcon for 4.8 Detailed description for patchset: 1. Update the extcon-gpio.c driver - Use PM wakeirq APIs and support to check the state of external connector when wake-up from suspend state if the interrupt of external connector is not used as wakeup source. - Support for ACPI gpio interface 2. Remove deprecated extcon APIs using the legacy cable name - The extcon framework handle the external connector only by unique id instead of legacy cable name to prevent the problem. - Removed functions : extcon_get_cable_state() : extcon_set_cable_state() : extcon_register_interest() : extcon_unregister_interest() - It has the dependency on the axp288_charger.c driver. So, this pull request includes the 'ib-extcon-powersupply-4.8' immutable branch to protect the merge conflict. 3. Support the resource-managed function for extcon_register_notifier - Add the devm_extcon_register/unregister_notifier() funticon to handle the resource automatically by resource managed functions and split out the resource-managed function from extcon core to seprate file(devres.c). 4. Supprot the suspend/resume for extcon-adc-jack.c driver - Add the support the suspend/resume function to use extcon-adc-jack.c as wakeup source. 5. Fix the minor issue - Check the return value of find_cable_index_by_id() - Move the struct extcon_cable to extcon core from header file because it should be only handled on extcon core. - Add the missing of_node_put() after calling of_parse_phandle() to decrement the reference count. ---------------------------------------------------------------- Arnd Bergmann (1): extcon: link devres into core module Chanwoo Choi (7): power: axp288_charger: Replace deprecatd API of extcon extcon: Remove the deprecated extcon functions Merge branch 'ib-extcon-powersupply-4.8' into extcon-next extcon: Move struct extcon_cable from header file to core extcon: Split out the resource-managed functions from extcon core extcon: Add resource-managed functions to register extcon notifier extcon: Fix the wrong description about extcon_set/get_cable_state_() Charles Keepax (1): extcon: arizona: Update binding docs to mention new defines for GPSW Grygorii Strashko (1): extcon: usb-gpio: switch to use pm wakeirq apis Lu Baolu (2): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support for ACPI gpio interface Peter Chen (1): extcon: add missing of_node_put after calling of_parse_phandle Roger Quadros (1): extcon: usb-gpio: Don't miss event during suspend/resume Stephen Boyd (1): extcon: Check for incorrect connection type in notifier register Venkat Reddy Talla (1): extcon: adc-jack: add suspend/resume support .../devicetree/bindings/extcon/extcon-arizona.txt | 3 +- drivers/extcon/Makefile | 3 +- drivers/extcon/devres.c | 216 +++++++++++++ drivers/extcon/extcon-adc-jack.c | 34 ++ drivers/extcon/extcon-usb-gpio.c | 32 +- drivers/extcon/extcon.c | 344 +++------------------ drivers/power/axp288_charger.c | 77 +++-- include/linux/extcon.h | 115 +++---- include/linux/extcon/extcon-adc-jack.h | 2 + 9 files changed, 416 insertions(+), 410 deletions(-) create mode 100644 drivers/extcon/devres.c