162306a36Sopenharmony_ciWhat:		/sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode
262306a36Sopenharmony_ciDate:		Jul 2018
362306a36Sopenharmony_ciKernelVersion:	4.19
462306a36Sopenharmony_ciContact:	Geert Uytterhoeven <geert+renesas@glider.be>
562306a36Sopenharmony_ciDescription:	Read/write the current state of DDR Backup Mode, which controls
662306a36Sopenharmony_ci		if DDR power rails will be kept powered during system suspend.
762306a36Sopenharmony_ci		("on"/"1" = enabled, "off"/"0" = disabled).
862306a36Sopenharmony_ci		Two types of power switches (or control signals) can be used:
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci		  A. With a momentary power switch (or pulse signal), DDR
1162306a36Sopenharmony_ci		     Backup Mode is enabled by default when available, as the
1262306a36Sopenharmony_ci		     PMIC will be configured only during system suspend.
1362306a36Sopenharmony_ci		  B. With a toggle power switch (or level signal), the
1462306a36Sopenharmony_ci		     following steps must be followed exactly:
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci		       1. Configure PMIC for backup mode, to change the role of
1762306a36Sopenharmony_ci			  the accessory power switch from a power switch to a
1862306a36Sopenharmony_ci			  wake-up switch,
1962306a36Sopenharmony_ci		       2. Switch accessory power switch off, to prepare for
2062306a36Sopenharmony_ci			  system suspend, which is a manual step not controlled
2162306a36Sopenharmony_ci			  by software,
2262306a36Sopenharmony_ci		       3. Suspend system,
2362306a36Sopenharmony_ci		       4. Switch accessory power switch on, to resume the
2462306a36Sopenharmony_ci			  system.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci		     DDR Backup Mode must be explicitly enabled by the user,
2762306a36Sopenharmony_ci		     to invoke step 1.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci		See also Documentation/devicetree/bindings/mfd/rohm,bd9571mwv.yaml.
3062306a36Sopenharmony_ciUsers:		User space applications for embedded boards equipped with a
3162306a36Sopenharmony_ci		BD9571MWV PMIC.
32