Chen-Yu Tsai 06f4901092 mfd: axp20x: Add self-working mode support for AXP806
The AXP806 can operate in a standalone "self-working" mode, in which it
is also responsible for power control of the overall system. This mode
is similar to the master mode, but the EN/PWRON pin functions as a power
button, instead of a level-triggered enable switch.

This patch adds code checking for the new "x-powers,self-working-mode"
property, and a separate mfd_cell list that includes the power button
(PEK) sub-device.

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>
2018-07-27 08:13:26 +01:00
..
2016-11-29 08:21:33 +00:00
2018-06-11 07:20:17 -07:00
2018-07-04 07:17:13 +01:00
2018-01-08 11:03:35 +00:00
2018-06-12 16:19:22 -07:00
2017-07-18 08:27:18 +01:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2017-04-27 09:25:04 +01:00
2017-11-29 16:29:36 +00:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00