mfd: axp20x: Support AXP806 in I2C mode
authorChen-Yu Tsai <wens@csie.org>
Thu, 12 Jul 2018 16:04:50 +0000 (00:04 +0800)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Jul 2018 07:13:26 +0000 (08:13 +0100)
commit99e19b7c48f852acd8341de4390931a9da699ee3
tree86e9e945e3d8d8f195a212d08807ed902a23a1fb
parent06f4901092c26c24575dd0aa1f55cdf9a83434e8
mfd: axp20x: Support AXP806 in I2C mode

The Pine64 H64 board uses an AXP806 PMIC in I2C and self-working mode.
The H64 SoC does not have the usual RSB controller.

This patch adds AXP806 to the list of devices supported in I2C mode.
In theory, all RSB-based PMICs can also be used in I2C mode.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Icenowy Zheng <icenowy@aosc.io>
Tested-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x-i2c.c