Merge "power: power_supply_sysfs: Add support for Floating charger"
This commit is contained in:
commit
088c0f837e
2 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ static ssize_t power_supply_show_property(struct device *dev,
|
||||||
static char *type_text[] = {
|
static char *type_text[] = {
|
||||||
"Unknown", "Battery", "UPS", "Mains", "USB", "USB_DCP",
|
"Unknown", "Battery", "UPS", "Mains", "USB", "USB_DCP",
|
||||||
"USB_CDP", "USB_ACA", "USB_HVDCP", "USB_HVDCP_3", "USB_PD",
|
"USB_CDP", "USB_ACA", "USB_HVDCP", "USB_HVDCP_3", "USB_PD",
|
||||||
"Wireless", "BMS", "Parallel", "Main", "Wipower",
|
"Wireless", "USB_FLOAT", "BMS", "Parallel", "Main", "Wipower",
|
||||||
"TYPEC", "TYPEC_UFP", "TYPEC_DFP"
|
"TYPEC", "TYPEC_UFP", "TYPEC_DFP"
|
||||||
};
|
};
|
||||||
static char *status_text[] = {
|
static char *status_text[] = {
|
||||||
|
|
|
@ -271,6 +271,7 @@ enum power_supply_type {
|
||||||
POWER_SUPPLY_TYPE_USB_HVDCP_3, /* Efficient High Voltage DCP */
|
POWER_SUPPLY_TYPE_USB_HVDCP_3, /* Efficient High Voltage DCP */
|
||||||
POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery */
|
POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery */
|
||||||
POWER_SUPPLY_TYPE_WIRELESS, /* Accessory Charger Adapters */
|
POWER_SUPPLY_TYPE_WIRELESS, /* Accessory Charger Adapters */
|
||||||
|
POWER_SUPPLY_TYPE_USB_FLOAT, /* Floating charger */
|
||||||
POWER_SUPPLY_TYPE_BMS, /* Battery Monitor System */
|
POWER_SUPPLY_TYPE_BMS, /* Battery Monitor System */
|
||||||
POWER_SUPPLY_TYPE_PARALLEL, /* Parallel Path */
|
POWER_SUPPLY_TYPE_PARALLEL, /* Parallel Path */
|
||||||
POWER_SUPPLY_TYPE_MAIN, /* Main Path */
|
POWER_SUPPLY_TYPE_MAIN, /* Main Path */
|
||||||
|
|
Loading…
Add table
Reference in a new issue