[PATCH v6 1/3] dt-bindings: thermal: samsung: Adjust '#thermal-sensor-cells' to 1
Krzysztof Kozlowski
krzk at kernel.org
Fri Oct 10 05:43:59 PDT 2025
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.
> + maxItems: 1
You also need clock-names restriction, just like clocks or just ": false".
> + reg:
> + minItems: 1
This also drop.
> + maxItems: 1
> + '#thermal-sensor-cells':
> + const: 1
>
Rest looks fine, so with changes above:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list