linux/drivers/extcon
Yannis Bolliger 1bf0ba46d9 extcon: usbc-tusb320: Make typec-power-opmode optional
The driver returned an error in the probe function when a usb c
connector is configured in the DT without a "typec-power-opmode"
property. This property is used to initialize the CURRENT_MODE_ADVERTISE
register of the TUSB320, which is unused when operating as a UFP.
Requiring this property causes unnecessary configuration overhead and
inconsistency with the USB connector DT bindings, which do not specify
it as required.

This change makes typec-power-opmode optional. When the property is not
present, the driver will skip programming the CURRENT_MODE_ADVERTISE
register and rely on the hardware default.

Signed-off-by: Yannis Bolliger <yannis.bolliger@protonmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/lkml/aPKZJ6WTZlhSOyST@yaene-desktop/
2026-03-20 11:20:43 +09:00
..
Kconfig extcon: ptn5150: Add Type-C orientation switch support 2026-03-20 11:20:43 +09:00
Makefile extcon: Add basic support for Maxim MAX14526 MUIC 2025-09-08 14:43:00 +09:00
devres.c
extcon-adc-jack.c extcon: adc-jack: Cleanup wakeup source only if it was enabled 2025-09-08 14:42:35 +09:00
extcon-axp288.c
extcon-fsa9480.c extcon: fsa9480: Fix wakeup source leaks on device unbind 2025-08-26 19:51:36 +09:00
extcon-gpio.c
extcon-intel-cht-wc.c
extcon-intel-int3496.c extcon: int3496: replace use of system_wq with system_percpu_wq 2026-03-20 11:20:43 +09:00
extcon-intel-mrfld.c
extcon-intel.h
extcon-lc824206xa.c
extcon-max3355.c
extcon-max8997.c
extcon-max14526.c extcon: max14526: avoid defined but not used warning 2025-09-08 15:12:54 +09:00
extcon-max14577.c
extcon-max77693.c
extcon-max77843.c
extcon-palmas.c
extcon-ptn5150.c extcon: ptn5150: Support USB role switch via connector fwnode 2026-03-20 11:20:43 +09:00
extcon-qcom-spmi-misc.c extcon: qcom-spmi-misc: Fix wakeup source leaks on device unbind 2025-08-26 19:51:36 +09:00
extcon-rt8973a.c
extcon-rt8973a.h
extcon-rtk-type-c.c
extcon-sm5502.c
extcon-sm5502.h
extcon-usb-gpio.c
extcon-usbc-cros-ec.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
extcon-usbc-tusb320.c extcon: usbc-tusb320: Make typec-power-opmode optional 2026-03-20 11:20:43 +09:00
extcon.c extcon: Fixed sysfs duplicate filename issue 2026-03-20 11:20:43 +09:00
extcon.h