0058-v6.9-arm64-dts-qcom-ipq6018-add-tsens-node.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 0b17197055b528da22e9385200e61b847b499d48 Mon Sep 17 00:00:00 2001
  2. From: Mantas Pucka <[email protected]>
  3. Date: Thu, 25 Jan 2024 11:04:11 +0200
  4. Subject: [PATCH] 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. Link: https://lore.kernel.org/r/[email protected]
  9. Signed-off-by: Bjorn Andersson <[email protected]>
  10. ---
  11. arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++
  12. 1 file changed, 10 insertions(+)
  13. --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  14. +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  15. @@ -343,6 +343,16 @@
  16. clock-names = "core";
  17. };
  18. + tsens: thermal-sensor@4a9000 {
  19. + compatible = "qcom,ipq6018-tsens", "qcom,ipq8074-tsens";
  20. + reg = <0x0 0x004a9000 0x0 0x1000>,
  21. + <0x0 0x004a8000 0x0 0x1000>;
  22. + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  23. + interrupt-names = "combined";
  24. + #qcom,sensors = <16>;
  25. + #thermal-sensor-cells = <1>;
  26. + };
  27. +
  28. cryptobam: dma-controller@704000 {
  29. compatible = "qcom,bam-v1.7.0";
  30. reg = <0x0 0x00704000 0x0 0x20000>;