diff options
| author | Krzysztof Kozlowski <[email protected]> | 2015-09-14 21:12:45 +0900 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2015-10-26 14:49:04 +0000 |
| commit | d785334a0d5deff30a487c74324b842d2179553d (patch) | |
| tree | b0c19a873b50bd30e50a3ddae23ef0811346f58a /tools/perf/scripts/python | |
| parent | 689d4453ed8212ab4a5d53982ac01cbe6531d18a (diff) | |
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 <[email protected]>
Reported-by: Anand Moon <[email protected]>
Tested-by: Anand Moon <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions