[PATCH v6 1/3] dt-bindings: thermal: samsung: Adjust '#thermal-sensor-cells' to 1
손신
shin.son at samsung.com
Wed Oct 15 22:53:30 PDT 2025
Hello Krzysztof Kozlowski,
> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:krzk at kernel.org]
> Sent: Friday, October 10, 2025 9:44 PM
> To: Shin Son <shin.son at samsung.com>; Bartlomiej Zolnierkiewicz
> <bzolnier at gmail.com>; Rafael J . Wysocki <rafael at kernel.org>; Daniel
> Lezcano <daniel.lezcano at linaro.org>; Zhang Rui <rui.zhang at intel.com>;
> Lukasz Luba <lukasz.luba at arm.com>; Rob Herring <robh at kernel.org>; Conor
> Dooley <conor+dt at kernel.org>; Alim Akhtar <alim.akhtar at samsung.com>;
> Henrik Grimler <henrik at grimler.se>
> Cc: linux-pm at vger.kernel.org; linux-samsung-soc at vger.kernel.org;
> devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
> kernel at vger.kernel.org
> Subject: Re: [PATCH v6 1/3] dt-bindings: thermal: samsung: Adjust
> '#thermal-sensor-cells' to 1
>
> On 30/09/2025 02:51, Shin Son wrote:
> > reg:
> > minItems: 1
> > maxItems: 1
> > + '#thermal-sensor-cells':
> > + const: 0
> > +
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + const: samsung,exynosautov920-tmu
> > + then:
> > + properties:
> > + clocks:
> > + minItems: 1
>
> You can drop minItems. Existing binding has it unnecessarily.
Ok, I'll drop it.
>
> > + maxItems: 1
>
> You also need clock-names restriction, just like clocks or just ": false".
>
I'll add the clock-names restriction. Thanks.
> > + reg:
> > + minItems: 1
>
> This also drop.
Ok, I'll also drop it.
> > + maxItems: 1
> > + '#thermal-sensor-cells':
> > + const: 1
> >
>
>
> Rest looks fine, so with changes above:
>
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Ok, I'll add the reviewer tag on the patches.
>
>
> Best regards,
> Krzysztof
Best regards,
Shin Son
More information about the linux-arm-kernel
mailing list