Hi,
I wanted to use gpio_dvfs, so I declared it in dts.
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
reg_gpio_dvfs: regulator-gpio {
compatible = "regulator-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dvfs>;
regulator-min-microvolt = <1300000>;
regulator-max-microvolt = <1400000>;
regulator-name = "gpio_dvfs";
regulator-type = "voltage";
gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>;
states = <1300000 0x1 1400000 0x0>;
};
However, when booting, the output is as follows:
# dmesg | grep dvfs
gpio_dvfs: disabling
#
How can I enable gpio_dvfs?
I loop forward to receiving your reply.
Thanks.
Hi Sungkyun
please also check
&cpu0 {
dc-supply = <®_gpio_dvfs>;
};
What bsp used in the case, it is enabled by default in nxp linux from
source.codeaurora.org/external/imx/linux-imx repository, suggest to
follow sect.5.1 Build configurations i.MX Yocto Project User’s Guide
use "imx6ull14x14evk" configuration.
Best regards
igor
Hi!
Does gpio_dvfs only work when entering and exiting power save mode?
Best Regards,
Sungkyun Ko