Firefly开源社区

打印 上一主题 下一主题

rk3128 pmu供电方式为DC-DC,如何配置logic arm电压

45

积分

0

威望

0

贡献

技术小白

积分
45

rk3128 pmu供电方式为DC-DC,如何配置logic arm电压

发表于 2019-3-6 16:39:38      浏览:6802 | 回复:0        打印      只看该作者   [复制链接] 楼主
rk3128平台,供电方式硬件控制,输出PWM调节vdd_arm,vdd_logic电压,请问如何在dts上配置?
以下是我的改动:
Disable rk818
+&rk818 {
+    status = "disabled";
+};
Enable pwm_regulator1 pwm_regulator2
                compatible = "rockchip_pwm_regulator";
                pwms = <&pwm1 0 25000>;
                rockchip,pwm_id= <1>;
                rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000 1425000 1450000>;
                rockchip,pwm_voltage= <1250000>;
                rockchip,pwm_min_voltage= <950000>;
                rockchip,pwm_max_voltage= <1450000>;
                rockchip,pwm_suspend_voltage= <1250000>;
                rockchip,pwm_coefficient= <550>;
-              status = "disabled";
+                status = "okay";
                regulators {

跑板子的时候,从log看pwm-regulator驱动没办法probe成功
[    7.295157] pwm-voltage-regulator pwm-regulator1.18: unable to request PWM, trying legacy API
[    7.295189] pwm-voltage-regulator pwm-regulator1.18: unable to request legacy PWM
[    7.295208] pwm_regulator_probe:error
[    7.295246] platform pwm-regulator1.18: Driver pwm-voltage-regulator requests probe deferral
[    7.295383] pwm-voltage-regulator pwm-regulator2.19: unable to request PWM, trying legacy API
[    7.295411] pwm-voltage-regulator pwm-regulator2.19: unable to request legacy PWM
[    7.295429] pwm_regulator_probe:error
[    7.295463] platform pwm-regulator2.19: Driver pwm-voltage-regulator requests probe deferral
把 &pwm1 &pwm2打开后,跑kernel会突然挂掉
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表