diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-07-16 11:30:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-18 08:10:15 -0400 |
commit | cf18fd01466d59263c615165341684a055206dd5 (patch) | |
tree | a08c36de85999ac4c9fd022970b872e16fac1be9 | |
parent | e436875f6f97708613976da75a92974f18998af9 (diff) |
regulator: bd9571mwv: Document "backup_mode" sysfs file
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator b/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator new file mode 100644 index 000000000000..4d63a7904b94 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator | |||
@@ -0,0 +1,27 @@ | |||
1 | What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode | ||
2 | Date: Jul 2018 | ||
3 | KernelVersion: 4.19 | ||
4 | Contact: Geert Uytterhoeven <geert+renesas@glider.be> | ||
5 | Description: Read/write the current state of DDR Backup Mode, which controls | ||
6 | if DDR power rails will be kept powered during system suspend. | ||
7 | ("on"/"1" = enabled, "off"/"0" = disabled). | ||
8 | Two types of power switches (or control signals) can be used: | ||
9 | A. With a momentary power switch (or pulse signal), DDR | ||
10 | Backup Mode is enabled by default when available, as the | ||
11 | PMIC will be configured only during system suspend. | ||
12 | B. With a toggle power switch (or level signal), the | ||
13 | following steps must be followed exactly: | ||
14 | 1. Configure PMIC for backup mode, to change the role of | ||
15 | the accessory power switch from a power switch to a | ||
16 | wake-up switch, | ||
17 | 2. Switch accessory power switch off, to prepare for | ||
18 | system suspend, which is a manual step not controlled | ||
19 | by software, | ||
20 | 3. Suspend system, | ||
21 | 4. Switch accessory power switch on, to resume the | ||
22 | system. | ||
23 | DDR Backup Mode must be explicitly enabled by the user, | ||
24 | to invoke step 1. | ||
25 | See also Documentation/devicetree/bindings/mfd/bd9571mwv.txt. | ||
26 | Users: User space applications for embedded boards equipped with a | ||
27 | BD9571MWV PMIC. | ||