Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5dd6fc4 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: power_supply: Add Wipower charger type



Add support to specify Wipower charger type. Wipower is a wireless
charging technology which uses bluetooth low energy communication
for exchanging charging parameters and can charge multiple devices
simultaneously within a single charge area.

Change-Id: I265c9db31b76b5244f4616513c95f13c578cdbf4
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent f0460f77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ static ssize_t power_supply_show_property(struct device *dev,
	static char *type_text[] = {
		"Unknown", "Battery", "UPS", "Mains", "USB",
		"USB_DCP", "USB_CDP", "USB_ACA", "Wireless", "BMS",
		"USB_Parallel"
		"USB_Parallel", "Wipower"
	};
	static char *status_text[] = {
		"Unknown", "Charging", "Discharging", "Not charging", "Full"
+1 −0
Original line number Diff line number Diff line
@@ -187,6 +187,7 @@ enum power_supply_type {
	POWER_SUPPLY_TYPE_WIRELESS,	/* Accessory Charger Adapters */
	POWER_SUPPLY_TYPE_BMS,		/* Battery Monitor System */
	POWER_SUPPLY_TYPE_USB_PARALLEL,		/* USB Parallel Path */
	POWER_SUPPLY_TYPE_WIPOWER,		/* Wipower */
};

union power_supply_propval {