[GIT PULL] extcon next for v4.17

From: Chanwoo Choi
Date: Wed Mar 21 2018 - 01:13:15 EST


Dear Greg,

This is extcon-next pull request for v4.17. 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 4a3928c6f8a53fa1aed28ccba227742486e8ddcb:

Linux 4.16-rc3 (2018-02-25 18:50:41 -0800)

are available in the git repository at:

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

for you to fetch changes up to eb7768e774d12eac1189984a62925bc3bb386e13:

Merge branch 'ib-extcon-drm-dt-v4.17' into extcon-next (2018-03-21 13:58:23 +0900)

----------------------------------------------------------------

Update extcon for 4.17

Detailed description for this pull request:
1. Add exported extcon function in order to support OF graph binding
- The extcon consumer driver used the "extcon = <&extcon's phandle"
property in device-tree in order to bind between extcon provider
and consumer driver. But, OF graph method is better than 'extcon' property.
So, extcon subsystem adds the following function to support OF graph binding.
: extcon_find_edev_by_node(struct device_node *node)

- Create the immutable branch ("ib-extcon-drm-dt-v4.17") for both drm-misc
and device-tree subsystem. This immutable branch contains the use-case of
OF graph binding for EXTCON_HDMI connector between MHL device driver
and extcon provider driver.

2. Fix minor issues of extcon device drivers
- Remove platform_data and covert to fully use GPIO descriptor for extcon-gpio.c
- Remove workaround code for id pin direction from extcon-inte-int3496.c
because GPIO ACPI library does support it with generic way.
- Set direction and drv flags for V5 boost GPIO because of fixing
the firmware bug.

----------------------------------------------------------------
Andrzej Hajda (3):
dt-bindings: add bindings for USB physical connector
dt-bindings: add bindings for Samsung micro-USB 11-pin connector
extcon: add possibility to get extcon device by OF node

Andy Shevchenko (1):
extcon: int3496: Ignore incorrect IoRestriction for ID pin

Chanwoo Choi (1):
Merge branch 'ib-extcon-drm-dt-v4.17' into extcon-next

Hans de Goede (1):
extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO

Linus Walleij (3):
extcon: gpio: Localize platform data
extcon: gpio: Move platform data into state container
extcon: gpio: Convert to fully use GPIO descriptor

Maciej Purski (1):
drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL

.../connector/samsung,usb-connector-11pin.txt | 49 ++++++++++
.../bindings/connector/usb-connector.txt | 75 +++++++++++++++
drivers/extcon/extcon-gpio.c | 103 +++++++++------------
drivers/extcon/extcon-intel-cht-wc.c | 11 ++-
drivers/extcon/extcon-intel-int3496.c | 9 +-
drivers/extcon/extcon.c | 44 +++++++--
drivers/gpu/drm/bridge/sil-sii8620.c | 97 ++++++++++++++++++-
include/linux/extcon.h | 6 ++
include/linux/extcon/extcon-gpio.h | 47 ----------
9 files changed, 315 insertions(+), 126 deletions(-)
create mode 100644 Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt
create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt
delete mode 100644 include/linux/extcon/extcon-gpio.h