WSL2-Linux-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
bq27xxx_battery.h power: bq27xxx_battery: Restore device name 2016-02-21 20:49:34 +01:00
bq2415x_charger.h
bq24190_charger.h
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
gpio-charger.h
isp1704_charger.h
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
smb347-charger.h
twl4030_madc_battery.h