mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
power_supply: Add new type for USB chargers
This adds a power supply type for special USB charger, this kind of USB charger is similar to Dedicated Charging Port, but not a standard DCP because of D+/D- not short. Change-Id: I7c478da642b43465a9de65c8b5d7b8250c0da037 Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
This commit is contained in:
committed by
Gerrit Code Review
parent
0d47c1d85b
commit
63c6ce27ba
@@ -170,6 +170,7 @@ enum power_supply_type {
|
||||
POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */
|
||||
POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */
|
||||
POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */
|
||||
POWER_SUPPLY_TYPE_USB_FLOATING, /* DCP without shorting D+/D- */
|
||||
};
|
||||
|
||||
enum power_supply_notifier_events {
|
||||
|
||||
Reference in New Issue
Block a user