diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-10-29 15:27:36 -0700 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-11-12 21:32:09 +0100 |
commit | cd2c40ff90b0e385c18f881ab5e17f7137864223 (patch) | |
tree | 641913cbc70ca4c2ff80bcdb5aa1aa22a2f35e0d /drivers/platform/chrome | |
parent | 514acf1cefd020eb21d7c180050a8d66b723d2d8 (diff) | |
download | linux-cd2c40ff90b0e385c18f881ab5e17f7137864223.tar.bz2 |
platform/chrome: cros_ec: Import Type C host commands
Import the EC_CMD_TYPEC_STATUS and EC_CMD_TYPEC_DISCOVERY Chrome OS EC
host commands from the EC code base [1].
These commands can be used by the application processor to query Power
Delivery (PD) discovery information concerning connected Type C
peripherals.
Also add the EC_FEATURE_TYPEC_CMD feature flag, which is used to
determine whether these commands are supported by the EC.
[1]:
https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master/include/ec_commands.h
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201029222738.482366-5-pmalani@chromium.org
Diffstat (limited to 'drivers/platform/chrome')
0 files changed, 0 insertions, 0 deletions