usb: typec: tcpm: Parse Accessory Mode information
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 15 Dec 2023 17:30:05 +0000 (19:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 17:55:15 +0000 (18:55 +0100)
commite9158c7e55339737847cebbfa397c668713f1a15
treea326fb50ccb3f2f5af98613daeced8b34107b66e
parent76cd718a9ffda837d4b4f1558c6e6ea08a9a7c59
usb: typec: tcpm: Parse Accessory Mode information

Some of the boards supported by the TCPM drivers can support USB-C
Accessory Modes (Analog Audio, Debug). Parse information about supported
modes from the device tree.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215173005.313422-3-dmitry.baryshkov@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpm.c