power: axp20x_usb: Add support for usb power-supply on axp22x pmics
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Jun 2016 17:18:53 +0000 (19:18 +0200)
committerSebastian Reichel <sre@kernel.org>
Fri, 10 Jun 2016 01:31:27 +0000 (03:31 +0200)
commitcecbf8d52e6c7f16d954091be9283b928199ed92
tree117fd8bda4e60c160513f6873733cf5417588c9e
parent5630b4334c676ff60d9613e7b6a4cc89cb562acb
power: axp20x_usb: Add support for usb power-supply on axp22x pmics

The usb power-supply on the axp22x pmics is mostly identical to the
one on the axp20x pmics. One significant difference is that it cannot
measure / monitor the usb voltage / current.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/power_supply/axp20x_usb_power.txt
drivers/power/axp20x_usb_power.c