platform_chrome: cros_ec: Add Type-C VDM defines
authorPrashant Malani <pmalani@chromium.org>
Wed, 28 Dec 2022 00:45:05 +0000 (00:45 +0000)
committerPrashant Malani <pmalani@chromium.org>
Mon, 9 Jan 2023 20:32:53 +0000 (20:32 +0000)
commit0e0dba884c4318c433756118794a7dff8947e6ce
tree2e6b96b6641b13802e2cbe0aa20ba3d693757230
parent0ac7200e3317bdde7b96112f24b9253208c0258b
platform_chrome: cros_ec: Add Type-C VDM defines

Add the EC header changes need to support USB Type-C VDM (Vendor Defined
Messages) communication between the system and USB PD-enabled
peripherals.

The headers are already present in the EC code base, from which they've
been ported [1].

[1] https://source.chromium.org/chromium/chromiumos/platform/ec/+/main:include/ec_commands.h

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221228004648.793339-3-pmalani@chromium.org
include/linux/platform_data/cros_ec_commands.h