830-v6.4-41-dt-bindings-thermal-mediatek-Add-LVTS-thermal-sensor.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From be2cc09bd5b46f13629d4fcdeac7ad1b18bb1a0b Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Fri, 22 Sep 2023 07:50:18 +0200
  4. Subject: [PATCH] dt-bindings: thermal: mediatek: Add LVTS thermal sensors for
  5. mt7988
  6. Add sensor constants for MT7988.
  7. Signed-off-by: Frank Wunderlich <[email protected]>
  8. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  9. Acked-by: Conor Dooley <[email protected]>
  10. Signed-off-by: Daniel Lezcano <[email protected]>
  11. Link: https://lore.kernel.org/r/[email protected]
  12. ---
  13. include/dt-bindings/thermal/mediatek,lvts-thermal.h | 9 +++++++++
  14. 1 file changed, 9 insertions(+)
  15. --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
  16. +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
  17. @@ -7,6 +7,15 @@
  18. #ifndef __MEDIATEK_LVTS_DT_H
  19. #define __MEDIATEK_LVTS_DT_H
  20. +#define MT7988_CPU_0 0
  21. +#define MT7988_CPU_1 1
  22. +#define MT7988_ETH2P5G_0 2
  23. +#define MT7988_ETH2P5G_1 3
  24. +#define MT7988_TOPS_0 4
  25. +#define MT7988_TOPS_1 5
  26. +#define MT7988_ETHWARP_0 6
  27. +#define MT7988_ETHWARP_1 7
  28. +
  29. #define MT8195_MCU_BIG_CPU0 0
  30. #define MT8195_MCU_BIG_CPU1 1
  31. #define MT8195_MCU_BIG_CPU2 2