diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2022-11-03 12:58:04 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-11-07 06:11:11 +0300 |
commit | 5cd549c7e7cd55453e0c0d4f2c1f51d071061451 (patch) | |
tree | 2eecaa8d0a25ef46efbeb87c9e9febe8e61d3447 | |
parent | e0f681f7294a9899dbae897f31720efc30807582 (diff) | |
download | linux-5cd549c7e7cd55453e0c0d4f2c1f51d071061451.tar.xz |
arm64: dts: qcom: sc8280xp-pmics: Add support for TM5 block in PMK8280
Thermal Monitoring block ADC5 (TM5) in PMK8280 can be used to monitor the
temperature from secondary PMICs like PM8280.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221103095810.64606-7-manivannan.sadhasivam@linaro.org
-rw-r--r-- | arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index b1cdde2f7861..f2c0b71b5d8e 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -85,6 +85,16 @@ #io-channel-cells = <1>; status = "disabled"; }; + + pmk8280_adc_tm: adc-tm@3400 { + compatible = "qcom,spmi-adc-tm5-gen2"; + reg = <0x3400>; + interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; + #address-cells = <1>; + #size-cells = <0>; + #thermal-sensor-cells = <1>; + status = "disabled"; + }; }; pmc8280_1: pmic@1 { |