platform/chrome: cros_typec_switch: Set EC retimer
authorPrashant Malani <pmalani@chromium.org>
Tue, 16 Aug 2022 21:48:31 +0000 (21:48 +0000)
committerPrashant Malani <pmalani@chromium.org>
Thu, 18 Aug 2022 22:20:35 +0000 (22:20 +0000)
commitd4536a216c3f8ea0abcf90110750eb297ce48b45
treed56b3c90f32afe5a0c8d1fa3bd033496b384b54d
parentaffc804c44c8259ae53423aa3b5c20907e3a9a34
platform/chrome: cros_typec_switch: Set EC retimer

Invoke ChromeOS EC host commands to set EC-controlled retimer switches
to the state the Type-C framework instructs.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220816214857.2088914-4-pmalani@chromium.org
drivers/platform/chrome/cros_typec_switch.c