diff options
| author | Yannis Bolliger <yannis.bolliger@protonmail.com> | 2025-10-17 19:30:01 +0000 |
|---|---|---|
| committer | Chanwoo Choi <cw00.choi@samsung.com> | 2026-03-20 11:20:43 +0900 |
| commit | 1bf0ba46d9d2c784120fd9cb235c08add3a6e7be (patch) | |
| tree | adb53fa67620dc19191cf621c96d7242b3b32d46 /rust/kernel/alloc | |
| parent | 9c98fdec70ec15c46610464366d414df1d6a0bee (diff) | |
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/
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
