OSDN Git Service

platform/chrome: cros_typec_switch: Register mode switches
authorPrashant Malani <pmalani@chromium.org>
Mon, 11 Jul 2022 07:23:01 +0000 (07:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jul 2022 12:44:08 +0000 (14:44 +0200)
commitf5434e30011e011b24852959365b7cbc61dd8c85
treea44b241bfb7494314312a2952313433a9e837bb3
parentbb53ad958012f5a8d88b3b7159c22b3b877601bb
platform/chrome: cros_typec_switch: Register mode switches

Register mode switch devices for Type C connectors, when they are
specified by firmware. These control Type C configuration for any USB
Type-C mode switches (sometimes known as "muxes") which are controlled
by the Chrome EC.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20220711072333.2064341-8-pmalani@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/chrome/cros_typec_switch.c