mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
ARM: dts: rv1126: move the tsadc parameters
This patch moves the tsadc default parameters to the rv1126.dtsi. When the hardware changes, the tsadc parameters need to be reconfigured in DTS.(Rockchip_Developer_Guide_Thermal_CN 3.2) Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Change-Id: I6ff427e703006135e32e5748e89b3a1367a035c9
This commit is contained in:
parent
96008856e6
commit
069bb25961
|
|
@ -1350,6 +1350,11 @@ cpu_tsadc: tsadc@ff5f0000 {
|
|||
#thermal-sensor-cells = <1>;
|
||||
nvmem-cells = <&cpu_tsadc_trim_l>, <&cpu_tsadc_trim_h>, <&tsadc_trim_base>;
|
||||
nvmem-cell-names = "trim_l", "trim_h", "trim_base";
|
||||
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
pinctrl-names = "gpio", "otpout";
|
||||
pinctrl-0 = <&tsadcm0_pins>;
|
||||
pinctrl-1 = <&tsadc_shutorg>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
@ -1370,6 +1375,11 @@ npu_tsadc: tsadc@ff5f8000 {
|
|||
#thermal-sensor-cells = <1>;
|
||||
nvmem-cells = <&npu_tsadc_trim_l>, <&npu_tsadc_trim_h>, <&tsadc_trim_base>;
|
||||
nvmem-cell-names = "trim_l", "trim_h", "trim_base";
|
||||
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
pinctrl-names = "gpio", "otpout";
|
||||
pinctrl-0 = <&tsadcm0_pins>;
|
||||
pinctrl-1 = <&tsadc_shutorg>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -213,11 +213,6 @@ &cpu0 {
|
|||
};
|
||||
|
||||
&cpu_tsadc {
|
||||
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
pinctrl-names = "gpio", "otpout";
|
||||
pinctrl-0 = <&tsadcm0_pins>;
|
||||
pinctrl-1 = <&tsadc_shutorg>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
@ -1024,11 +1019,6 @@ &npu {
|
|||
};
|
||||
|
||||
&npu_tsadc {
|
||||
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
pinctrl-names = "gpio", "otpout";
|
||||
pinctrl-0 = <&tsadcm0_pins>;
|
||||
pinctrl-1 = <&tsadc_shutorg>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user