How can I enable gpio_dvfs? [I.MX6ULL]

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can I enable gpio_dvfs? [I.MX6ULL]

1,401 次查看
Sungkyun
Contributor II

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.

0 项奖励
回复
2 回复数

1,391 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sungkyun

 

please also check

&cpu0 {

dc-supply = <&reg_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

0 项奖励
回复

1,345 次查看
Sungkyun
Contributor II

Hi!

Does gpio_dvfs only work when entering and exiting power save mode?

Best Regards,

Sungkyun Ko

0 项奖励
回复