Removal of regulator-boot-on/always-on when a consumer exists
From: Fabio Estevam
Date: Mon Sep 26 2016 - 10:26:31 EST
Hi Mark,
On the linux-arm-kernel list we are reviewing a patch from Michael (on
Cc), where he does:
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "3P3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};
&can1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1>;
xceiver-supply = <®_3p3v>;
};
My suggestion is to remove regulator-boot-on/regulator-always-on:
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "3P3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
,since reg_3p3v has can1 as its consumer.
Is my understanding correct?
Thanks,
Fabio Estevam