Loading drivers/power/power_supply_sysfs.c +2 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ static ssize_t power_supply_show_property(struct device *dev, char *buf) { static char *type_text[] = { "Unknown", "Battery", "UPS", "Mains", "USB", "USB_DCP", "USB_CDP", "USB_ACA", "Wireless", "BMS" "USB_DCP", "USB_CDP", "USB_ACA", "Wireless", "BMS", "USB_Parallel" }; static char *status_text[] = { "Unknown", "Charging", "Discharging", "Not charging", "Full" Loading include/linux/power_supply.h +1 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,7 @@ enum power_supply_type { POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */ POWER_SUPPLY_TYPE_WIRELESS, /* Accessory Charger Adapters */ POWER_SUPPLY_TYPE_BMS, /* Battery Monitor System */ POWER_SUPPLY_TYPE_USB_PARALLEL, /* USB Parallel Path */ }; union power_supply_propval { Loading Loading
drivers/power/power_supply_sysfs.c +2 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ static ssize_t power_supply_show_property(struct device *dev, char *buf) { static char *type_text[] = { "Unknown", "Battery", "UPS", "Mains", "USB", "USB_DCP", "USB_CDP", "USB_ACA", "Wireless", "BMS" "USB_DCP", "USB_CDP", "USB_ACA", "Wireless", "BMS", "USB_Parallel" }; static char *status_text[] = { "Unknown", "Charging", "Discharging", "Not charging", "Full" Loading
include/linux/power_supply.h +1 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,7 @@ enum power_supply_type { POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */ POWER_SUPPLY_TYPE_WIRELESS, /* Accessory Charger Adapters */ POWER_SUPPLY_TYPE_BMS, /* Battery Monitor System */ POWER_SUPPLY_TYPE_USB_PARALLEL, /* USB Parallel Path */ }; union power_supply_propval { Loading