linux_dsm_epyc7002/include/linux/mfd/samsung
Krzysztof Kozlowski d785334a0d mfd: s2mps11: Add manual shutdown method for Odroid XU3
On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1
register must be manually set to 0 before initiating power off sequence.

One of usual power down methods for Exynos based devices looks like:
1. PWRHOLD pin of PMIC is connected to PSHOLD of Exynos SoC.
2. Exynos holds up this pin during system operation.
3. ACOKB pin of PMIC is pulled up to VBATT and optionally to pin in
   other device.
4. When PWRHOLD/PSHOLD goes low, the PMIC will turn off the power if
   ACOKB goes high.

On Odroid XU3 family the difference is in (3) - the ACOKB is grounded.
This means that PMIC must manually set PWRHOLD field to low and then
wait for signal from Application Processor (the usual change in
PWRHOLD/PSHOLD pin will actually cut off the power).

The patch adds respective binding allowing Odroid XU3 device to be
powered off.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Reported-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-10-26 14:49:04 +00:00
..
core.h mfd: s2mps11: Add manual shutdown method for Odroid XU3 2015-10-26 14:49:04 +00:00
irq.h mfd: sec: Fix RTC alarm interrupt number on S2MPS11 2015-04-09 10:26:54 +01:00
rtc.h drivers/rtc/rtc-s5m.c: add support for S2MPS13 RTC 2015-04-17 09:04:01 -04:00
s2mpa01.h regulator: s2mpxxx: Move regulator min/step voltages in common place 2014-08-16 16:51:16 -05:00
s2mps11.h mfd: s2mps11: Add manual shutdown method for Odroid XU3 2015-10-26 14:49:04 +00:00
s2mps13.h regulator: s2mps11: Fix wrong calculation of register offset 2015-01-08 18:16:58 +00:00
s2mps14.h regulator: s2mpxxx: Move regulator min/step voltages in common place 2014-08-16 16:51:16 -05:00
s2mpu02.h mfd: sec-core: Add support for S2MPU02 device 2014-07-09 14:58:11 +01:00
s5m8763.h mfd: Modify samsung mfd header 2012-07-16 14:28:11 +02:00
s5m8767.h regulator: s5m8767: Use GPIO for controlling Buck9/eMMC 2014-01-27 20:24:17 +00:00