mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
power_supply: Add custom property for USB High Current mode
For smb347. Change-Id: I3323469072e1ee5085d61af8a89612b06b91f94a Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
parent
7fcd7eef75
commit
f72efc79c0
|
|
@ -201,6 +201,8 @@ static struct device_attribute power_supply_attrs[] = {
|
|||
POWER_SUPPLY_ATTR(model_name),
|
||||
POWER_SUPPLY_ATTR(manufacturer),
|
||||
POWER_SUPPLY_ATTR(serial_number),
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_ATTR(usb_hc),
|
||||
};
|
||||
|
||||
static struct attribute *
|
||||
|
|
|
|||
|
|
@ -152,6 +152,8 @@ enum power_supply_property {
|
|||
POWER_SUPPLY_PROP_MODEL_NAME,
|
||||
POWER_SUPPLY_PROP_MANUFACTURER,
|
||||
POWER_SUPPLY_PROP_SERIAL_NUMBER,
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_PROP_USB_HC,
|
||||
};
|
||||
|
||||
enum power_supply_type {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user