Loading Documentation/devicetree/bindings/thermal/qcom,rpm-smd-cdev.txt 0 → 100644 +27 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. RPM SMD cooling device The RPM shared memory(SMD) cooling device, will be used to set different thermal band level to RPM hardware. When threshold violation occurs, RPM SMD cooling device sends pre-configured thermal band level to RPM hardware via SMD. Required Parameters: - compatible: Usage: required Value type: <string> Definition: should be "qcom,rpm-smd-cooling-device" - #cooling-cells: Usage: required Value type: <integer> Definition: Must be 2. This is required by of-thermal and refer the doc <devicetree/bindings/thermal/thermal.txt> for more details. Example: &rpm_bus { rpm_smd_cdev: rpm-smd-cdev { compatible = "qcom,rpm-smd-cooling-device"; #cooling-cells = <2>; }; }; arch/arm/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading arch/arm/configs/vendor/qcs405_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading arch/arm64/boot/dts/qcom/qcs405-thermal.dtsi +28 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,13 @@ }; }; &rpm_bus { rpm_smd_cdev: rpm-smd-cdev { compatible = "qcom,rpm-smd-cooling-device"; #cooling-cells = <2>; }; }; &thermal_zones { aoss-usr { polling-delay-passive = <0>; Loading Loading @@ -332,6 +339,27 @@ }; }; aoss-lowc { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_cap"; thermal-sensors = <&tsens0 0>; tracks-low; trips { aoss_lowc: aoss-lowc { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { rpm_smd_cdev { trip = <&aoss_lowc>; cooling-device = <&rpm_smd_cdev 2 2>; }; }; }; aoss-lowf { polling-delay-passive = <0>; polling-delay = <0>; Loading arch/arm64/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading Loading
Documentation/devicetree/bindings/thermal/qcom,rpm-smd-cdev.txt 0 → 100644 +27 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. RPM SMD cooling device The RPM shared memory(SMD) cooling device, will be used to set different thermal band level to RPM hardware. When threshold violation occurs, RPM SMD cooling device sends pre-configured thermal band level to RPM hardware via SMD. Required Parameters: - compatible: Usage: required Value type: <string> Definition: should be "qcom,rpm-smd-cooling-device" - #cooling-cells: Usage: required Value type: <integer> Definition: Must be 2. This is required by of-thermal and refer the doc <devicetree/bindings/thermal/thermal.txt> for more details. Example: &rpm_bus { rpm_smd_cdev: rpm-smd-cdev { compatible = "qcom,rpm-smd-cooling-device"; #cooling-cells = <2>; }; };
arch/arm/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading
arch/arm/configs/vendor/qcs405_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading
arch/arm64/boot/dts/qcom/qcs405-thermal.dtsi +28 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,13 @@ }; }; &rpm_bus { rpm_smd_cdev: rpm-smd-cdev { compatible = "qcom,rpm-smd-cooling-device"; #cooling-cells = <2>; }; }; &thermal_zones { aoss-usr { polling-delay-passive = <0>; Loading Loading @@ -332,6 +339,27 @@ }; }; aoss-lowc { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_cap"; thermal-sensors = <&tsens0 0>; tracks-low; trips { aoss_lowc: aoss-lowc { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { rpm_smd_cdev { trip = <&aoss_lowc>; cooling-device = <&rpm_smd_cdev 2 2>; }; }; }; aoss-lowf { polling-delay-passive = <0>; polling-delay = <0>; Loading
arch/arm64/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,7 @@ CONFIG_THERMAL_TSENS=y CONFIG_QTI_VIRTUAL_SENSOR=y CONFIG_QTI_QMI_COOLING_DEVICE=y CONFIG_REGULATOR_COOLING_DEVICE=y CONFIG_QTI_RPM_SMD_COOLING_DEVICE=y CONFIG_MFD_SPMI_PMIC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y Loading