[SRU][Bionic][PATCH 5/5] ARM: dts: imx6: add thermal sensor and cooling cells
Shrirang Bagul
shrirang.bagul at canonical.com
Fri Aug 16 10:40:24 UTC 2019
From: Lucas Stach <l.stach at pengutronix.de>
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 at pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo at kernel.org>
(backported from commit 4951c2da1a3a8b56d4ef0659d80938942307a8a3)
Signed-off-by: Shrirang Bagul <shrirang.bagul at canonical.com>
---
arch/arm/boot/dts/imx6q.dtsi | 1 +
arch/arm/boot/dts/imx6qdl.dtsi | 3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index b049794467f8..6073d2039894 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -208,6 +208,7 @@
<&clks IMX6QDL_CLK_GPU2D_CORE>;
clock-names = "bus", "core";
power-domains = <&pd_pu>;
+ #cooling-cells = <2>;
};
ipu2: ipu at 2800000 {
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 3372308974bf..f85d7c2d87a6 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -157,6 +157,7 @@
<&clks IMX6QDL_CLK_GPU3D_SHADER>;
clock-names = "bus", "core", "shader";
power-domains = <&pd_pu>;
+ #cooling-cells = <2>;
};
gpu_2d: gpu at 134000 {
@@ -167,6 +168,7 @@
<&clks IMX6QDL_CLK_GPU2D_CORE>;
clock-names = "bus", "core";
power-domains = <&pd_pu>;
+ #cooling-cells = <2>;
};
timer at a00600 {
@@ -735,6 +737,7 @@
fsl,tempmon = <&anatop>;
fsl,tempmon-data = <&ocotp>;
clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
+ #thermal-sensor-cells = <0>;
};
usbphy1: usbphy at 20c9000 {
--
2.17.1
More information about the kernel-team
mailing list