···1919 design requires. This property describes the total system ramp time2020 required due to the combination of internal ramping of the regulator itself,2121 and board design issues such as trace capacitance and load on the supply.2222+- regulator-state-mem sub-root node for Suspend-to-RAM mode2323+ : suspend to memory, the device goes to sleep, but all data stored in memory,2424+ only some external interrupt can wake the device.2525+- regulator-state-disk sub-root node for Suspend-to-DISK mode2626+ : suspend to disk, this state operates similarly to Suspend-to-RAM,2727+ but includes a final step of writing memory contents to disk.2828+- regulator-state-[mem/disk] node has following common properties:2929+ - regulator-on-in-suspend: regulator should be on in suspend state.3030+ - regulator-off-in-suspend: regulator should be off in suspend state.3131+ - regulator-suspend-microvolt: regulator should be set to this voltage3232+ in suspend.3333+ - regulator-mode: operating mode in the given suspend state.3434+ The set of possible operating modes depends on the capabilities of3535+ every hardware so the valid modes are documented on each regulator3636+ device tree binding document.3737+- regulator-initial-mode: initial operating mode. The set of possible operating3838+ modes depends on the capabilities of every hardware so each device binding3939+ documentation explains which values the regulator supports.22402341Deprecated properties:2442- regulator-compatible: If a regulator chip contains multiple···5234 regulator-max-microvolt = <2500000>;5335 regulator-always-on;5436 vin-supply = <&vin>;3737+3838+ regulator-state-mem {3939+ regulator-on-in-suspend;4040+ };5541 };56425743Regulator Consumers:
···243243 *244244 * @enable_time: Time taken for initial enable of regulator (in uS).245245 * @off_on_delay: guard time (in uS), before re-enabling a regulator246246+ *247247+ * @of_map_mode: Maps a hardware mode defined in a DeviceTree to a standard mode246248 */247249struct regulator_desc {248250 const char *name;···287285 unsigned int enable_time;288286289287 unsigned int off_on_delay;288288+289289+ unsigned int (*of_map_mode)(unsigned int mode);290290};291291292292/**