RK860具有调频调压功能
DTS配置,注释掉之前的电源配置
&i2c0 {
status = "okay";
/*vdd_cpu: tcs4525@1c {
compatible = "tcs,tcs4525";
reg = <0x1c>;
vin-supply = <&vcc5v0_sys>;
regulator-compatible = "fan53555-reg";
regulator-name = "vdd_cpu";
regulator-min-microvolt = <712500>;
regulator-max-microvolt = <1390000>;
regulator-init-microvolt = <900000>;
regulator-ramp-delay = <2300>;
fcs,suspend-voltage-selector = <1>;
regulator-boot-on;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};*/
vdd_cpu: rk8600@40 {
compatible = "rockchip,rk8600";
reg = <0x40>;
vin-supply = <&vcc5v0_sys>;
//vsel-gpios = <&gpio0 3 0>;
regulator-compatible = "rk860x-reg";
regulator-name = "vdd_cpu";
regulator-min-microvolt = <712500>;
regulator-max-microvolt = <1390000>;
regulator-init-microvolt = <900000>;
regulator-ramp-delay = <2300>;
rockchip,suspend-voltage-selector = <1>;
regulator-boot-on;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
};
注意:旧的compatible = “rockchip,rk860x”;已经更换为新驱动里的compatible = “rockchip,rk8600”;等等
如果 drivers/regulator/rk860x-regulator.c 里面加的 log 没匹配上,电源还是有的,但不具有调频调压功能;
当查找问题时,也可以看中间件(临时文件)看看使用了什么,例如:rk3568-evb1-ddr4-v10-linux.dtb.dts.tmp