Hi igorpadykov
Think you for your reply.
I have read through the Chapter 2.5.3 CPU Frequency Scaling (CPUFREQ) , but it do not answer my question. As i know GPIO_DVFS is a gpio, so i think this gpio must be controlled by a driver in somewhere in the kernel. So my question is how can i find this driver and code related to GPIO_DVFS?
BTW:
i noticed someone post in this community
https://community.nxp.com/message/1246207?commentID=1246207#comment-1246207
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 3 GPIO_ACTIVE_HIGH>; /* This gpio match the GPIO_DVFS in imx6ull evk */
states = <1300000 0x1 1400000 0x0>;
};
&cpu0 {
dc-supply = <®_gpio_dvfs>;
};
but i can't find this reg_gpio_dvfs node in kernel dts directory.