830-v6.7-46-dt-bindings-thermal-mediatek-Add-LVTS-thermal-contro.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From 0bb4937b58ab712f158588376dbac97f8e9df68e Mon Sep 17 00:00:00 2001
  2. From: Balsam CHIHI <[email protected]>
  3. Date: Tue, 17 Oct 2023 21:05:41 +0200
  4. Subject: [PATCH] dt-bindings: thermal: mediatek: Add LVTS thermal controller
  5. definition for mt8192
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. Add LVTS thermal controller definition for MT8192.
  10. Signed-off-by: Balsam CHIHI <[email protected]>
  11. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  12. Acked-by: Krzysztof Kozlowski <[email protected]>
  13. Signed-off-by: Bernhard Rosenkränzer <[email protected]>
  14. Reviewed-by: Matthias Brugger <[email protected]>
  15. Reviewed-by: Alexandre Mergnat <[email protected]>
  16. Signed-off-by: Daniel Lezcano <[email protected]>
  17. Link: https://lore.kernel.org/r/[email protected]
  18. ---
  19. .../thermal/mediatek,lvts-thermal.h | 19 +++++++++++++++++++
  20. 1 file changed, 19 insertions(+)
  21. --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
  22. +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
  23. @@ -35,4 +35,23 @@
  24. #define MT8195_AP_CAM0 15
  25. #define MT8195_AP_CAM1 16
  26. +#define MT8192_MCU_BIG_CPU0 0
  27. +#define MT8192_MCU_BIG_CPU1 1
  28. +#define MT8192_MCU_BIG_CPU2 2
  29. +#define MT8192_MCU_BIG_CPU3 3
  30. +#define MT8192_MCU_LITTLE_CPU0 4
  31. +#define MT8192_MCU_LITTLE_CPU1 5
  32. +#define MT8192_MCU_LITTLE_CPU2 6
  33. +#define MT8192_MCU_LITTLE_CPU3 7
  34. +
  35. +#define MT8192_AP_VPU0 8
  36. +#define MT8192_AP_VPU1 9
  37. +#define MT8192_AP_GPU0 10
  38. +#define MT8192_AP_GPU1 11
  39. +#define MT8192_AP_INFRA 12
  40. +#define MT8192_AP_CAM 13
  41. +#define MT8192_AP_MD0 14
  42. +#define MT8192_AP_MD1 15
  43. +#define MT8192_AP_MD2 16
  44. +
  45. #endif /* __MEDIATEK_LVTS_DT_H */