]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: axp20x: Allow the AXP223 to be probed by I2C
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 18 Mar 2019 12:55:48 +0000 (13:55 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 14 May 2019 07:13:26 +0000 (08:13 +0100)
commit4f799e47adb35e1e0e7a598eb856f3ac6c18b4aa
tree8f780d63e75d1c437b8dc98c3d7c2250e99f565a
parent54349b3ce82e3369a7c7b2960f19c1bea876c5fb
mfd: axp20x: Allow the AXP223 to be probed by I2C

The AXP223 can be used both using the RSB proprietary bus, or a more
traditional I2C bus. The RSB is a faster bus and provides more features
(like some integrity checks on the messages), so it's usually preferrable
to use it, but since it's proprietary, when we want to use the PMIC in a
multi-master setup, the i2c might make sense as well.

Let's add that possibility.

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