Skip to content

Commit

Permalink
arm64: dts: qcom: sc8280xp-pmics: Add support for TM5 block in PMK8280
Browse files Browse the repository at this point in the history
Thermal Monitoring block ADC5 (TM5) in PMK8280 can be used to monitor the
temperature from secondary PMICs like PM8280.

Reviewed-by: Konrad Dybcio <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Mani-Sadhasivam authored and andersson committed Nov 7, 2022
1 parent e0f681f commit 5cd549c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5cd549c

Please sign in to comment.