Skip to contentSkip to conversation

extcon next for 5.19

GIT PULL Chanwoo Choi 3 participants 5 messages May 13, 2022 – May 20, 2022

lore
Share & tools
lore
#0 lore raw

Dear Greg,

This is extcon-next pull request for v5.19. 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 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-next-for-5.19

for you to fetch changes up to 5dcc2afe716d69f5112ce035cb14f007461ff189:

extcon: Modify extcon device to be created after driver data is set (2022-05-13 17:03:41 +0900)

----------------------------------------------------------------
Update extcon next for v5.19

Detailed description for this pull request:
1. update extcon core driver
- extcon_get_extcon_dev() has been almost used to get the extcon device on booting time. If extcon provider driver is probed at late time, the extcon consumer driver get the -EPROBE_DEFER return value. It requires the inefficient handling code of -EPROBE_DEFER. Instead, extcon_get_extcon_dev() will return -EPROBE_DEFER
if the required extcon device is none. It makes the extcon consumer driver to be simplified when getting extcon device.

- Register device after dev_set_drvdata because of accessing the sysfs attributes at timing of between drv_set_data and device_register.

- Fix some kernel-doc comments of extcon functions.

2. update extcon provider driver
- Update extcon-intel-int3496.c
: Add support for controlling vbus power via regulator and support to the extcon-intel-int3496.c driver to bind to devices without an ACPi companion. And fix the minor clean-up.

- Use struct_size() helper on extcon-usbc-cros-ec.c

- Remove the disable irq operation in system sleep for using vbus/id gpio as the wakeup source on extcon-usb-gpio.c

- Add support of SM5703 device by using existing extcon-sm5502.c and rename i2c_devic_id from sm5703 to sm5703-muic to reduce confusion between SM5703 MFD device and extcon device.

- Add usb role class support and add queue work sync before driver release on extcon-ptn5150.c
----------------------------------------------------------------

Bruce Chen (1):
extcon: usb-gpio: Remove disable irq operation in system sleep

Dan Carpenter (1):
extcon: Fix extcon_get_extcon_dev() error handling

Gustavo A. R. Silva (1):
extcon: usbc-cros-ec: Use struct_size() helper in kzalloc()

Hans de Goede (4):
extcon: int3496: Make the driver a bit less verbose
extcon: int3496: Request non-exclusive access to the ID GPIO
extcon: int3496: Add support for binding to plain platform devices
extcon: int3496: Add support for controlling Vbus through a regulator

Li Jun (2):
extcon: ptn5150: Add queue work sync before driver release
extcon: ptn5150: Add usb role class support

Markuss Broks (3):

      dt-bindings: extcon: bindings for SM5703
      extcon: sm5502: Add support for SM5703
      extcon: sm5502: Clarify SM5703's i2c device ID

Yang Li (1):
extcon: Fix some kernel-doc comments

bumwoo lee (1):
extcon: Modify extcon device to be created after driver data is set

 .../bindings/extcon/siliconmitus,sm5502-muic.yaml  |  5 +-
 drivers/extcon/Kconfig                             |  3 +-
 drivers/extcon/extcon-axp288.c                     |  4 +-
 drivers/extcon/extcon-intel-int3496.c              | 54 ++++++++++++++++++----
 drivers/extcon/extcon-ptn5150.c                    | 36 +++++++++++++++
 drivers/extcon/extcon-sm5502.c                     |  2 +
 drivers/extcon/extcon-usb-gpio.c                   | 15 ------
 drivers/extcon/extcon-usbc-cros-ec.c               |  2 +-
 drivers/extcon/extcon.c                            | 37 +++++++++------
 drivers/power/supply/axp288_charger.c              | 17 ++++---
 drivers/power/supply/charger-manager.c             |  7 +--
 drivers/power/supply/max8997_charger.c             |  8 ++--
 drivers/usb/dwc3/drd.c                             |  9 +---
 drivers/usb/phy/phy-omap-otg.c                     |  4 +-
 drivers/usb/typec/tcpm/fusb302.c                   |  4 +-
 include/linux/extcon.h                             |  2 +-
 16 files changed, 139 insertions(+), 70 deletions(-)
#1 lore raw

Dear Greg,

Gently ping. Could you please pull this request?

Best Regards,
Chanwoo Choi

Quoted 104 lines · Chanwoo Choi

Dear Greg,

This is extcon-next pull request for v5.19. 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 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-next-for-5.19

for you to fetch changes up to 5dcc2afe716d69f5112ce035cb14f007461ff189:

extcon: Modify extcon device to be created after driver data is set (2022-05-13 17:03:41 +0900)

