Hello All,
I would like to have the possibility to disable one regulator of the MMPF0100 PMIC on suspend-to-memory and re-enable it on wake-up. I tried to use "regulator-off-in-suspend" according to the available Linux documentation, but that didn't help me: the regulator still works in suspend mode. I expected it to be turned off in suspend mode. I enter the suspend-to-memory state by using:
# "echo mem > /sys/power/state".
What could be the correct way to keep the regulator turned off while in suspend-to-memory state?
This is a fragment from my device tree:
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2_2>;
status = "okay";
pmic: pfuze100@08 {
compatible = "fsl,pfuze100";
reg = <0x08>;
regulators {
sw4_reg: sw4 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
/* I thought this would help me but it does not work: */
regulator-state-mem {
regulator-off-in-suspend;
};
};
/* (... Description of other regulators ...) */
Solved! Go to Solution.
Hi Faustas
one can refer to Chapter 21 Low-level Power Management (PM) Driver
attached Linux Manual for implemented linux low power states,
seems suspend-to-memory and this dts property is not used in i.mx6 nxp bsps.
In general one can debug it using described sources in Chapter 22
PF100 Regulator Driver.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Faustas
one can refer to Chapter 21 Low-level Power Management (PM) Driver
attached Linux Manual for implemented linux low power states,
seems suspend-to-memory and this dts property is not used in i.mx6 nxp bsps.
In general one can debug it using described sources in Chapter 22
PF100 Regulator Driver.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------