022-arm64-dts-mt7986-change-thermal-trips-on-BPI-R3.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 6ddf23526955b8dbedfeaa57e691261fd73f9d4e Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Sun, 20 Aug 2023 17:31:35 +0200
  4. Subject: [PATCH 22/22] arm64: dts: mt7986: change thermal trips on BPI-R3
  5. Apply new naming after mt7986 thermal trips were changed.
  6. Fixes: c26f779a2295 ("arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts")
  7. Suggested-by: Daniel Golle <[email protected]>
  8. Signed-off-by: Frank Wunderlich <[email protected]>
  9. ---
  10. .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 10 +++++-----
  11. 1 file changed, 5 insertions(+), 5 deletions(-)
  12. --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  13. +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  14. @@ -152,16 +152,16 @@
  15. trip = <&cpu_trip_active_high>;
  16. };
  17. - cpu-active-low {
  18. + cpu-active-med {
  19. /* active: set fan to cooling level 1 */
  20. cooling-device = <&fan 1 1>;
  21. - trip = <&cpu_trip_active_low>;
  22. + trip = <&cpu_trip_active_med>;
  23. };
  24. - cpu-passive {
  25. - /* passive: set fan to cooling level 0 */
  26. + cpu-active-low {
  27. + /* active: set fan to cooling level 0 */
  28. cooling-device = <&fan 0 0>;
  29. - trip = <&cpu_trip_passive>;
  30. + trip = <&cpu_trip_active_low>;
  31. };
  32. };
  33. };