mfd: axp20x: Add battery power supply cell for AXP813
authorQuentin Schulz <quentin.schulz@bootlin.com>
Wed, 28 Feb 2018 10:36:01 +0000 (11:36 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
As axp20x-battery-power-supply now supports AXP813, add a cell for it.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x.c

index e5516aa..aaf2acb 100644 (file)
@@ -888,6 +888,9 @@ static struct mfd_cell axp813_cells[] = {
        }, {
                .name                   = "axp813-adc",
                .of_compatible          = "x-powers,axp813-adc",
+       }, {
+               .name           = "axp20x-battery-power-supply",
+               .of_compatible  = "x-powers,axp813-battery-power-supply",
        },
 };