]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx6: add thermal sensor and cooling cells
authorLucas Stach <l.stach@pengutronix.de>
Mon, 5 Nov 2018 17:34:02 +0000 (18:34 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 16 Nov 2018 03:03:36 +0000 (11:03 +0800)
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.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q.dtsi
arch/arm/boot/dts/imx6qdl.dtsi

index 8381d24eff7d0d9961cc195df6c5373c47124ff1..d038f4117024605ae6d7ab3e8a80aa7e3f13053c 100644 (file)
@@ -202,6 +202,7 @@ gpu_vg: gpu@2204000 {
                                 <&clks IMX6QDL_CLK_GPU2D_CORE>;
                        clock-names = "bus", "core";
                        power-domains = <&pd_pu>;
+                       #cooling-cells = <2>;
                };
 
                ipu2: ipu@2800000 {
index f782dc020f5baa2c9f6c6eb7dede89315d06ad31..ae94113d037ebb176f0234dc0ab331880c4108ce 100644 (file)
@@ -77,6 +77,7 @@ tempmon: tempmon {
                fsl,tempmon = <&anatop>;
                fsl,tempmon-data = <&ocotp>;
                clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
+               #thermal-sensor-cells = <0>;
        };
 
        ldb: ldb {
@@ -216,6 +217,7 @@ gpu_3d: gpu@130000 {
                                 <&clks IMX6QDL_CLK_GPU3D_SHADER>;
                        clock-names = "bus", "core", "shader";
                        power-domains = <&pd_pu>;
+                       #cooling-cells = <2>;
                };
 
                gpu_2d: gpu@134000 {
@@ -226,6 +228,7 @@ gpu_2d: gpu@134000 {
                                 <&clks IMX6QDL_CLK_GPU2D_CORE>;
                        clock-names = "bus", "core";
                        power-domains = <&pd_pu>;
+                       #cooling-cells = <2>;
                };
 
                timer@a00600 {