Re: [PATCH v8.1, 2/7] dt-bindings: thermal: Add binding document for LVTS thermal controllers
From: Krzysztof Kozlowski
Date: Fri Aug 05 2022 - 04:49:07 EST
On 05/08/2022 01:11, Nícolas F. R. A. Prado wrote:
>> diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
>> new file mode 100644
>> index 000000000000..53c44a73f3a4
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
> [..]
>> + nvmem-cells:
>
> minItems: 1
>
> since mt8192 only has one of them.
Then add allOf:if:then: which will constrain it per variant/compatible.
Best regards,
Krzysztof