Loading arch/arm64/configs/vendor/lito-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -368,6 +368,7 @@ CONFIG_QTI_QMI_SENSOR=y CONFIG_QTI_BCL_PMIC5=y CONFIG_QTI_BCL_SOC_DRIVER=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_QTI_THERMAL_LIMITS_DCVS=y CONFIG_QTI_AOP_REG_COOLING_DEVICE=y CONFIG_QTI_CPU_ISOLATE_COOLING_DEVICE=y CONFIG_QTI_LMH_CPU_VDD_COOLING_DEVICE=y Loading arch/arm64/configs/vendor/lito_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -375,6 +375,7 @@ CONFIG_QTI_QMI_SENSOR=y CONFIG_QTI_BCL_PMIC5=y CONFIG_QTI_BCL_SOC_DRIVER=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_QTI_THERMAL_LIMITS_DCVS=y CONFIG_QTI_AOP_REG_COOLING_DEVICE=y CONFIG_QTI_CPU_ISOLATE_COOLING_DEVICE=y CONFIG_QTI_LMH_CPU_VDD_COOLING_DEVICE=y Loading drivers/thermal/qcom/msm_lmh_dcvs.c +12 −5 Original line number Diff line number Diff line Loading @@ -529,6 +529,7 @@ static int limits_dcvs_probe(struct platform_device *pdev) int cpu, idx = 0; cpumask_t mask = { CPU_BITS_NONE }; const __be32 *addr; bool no_cdev_register = false; for_each_possible_cpu(cpu) { cpu_node = of_cpu_device_node_get(cpu); Loading Loading @@ -590,6 +591,9 @@ static int limits_dcvs_probe(struct platform_device *pdev) return -EINVAL; } no_cdev_register = of_property_read_bool(dn, "qcom,no-cooling-device-register"); addr = of_get_address(dn, 0, NULL, NULL); if (!addr) { pr_err("Property llm-base-addr not found\n"); Loading Loading @@ -675,11 +679,14 @@ static int limits_dcvs_probe(struct platform_device *pdev) mutex_unlock(&lmh_dcvs_list_access); lmh_debug_register(pdev); ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "lmh-dcvs/cdev:online", if (!no_cdev_register) { ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "lmh-dcvs/cdev:online", limits_cpu_online, NULL); if (ret < 0) goto unregister_sensor; ret = 0; } return ret; Loading Loading
arch/arm64/configs/vendor/lito-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -368,6 +368,7 @@ CONFIG_QTI_QMI_SENSOR=y CONFIG_QTI_BCL_PMIC5=y CONFIG_QTI_BCL_SOC_DRIVER=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_QTI_THERMAL_LIMITS_DCVS=y CONFIG_QTI_AOP_REG_COOLING_DEVICE=y CONFIG_QTI_CPU_ISOLATE_COOLING_DEVICE=y CONFIG_QTI_LMH_CPU_VDD_COOLING_DEVICE=y Loading
arch/arm64/configs/vendor/lito_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -375,6 +375,7 @@ CONFIG_QTI_QMI_SENSOR=y CONFIG_QTI_BCL_PMIC5=y CONFIG_QTI_BCL_SOC_DRIVER=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_QTI_THERMAL_LIMITS_DCVS=y CONFIG_QTI_AOP_REG_COOLING_DEVICE=y CONFIG_QTI_CPU_ISOLATE_COOLING_DEVICE=y CONFIG_QTI_LMH_CPU_VDD_COOLING_DEVICE=y Loading
drivers/thermal/qcom/msm_lmh_dcvs.c +12 −5 Original line number Diff line number Diff line Loading @@ -529,6 +529,7 @@ static int limits_dcvs_probe(struct platform_device *pdev) int cpu, idx = 0; cpumask_t mask = { CPU_BITS_NONE }; const __be32 *addr; bool no_cdev_register = false; for_each_possible_cpu(cpu) { cpu_node = of_cpu_device_node_get(cpu); Loading Loading @@ -590,6 +591,9 @@ static int limits_dcvs_probe(struct platform_device *pdev) return -EINVAL; } no_cdev_register = of_property_read_bool(dn, "qcom,no-cooling-device-register"); addr = of_get_address(dn, 0, NULL, NULL); if (!addr) { pr_err("Property llm-base-addr not found\n"); Loading Loading @@ -675,11 +679,14 @@ static int limits_dcvs_probe(struct platform_device *pdev) mutex_unlock(&lmh_dcvs_list_access); lmh_debug_register(pdev); ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "lmh-dcvs/cdev:online", if (!no_cdev_register) { ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "lmh-dcvs/cdev:online", limits_cpu_online, NULL); if (ret < 0) goto unregister_sensor; ret = 0; } return ret; Loading