Re: [PATCH 2/3] arm64: dts: imx8qm: add thermal zone and cooling map

From: Krzysztof Kozlowski
Date: Thu Jul 13 2023 - 02:42:43 EST


On 12/07/2023 23:17, Frank Li wrote:
> Add thermal zone and cooling map for cpufreq.
>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/imx8qm.dtsi | 135 ++++++++++++++++++++++
> 1 file changed, 135 insertions(+)

...

>
> A53_L2: l2-cache0 {
> @@ -284,6 +291,134 @@ iomuxc: pinctrl {
> rtc: rtc {
> compatible = "fsl,imx8qxp-sc-rtc";
> };
> +
> + tsens: thermal-sensor {
> + compatible = "fsl,imx-sc-thermal";
> + #thermal-sensor-cells = <1>;
> + };
> + };
> +
> + thermal-zones {
> +

Drop stray blank lines.

> + cpu-thermal0 {

It does not look like you tested the DTS against bindings. Please run
`make dtbs_check` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).


Best regards,
Krzysztof