进入adb shell后,执行如下命令查看当前平台支持的regulator名字
cat /sys/class/regulator/regulator.*/name
示例输出:
sm4250:/ # cat /sys/class/regulator/regulator.*/name regulator-dummy gcc_camss_top_gdsc wl2866d_l3 wl2866d_l4 pm6125_s1 pm6125_s3 pm6125_s8 pm6125_l2 pm6125_l3 pm6125_l5 pm6125_l6 pm6125_l11 gcc_ufs_phy_gdsc pm6125_l15 pm6125_l22 pm6125_l24 cam_dovdd_1p8 cam_afvdd_2p8 cam_depth_dovdd_1p8 pm6125_s4_level pm6125_s4_floor_level pm6125_s4_level_ao pm6125_s5_level smmu_tbu_gdsc pm6125_s5_floor_level pm6125_s5_level_ao pm6125_s6 pm6125_s7 pm6125_l1 pm6125_l4 pm6125_l7 pm6125_l8 pm6125_l9 pm6125_l10 smmu_tcu_gdsc pm6125_l12 pm6125_l13 pm6125_l14 pm6125_l16 pm6125_l17 pm6125_l18 pm6125_l19 pm6125_l20 pm6125_l21 pm6125_l23 adsp_gdsc SD7601_01-otg SD7601_01-input SD7601_01-chg bolero_gdsc bolero_va_gdsc wl2866d_l1 wl2866d_l2