Skip to content

Commit

Permalink
Fixed tsadc channels for rk3308
Browse files Browse the repository at this point in the history
According to RK3308 TRM Part 1: 26.5.1 Channel Select
The system has two Temperature Sensors, channel 0 is for logic power domain
and channel 1 is for core power domain.
  • Loading branch information
piter75 authored and StephenInVamrs committed Sep 6, 2019
1 parent 4caebb0 commit 5dbd30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3308.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@
polling-delay = <1000>;
sustainable-power = <300>;

thermal-sensors = <&tsadc 0>;
thermal-sensors = <&tsadc 1>;

trips {
threshold: trip-point-0 {
Expand Down Expand Up @@ -777,7 +777,7 @@
polling-delay-passive = <100>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */

thermal-sensors = <&tsadc 1>;
thermal-sensors = <&tsadc 0>;
};
};

Expand Down

0 comments on commit 5dbd30f

Please sign in to comment.