diff options
| author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-16 14:10:37 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-16 14:10:37 +0300 |
| commit | 782853cf9b1bd349ed726390a6fbe40f745931b7 (patch) | |
| tree | 19a0d88136ab6a06e0e85a7f1d1020b0a9726c48 /include | |
| parent | 2e04dd441a2ecc049505b2cbfabc355a48115b59 (diff) | |
| parent | 3af15cfacd1eef7f223802d49a88cae23c509183 (diff) | |
| download | linux-782853cf9b1bd349ed726390a6fbe40f745931b7.tar.xz | |
Merge tag 'psy-mfd-cros-immutable-for-v4.20-signed' into psy-next
Immutable branch for mfd and power-supply for v4.20
Immutable branch between mfd and power-supply for driver
changes in CROS USBPD charger driver.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mfd/cros_ec_commands.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h index 6e1ab9bead28..20ee71f10865 100644 --- a/include/linux/mfd/cros_ec_commands.h +++ b/include/linux/mfd/cros_ec_commands.h @@ -3102,6 +3102,16 @@ struct ec_params_usb_pd_info_request { uint8_t port; } __packed; +/* + * This command will return the number of USB PD charge port + the number + * of dedicated port present. + * EC_CMD_USB_PD_PORTS does NOT include the dedicated ports + */ +#define EC_CMD_CHARGE_PORT_COUNT 0x0105 +struct ec_response_charge_port_count { + uint8_t port_count; +} __packed; + /* Read USB-PD Device discovery info */ #define EC_CMD_USB_PD_DISCOVERY 0x0113 struct ec_params_usb_pd_discovery_entry { |
