]> git.karo-electronics.de Git - linux-beck.git/commit
max8903: adds support for initiation via device tree
authorChris Lapa <chris@lapa.com.au>
Fri, 24 Jun 2016 02:26:12 +0000 (12:26 +1000)
committerSebastian Reichel <sre@kernel.org>
Tue, 28 Jun 2016 18:16:26 +0000 (20:16 +0200)
commitc5ed3307940bc4584ce99236f033d60435d83036
tree3f4831cb1984fe5041ed344adaf1de560848546f
parent4aff217e77a88f6d8c21156e02dfcd32e65171a3
max8903: adds support for initiation via device tree

Adds support for device tree to setup a max8903 battery charger. DC and USB
validity are determined by looking the presence of the dok and uok gpios.

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>
drivers/power/max8903_charger.c