[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <577B9428.8060808@samsung.com>
Date: Tue, 05 Jul 2016 20:04:08 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: 함명주 <myungjoo.ham@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] extcon next for 4.8
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
Powered by blists - more mailing lists