Loading arch/arm64/boot/dts/qcom/msm8917-thermal.dtsi +6 −6 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ }; }; mdss-usr { q6-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; Loading Loading @@ -69,7 +69,7 @@ }; }; cpuss-0-usr { cpuss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 4>; Loading @@ -83,7 +83,7 @@ }; }; apc1-cpu1-usr { apc1-cpu0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 5>; Loading @@ -97,7 +97,7 @@ }; }; apc1-cpu2-usr { apc1-cpu1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 6>; Loading @@ -111,7 +111,7 @@ }; }; apc1-cpu3-usr { apc1-cpu2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; Loading @@ -125,7 +125,7 @@ }; }; apc1-cpu4-usr { apc1-cpu3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; Loading arch/arm64/boot/dts/qcom/qm215-regulator.dtsi +8 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,14 @@ qcom,use-voltage-floor-level; qcom,always-send-voltage; }; pm8916_cx_cdev: regulator-cx-cdev { compatible = "qcom,regulator-cooling-device"; regulator-cdev-supply = <&pm8916_s1_floor_level>; regulator-levels = <RPM_SMD_REGULATOR_LEVEL_NOM_PLUS RPM_SMD_REGULATOR_LEVEL_RETENTION>; #cooling-cells = <2>; }; }; rpm-regulator-smpa3 { Loading drivers/thermal/qcom/qti_virtual_sensor.c +10 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,16 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = { "cpuss1-usr"}, .logic = VIRT_MAXIMUM, }, { .virt_zone_name = "penta-cpu-max-step", .num_sensors = 5, .sensor_names = {"apc1-cpu0-usr", "apc1-cpu1-usr", "apc1-cpu2-usr", "apc1-cpu3-usr", "cpuss-usr"}, .logic = VIRT_MAXIMUM, }, }; int qti_virtual_sensor_register(struct device *dev) Loading Loading
arch/arm64/boot/dts/qcom/msm8917-thermal.dtsi +6 −6 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ }; }; mdss-usr { q6-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; Loading Loading @@ -69,7 +69,7 @@ }; }; cpuss-0-usr { cpuss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 4>; Loading @@ -83,7 +83,7 @@ }; }; apc1-cpu1-usr { apc1-cpu0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 5>; Loading @@ -97,7 +97,7 @@ }; }; apc1-cpu2-usr { apc1-cpu1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 6>; Loading @@ -111,7 +111,7 @@ }; }; apc1-cpu3-usr { apc1-cpu2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; Loading @@ -125,7 +125,7 @@ }; }; apc1-cpu4-usr { apc1-cpu3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; Loading
arch/arm64/boot/dts/qcom/qm215-regulator.dtsi +8 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,14 @@ qcom,use-voltage-floor-level; qcom,always-send-voltage; }; pm8916_cx_cdev: regulator-cx-cdev { compatible = "qcom,regulator-cooling-device"; regulator-cdev-supply = <&pm8916_s1_floor_level>; regulator-levels = <RPM_SMD_REGULATOR_LEVEL_NOM_PLUS RPM_SMD_REGULATOR_LEVEL_RETENTION>; #cooling-cells = <2>; }; }; rpm-regulator-smpa3 { Loading
drivers/thermal/qcom/qti_virtual_sensor.c +10 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,16 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = { "cpuss1-usr"}, .logic = VIRT_MAXIMUM, }, { .virt_zone_name = "penta-cpu-max-step", .num_sensors = 5, .sensor_names = {"apc1-cpu0-usr", "apc1-cpu1-usr", "apc1-cpu2-usr", "apc1-cpu3-usr", "cpuss-usr"}, .logic = VIRT_MAXIMUM, }, }; int qti_virtual_sensor_register(struct device *dev) Loading