summaryrefslogtreecommitdiff
path: root/drivers/usb/typec/class.h
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@chromium.org>2022-07-11 07:22:56 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-14 16:24:05 +0200
commitf31a8702cd36f7908bdc3fa1ed7f95b56c10ed35 (patch)
tree681bb376500b300f2bf71316a49373f8bebad9ad /drivers/usb/typec/class.h
parentddaf8d96f93bccb3f2b1f4f156c098b272440004 (diff)
downloadlinux-f31a8702cd36f7908bdc3fa1ed7f95b56c10ed35.tar.gz
linux-f31a8702cd36f7908bdc3fa1ed7f95b56c10ed35.tar.bz2
linux-f31a8702cd36f7908bdc3fa1ed7f95b56c10ed35.zip
usb: typec: Add retimer handle to port
Similar to mux and orientation switch, add a handle for registered retimer to the port, so that it has handles to the various switches connected to it. Signed-off-by: Prashant Malani <pmalani@chromium.org> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20220711072333.2064341-3-pmalani@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/class.h')
-rw-r--r--drivers/usb/typec/class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/typec/class.h b/drivers/usb/typec/class.h
index 43fcf9e37a8c..673b2952b074 100644
--- a/drivers/usb/typec/class.h
+++ b/drivers/usb/typec/class.h
@@ -55,6 +55,7 @@ struct typec_port {
enum typec_orientation orientation;
struct typec_switch *sw;
struct typec_mux *mux;
+ struct typec_retimer *retimer;
const struct typec_capability *cap;
const struct typec_operations *ops;