[PATCH v8.1, 2/7] dt-bindings: thermal: Add binding document for LVTS thermal controllers

Krzysztof Kozlowski krzk at kernel.org
Fri Aug 5 01:48:51 PDT 2022


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



More information about the Linux-mediatek mailing list