platform/chrome: cros_ec_debugfs: Add PD port info to debugfs
Add info useful for debugging USB-PD port state. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Benson Leung <bleung@chromium.org>
This commit is contained in:

committed by
Benson Leung

parent
f63192800e
commit
b082b2e145
@@ -2948,6 +2948,9 @@ struct ec_response_usb_pd_control_v1 {
|
||||
|
||||
#define EC_CMD_USB_PD_PORTS 0x102
|
||||
|
||||
/* Maximum number of PD ports on a device, num_ports will be <= this */
|
||||
#define EC_USB_PD_MAX_PORTS 8
|
||||
|
||||
struct ec_response_usb_pd_ports {
|
||||
uint8_t num_ports;
|
||||
} __packed;
|
||||
|
Reference in New Issue
Block a user