mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
arm64: dts: rockchip: px30: add basic thermal config
Change-Id: I4febd05098d1adb1cf26e20fa4929d6c3a65541f Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/power/px30-power.h>
|
||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,px30";
|
||||
@@ -635,6 +636,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
soc_thermal: soc-thermal {
|
||||
polling-delay-passive = <20>; /* milliseconds */
|
||||
polling-delay = <1000>; /* milliseconds */
|
||||
sustainable-power = <1000>; /* milliwatts */
|
||||
|
||||
thermal-sensors = <&tsadc 0>;
|
||||
};
|
||||
|
||||
gpu_thermal: gpu-thermal {
|
||||
polling-delay-passive = <100>; /* milliseconds */
|
||||
polling-delay = <1000>; /* milliseconds */
|
||||
|
||||
thermal-sensors = <&tsadc 1>;
|
||||
};
|
||||
};
|
||||
|
||||
tsadc: tsadc@ff280000 {
|
||||
compatible = "rockchip,px30-tsadc";
|
||||
reg = <0x0 0xff280000 0x0 0x100>;
|
||||
@@ -644,7 +662,7 @@
|
||||
clock-names = "tsadc", "apb_pclk";
|
||||
assigned-clocks = <&cru SCLK_TSADC>;
|
||||
assigned-clock-rates = <50000>;
|
||||
resets = <&cru SRST_TSADC_P>;
|
||||
resets = <&cru SRST_TSADC>;
|
||||
reset-names = "tsadc-apb";
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&tsadc_otp_gpio>;
|
||||
|
||||
Reference in New Issue
Block a user