Skip to content

Commit

Permalink
arm64: dts: qcom: sc8280xp-pmics: Add PMK8280 ADC7 block
Browse files Browse the repository at this point in the history
Add support for ADC7 block available in PMK8280 for reading the
temperature via the AMUX pins.

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Konrad Dybcio <[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 34bd6d2 commit e0f681f
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 @@ -75,6 +75,16 @@
status = "disabled";
};
};

pmk8280_vadc: adc@3100 {
compatible = "qcom,spmi-adc7";
reg = <0x3100>;
interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
status = "disabled";
};
};

pmc8280_1: pmic@1 {
Expand Down

0 comments on commit e0f681f

Please sign in to comment.