diff options
author | Bhupesh Sharma <bhupesh.sharma@linaro.org> | 2022-08-05 12:01:53 +0530 |
---|---|---|
committer | Bhupesh Sharma <bhupesh.sharma@linaro.org> | 2022-09-13 12:02:31 +0530 |
commit | 36f5ae9e65fc0f30c0fbf16dc18e131bc08c3cad (patch) | |
tree | 5419b2b446ef461f0ad94c6bd91c65a9149f7e07 | |
parent | 66e55b4f6fb2b2ddca7b263520acbc0710ed1725 (diff) |
FROMLIST: arm64: dts: qcom: sm8150: Add qmi cooling device nodes
Add qmi cooling nodes to sm8150 dts file. This node
describes the various qmi thermal mitigation devices
(tmd) which are available on remote processor subsystems.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: andersson@kernel.org
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
(am from https://lore.kernel.org/linux-arm-msm/20220912091643.3537857-2-bhupesh.sharma@linaro.org/)
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm8150.dtsi | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 8a9ea87c3f9f..b62126a672bc 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -14,6 +14,7 @@ #include <dt-bindings/clock/qcom,gpucc-sm8150.h> #include <dt-bindings/interconnect/qcom,osm-l3.h> #include <dt-bindings/interconnect/qcom,sm8150.h> +#include <dt-bindings/thermal/qcom,tmd.h> #include <dt-bindings/thermal/thermal.h> / { @@ -3341,6 +3342,67 @@ }; }; + qmi_tmd_devices: qmi-tmd-devices { + compatible = "qcom,qmi-tmd-devices"; + status = "disabled"; + + modem0 { + qcom,instance-id = <MODEM0_INSTANCE_ID>; + + modem0_pa: tmd-device0 { + label = "pa"; + #cooling-cells = <2>; + }; + + modem0_proc: tmd-device1 { + label = "modem"; + #cooling-cells = <2>; + }; + + modem0_current: tmd-device2 { + label = "modem_current"; + #cooling-cells = <2>; + }; + + modem0_skin: tmd-device3 { + label = "modem_skin"; + #cooling-cells = <2>; + }; + + modem0_vdd: tmd-device4 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + adsp { + qcom,instance-id = <ADSP_INSTANCE_ID>; + + adsp_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + cdsp { + qcom,instance-id = <CDSP_INSTANCE_ID>; + + cdsp_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + slpi { + qcom,instance-id = <SLPI_INSTANCE_ID>; + + slpi_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + }; + usb_1_hsphy: phy@88e2000 { compatible = "qcom,sm8150-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy"; |