Skip to contentSkip to conversation

extcon next for 4.8

GIT PULL Chanwoo Choi 2 participants 5 messages Jul 5, 2016 – Aug 30, 2016

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

Dear Greg,

Please pull this extcon request.
This pull request includes missing patches[1] for v4.7.
[1] https://lkml.org/lkml/2016/5/16/268

Best Regards,
Chanwoo Choi

Quoted 107 lines · Chanwoo Choi

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
#2 lore raw
In reply to Chanwoo Choi
Quoted 8 lines · Chanwoo Choi

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

Quoted 7 lines

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

Pulled and pushed out, thanks.

greg k-h

#3 lore raw
In reply to Chanwoo Choi
Quoted 8 lines · Chanwoo Choi

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

Quoted 7 lines

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

I missed this, right? Sorry about that, can you split this up into bug fixes for 4.8-final and then new stuff for 4.9?

thanks,

greg k-h

#4 lore raw

Dear Greg,

Quoted 11 lines · Greg KH
Quoted 10 lines · Chanwoo Choi

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:

Quoted 7 lines
Quoted 5 lines

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

I missed this, right? Sorry about that, can you split this up into bug

You already pulled this request.
So, these patches was merged on 4.8-rc1.

Quoted 1 line

fixes for 4.8-final and then new stuff for 4.9?

For v4.9 of extcon,
I'll send the pull request after releasing the 4.8-rc6.

Signature · 2 lines
Best Regards,
Chanwoo Choi