aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power/bq24735-charger.h2
-rw-r--r--include/linux/power_supply.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/power/bq24735-charger.h b/include/linux/power/bq24735-charger.h
index f536164a6069..6b750c1a45fa 100644
--- a/include/linux/power/bq24735-charger.h
+++ b/include/linux/power/bq24735-charger.h
@@ -32,6 +32,8 @@ struct bq24735_platform {
32 int status_gpio_active_low; 32 int status_gpio_active_low;
33 bool status_gpio_valid; 33 bool status_gpio_valid;
34 34
35 bool ext_control;
36
35 char **supplied_to; 37 char **supplied_to;
36 size_t num_supplicants; 38 size_t num_supplicants;
37}; 39};
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index ef9f1592185d..751061790626 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -163,6 +163,9 @@ enum power_supply_type {
163 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */ 163 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */
164 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */ 164 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */
165 POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */ 165 POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */
166 POWER_SUPPLY_TYPE_USB_TYPE_C, /* Type C Port */
167 POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery Port */
168 POWER_SUPPLY_TYPE_USB_PD_DRP, /* PD Dual Role Port */
166}; 169};
167 170
168enum power_supply_notifier_events { 171enum power_supply_notifier_events {