How can I enable gpio_dvfs? [I.MX6ULL]

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can I enable gpio_dvfs? [I.MX6ULL]

1,398件の閲覧回数
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,388件の閲覧回数
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,342件の閲覧回数
Sungkyun
Contributor II

Hi!

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

Best Regards,

Sungkyun Ko

0 件の賞賛
返信