Skip to contentSkip to conversation

ARM: dts: imx6: add thermal sensor and cooling cells

PATCH New Lucas Stach 2 participants 2 messages Nov 5, 2018 – Nov 16, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6: add thermal sensor and cooling cells

This allows a board to specify a custom thermal zone configuration involving the SoC internal sensor, CPU and GPU nodes without having to change those nodes.

---
 arch/arm/boot/dts/imx6q.dtsi   | 1 +
 arch/arm/boot/dts/imx6qdl.dtsi | 3 +++
 2 files changed, 4 insertions(+)
arch/arm/boot/dts/imx6q.dtsi +1 -0
index 0193ee6fe964..01afef23efd9 100644
@@ -202,6 +202,7 @@
 				 <&clks IMX6QDL_CLK_GPU2D_CORE>;
 			clock-names = "bus", "core";
 			power-domains = <&pd_pu>;
+			#cooling-cells = <2>;
 		};
 
 		ipu2: ipu at 2800000 {
arch/arm/boot/dts/imx6qdl.dtsi +3 -0
index 61d2d26afbf4..81e9147e877c 100644
@@ -77,6 +77,7 @@
 		fsl,tempmon = <&anatop>;
 		fsl,tempmon-data = <&ocotp>;
 		clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
+		#thermal-sensor-cells = <0>;
 	};
 
 	ldb: ldb {
@@ -216,6 +217,7 @@
 				 <&clks IMX6QDL_CLK_GPU3D_SHADER>;
 			clock-names = "bus", "core", "shader";
 			power-domains = <&pd_pu>;
+			#cooling-cells = <2>;
 		};
 
 		gpu_2d: gpu at 134000 {
@@ -226,6 +228,7 @@
 				 <&clks IMX6QDL_CLK_GPU2D_CORE>;
 			clock-names = "bus", "core";
 			power-domains = <&pd_pu>;
+			#cooling-cells = <2>;
 		};
 
 		timer at a00600 {
Signature · 1 line
2.19.1
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6: add thermal sensor and cooling cells

Quoted 5 lines · Lucas Stach

This allows a board to specify a custom thermal zone configuration involving the SoC internal sensor, CPU and GPU nodes without having to change those nodes.

Applied, thanks.