OpenCloudOS-Kernel/include/linux/power
Chris Lapa cbf9077e58 max8903: cleans up confusing relationship between dc_valid, dok and dcm.
The max8903_charger.h file indicated that dcm and dok were not optional
when dc_valid is set.

It makes sense to have dok as a compulsory pin when dc_valid is given.
However dcm can be optionally wired to a fixed level especially when the
circuit is configured for dc power exclusively.

The previous implementation already allowed for this somewhat, however no
error was given if dok wasn't given whilst dc_valid was.

The new implementation enforces dok presence when dc_valid is given. Whilst
allowing dcm to be optional.

Signed-off-by: Chris Lapa <chris@lapa.com.au>

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2016-06-28 20:05:41 +02:00
..
ab8500.h ab8500_bmdata: Export abx500_res_to_temp tables for hwmon 2013-04-16 17:38:10 -07:00
bq27xxx_battery.h power: bq27xxx_battery: Restore device name 2016-02-21 20:49:34 +01:00
bq2415x_charger.h bq2415x_charger: Use power_supply notifier for automode 2013-12-23 17:58:03 -08:00
bq24190_charger.h bq24190_charger: Add support for TI BQ24190 Battery Charger 2013-08-27 18:17:54 -07:00
bq24735-charger.h power: bq24735-charger: add 'ti,external-control' option 2016-02-15 06:36:10 +01:00
charger-manager.h power: charger-manager: comment spelling fixes 2015-09-22 16:04:30 +02:00
generic-adc-battery.h power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
gpio-charger.h
isp1704_charger.h isp1704_charger: Add DT support 2013-12-23 18:34:58 -08:00
jz4740-battery.h
max8903_charger.h max8903: cleans up confusing relationship between dc_valid, dok and dcm. 2016-06-28 20:05:41 +02:00
max17042_battery.h power: max17042_battery: add HEALTH and TEMP_* properties support 2015-05-23 22:43:28 +02:00
sbs-battery.h
smartreflex.h PM / AVS: SmartReflex: use omap_sr * for enable/disable interface 2013-06-10 10:46:18 -07:00
smb347-charger.h Add I2C driver for Summit Microelectronics SMB347 Battery Charger. 2012-03-26 20:41:01 +04:00
twl4030_madc_battery.h power: Add twl4030_madc battery driver. 2013-08-30 17:34:52 -07:00