[v4,10/16] ARM: dts: imx6ul: add missing #thermal-sensor-cells

Message ID 20240224213240.1854709-11-sre@kernel.org
State New
Headers
Series UNI-T UTi260B support |

Commit Message

Sebastian Reichel Feb. 24, 2024, 9:29 p.m. UTC
  Fix the following warning found via CHECK_DTBS:

tempmon: '#thermal-sensor-cells' is a required property

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
 arch/arm/boot/dts/nxp/imx/imx6ul.dtsi | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Shawn Guo Feb. 25, 2024, 1:53 p.m. UTC | #1
On Sat, Feb 24, 2024 at 10:29:42PM +0100, Sebastian Reichel wrote:
> Fix the following warning found via CHECK_DTBS:
> 
> tempmon: '#thermal-sensor-cells' is a required property
> 
> Signed-off-by: Sebastian Reichel <sre@kernel.org>

Thanks for the patch!  But I had picked up the one [1] from Alexander
Stein.

Shawn

[1] https://lore.kernel.org/linux-arm-kernel/ZcCNdrQPb10i4rl2@t480/T/
  

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
index 9eb4eee0c272..45b7605ac381 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi
@@ -638,6 +638,7 @@  tempmon: tempmon {
 					nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
 					nvmem-cell-names = "calib", "temp_grade";
 					clocks = <&clks IMX6UL_CLK_PLL3_USB_OTG>;
+					#thermal-sensor-cells = <0>;
 				};
 			};