platform/chrome: Add Type-C mux set command definitions
authorPrashant Malani <pmalani@chromium.org>
Tue, 16 Aug 2022 21:48:29 +0000 (21:48 +0000)
committerPrashant Malani <pmalani@chromium.org>
Thu, 18 Aug 2022 22:20:35 +0000 (22:20 +0000)
commit77947238dad3b83bbe085ebcd576ea55afb70425
treeb89fc7d89db1559da9c94340ed247722a0b6bd96
parentf74c7557ed0d321947e8bb4e9d47c1013f8b2227
platform/chrome: Add Type-C mux set command definitions

Copy EC header definitions for the USB Type-C Mux control command from
the EC code base. Also pull in "TBT_UFP_REPLY" definitions, since that
is the prior entry in the enum.

These headers are already present in the EC code base. [1]

[1] https://chromium.googlesource.com/chromiumos/platform/ec/+/b80f85a94a423273c1638ef7b662c56931a138dd/include/ec_commands.h

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220816214857.2088914-2-pmalani@chromium.org
include/linux/platform_data/cros_ec_commands.h