0140-arm64-dts-qcom-ipq6018-add-tsens-node.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. From 946b1a565a60a04f8e5171a79a463f99485a3531 Mon Sep 17 00:00:00 2001
  2. From: Mantas Pucka <[email protected]>
  3. Date: Wed, 24 Jan 2024 15:07:24 +0200
  4. Subject: [PATCH 2/3] arm64: dts: qcom: ipq6018: add tsens node
  5. IPQ6018 has temperature sensing HW block compatible with IPQ8074. Add
  6. node for it.
  7. Signed-off-by: Mantas Pucka <[email protected]>
  8. ---
  9. arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++
  10. 1 file changed, 10 insertions(+)
  11. --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  12. +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  13. @@ -193,6 +193,16 @@
  14. clock-names = "core";
  15. };
  16. + tsens: thermal-sensor@4a9000 {
  17. + compatible = "qcom,ipq6018-tsens", "qcom,ipq8074-tsens";
  18. + reg = <0x0 0x004a9000 0x0 0x1000>,
  19. + <0x0 0x004a8000 0x0 0x1000>;
  20. + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  21. + interrupt-names = "combined";
  22. + #qcom,sensors = <16>;
  23. + #thermal-sensor-cells = <1>;
  24. + };
  25. +
  26. cryptobam: dma-controller@704000 {
  27. compatible = "qcom,bam-v1.7.0";
  28. reg = <0x0 0x00704000 0x0 0x20000>;