Loading arch/arm64/boot/dts/qcom/sdm429w-regulator.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ qcom,use-voltage-level; }; pm660_cx_cdev: regulator-cx-cdev { pm660_cx_cdev: cx { compatible = "qcom,regulator-cooling-device"; regulator-cdev-supply = <&pm660_s1_floor_level>; regulator-levels = <RPM_SMD_REGULATOR_LEVEL_NOM_PLUS Loading drivers/thermal/qcom/qti_virtual_sensor.c +12 −1 Original line number Diff line number Diff line /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -181,6 +181,17 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = { "gpuss-3-usr"}, .logic = VIRT_MAXIMUM, }, { .virt_zone_name = "hexa-cpu-max-step", .num_sensors = 6, .sensor_names = {"apc1-cpu0-usr", "apc1-cpu1-usr", "apc1-cpu2-usr", "apc1-cpu3-usr", "cpuss0-usr", "cpuss1-usr"}, .logic = VIRT_MAXIMUM, }, }; int qti_virtual_sensor_register(struct device *dev) Loading Loading
arch/arm64/boot/dts/qcom/sdm429w-regulator.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ qcom,use-voltage-level; }; pm660_cx_cdev: regulator-cx-cdev { pm660_cx_cdev: cx { compatible = "qcom,regulator-cooling-device"; regulator-cdev-supply = <&pm660_s1_floor_level>; regulator-levels = <RPM_SMD_REGULATOR_LEVEL_NOM_PLUS Loading
drivers/thermal/qcom/qti_virtual_sensor.c +12 −1 Original line number Diff line number Diff line /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -181,6 +181,17 @@ static const struct virtual_sensor_data qti_virtual_sensors[] = { "gpuss-3-usr"}, .logic = VIRT_MAXIMUM, }, { .virt_zone_name = "hexa-cpu-max-step", .num_sensors = 6, .sensor_names = {"apc1-cpu0-usr", "apc1-cpu1-usr", "apc1-cpu2-usr", "apc1-cpu3-usr", "cpuss0-usr", "cpuss1-usr"}, .logic = VIRT_MAXIMUM, }, }; int qti_virtual_sensor_register(struct device *dev) Loading