----------------------------------------------------------------
Update extcon next for v5.19

Detailed description for this pull request:
1. update extcon core driver
- extcon_get_extcon_dev() has been almost used to get the extcon device on booting time. If extcon provider driver is probed at late time, the extcon consumer driver get the -EPROBE_DEFER return value. It requires the inefficient handling code of -EPROBE_DEFER. Instead, extcon_get_extcon_dev() will return -EPROBE_DEFER
if the required extcon device is none. It makes the extcon consumer driver to be simplified when getting extcon device.

- Register device after dev_set_drvdata because of accessing the sysfs attributes at timing of between drv_set_data and device_register.

- Fix some kernel-doc comments of extcon functions.

2. update extcon provider driver
- Update extcon-intel-int3496.c
: Add support for controlling vbus power via regulator and support to the extcon-intel-int3496.c driver to bind to devices without an ACPi companion. And fix the minor clean-up.

- Use struct_size() helper on extcon-usbc-cros-ec.c

- Remove the disable irq operation in system sleep for using vbus/id gpio as the wakeup source on extcon-usb-gpio.c

- Add support of SM5703 device by using existing extcon-sm5502.c and rename i2c_devic_id from sm5703 to sm5703-muic to reduce confusion between SM5703 MFD device and extcon device.

- Add usb role class support and add queue work sync before driver release on extcon-ptn5150.c
----------------------------------------------------------------

Bruce Chen (1):
extcon: usb-gpio: Remove disable irq operation in system sleep

Dan Carpenter (1):
extcon: Fix extcon_get_extcon_dev() error handling

Gustavo A. R. Silva (1):
extcon: usbc-cros-ec: Use struct_size() helper in kzalloc()

Hans de Goede (4):
extcon: int3496: Make the driver a bit less verbose
extcon: int3496: Request non-exclusive access to the ID GPIO
extcon: int3496: Add support for binding to plain platform devices
extcon: int3496: Add support for controlling Vbus through a regulator

Li Jun (2):
extcon: ptn5150: Add queue work sync before driver release
extcon: ptn5150: Add usb role class support

Markuss Broks (3):

      dt-bindings: extcon: bindings for SM5703
      extcon: sm5502: Add support for SM5703
      extcon: sm5502: Clarify SM5703's i2c device ID

Yang Li (1):
extcon: Fix some kernel-doc comments

bumwoo lee (1):
extcon: Modify extcon device to be created after driver data is set

 .../bindings/extcon/siliconmitus,sm5502-muic.yaml  |  5 +-
 drivers/extcon/Kconfig                             |  3 +-
 drivers/extcon/extcon-axp288.c                     |  4 +-
 drivers/extcon/extcon-intel-int3496.c              | 54 ++++++++++++++++++----
 drivers/extcon/extcon-ptn5150.c                    | 36 +++++++++++++++
 drivers/extcon/extcon-sm5502.c                     |  2 +
 drivers/extcon/extcon-usb-gpio.c                   | 15 ------
 drivers/extcon/extcon-usbc-cros-ec.c               |  2 +-
 drivers/extcon/extcon.c                            | 37 +++++++++------
 drivers/power/supply/axp288_charger.c              | 17 ++++---
 drivers/power/supply/charger-manager.c             |  7 +--
 drivers/power/supply/max8997_charger.c             |  8 ++--
 drivers/usb/dwc3/drd.c                             |  9 +---
 drivers/usb/phy/phy-omap-otg.c                     |  4 +-
 drivers/usb/typec/tcpm/fusb302.c                   |  4 +-
 include/linux/extcon.h                             |  2 +-
 16 files changed, 139 insertions(+), 70 deletions(-)
Signature · 3 lines
Best Regards,
Samsung Electronics
Chanwoo Choi
#2 lore raw
Quoted 3 lines · Chanwoo Choi

Dear Greg,

Gently ping. Could you please pull this request?

Sorry, was behind in patches, catching up now...

#3 lore raw
Quoted 7 lines · Greg Kroah-Hartman
Quoted 3 lines · Chanwoo Choi

Dear Greg,

Gently ping. Could you please pull this request?

Sorry, was behind in patches, catching up now...

You're welcome. I'll send the pull request more early on next. Thank you

Signature · 3 lines
Best Regards,
Chanwoo Choi
Samsung Electronics
#4 lore raw
In reply to Chanwoo Choi
Quoted 8 lines · Chanwoo Choi

Dear Greg,

This is extcon-next pull request for v5.19. 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 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-next-for-5.19

Pulled and pushed out,t hanks.

greg k-h