Re: [PATCH v3 3/3] dt-bindings: thermal: Add yaml bindings for thermal zones

From: Rob Herring
Date: Tue Mar 31 2020 - 17:20:24 EST


On Wed, 25 Mar 2020 12:04:54 +0530, Amit Kucheria wrote:
> As part of moving the thermal bindings to YAML, split it up into 3
> bindings: thermal sensors, cooling devices and thermal zones.
>
> The thermal-zone binding is a software abstraction to capture the
> properties of each zone - how often they should be checked, the
> temperature thresholds (trips) at which mitigation actions need to be
> taken and the level of mitigation needed at those thresholds.
>
> Signed-off-by: Amit Kucheria <amit.kucheria@xxxxxxxxxx>
> ---
> Changes since v2:
> - Addressed review comment from Rob
> - Added required properties for thermal-zones node
> - Added select: true to thermal-cooling-devices.yaml
> - Fixed up example to pass dt_binding_check
>
> .../bindings/thermal/thermal-zones.yaml | 324 ++++++++++++++++++
> 1 file changed, 324 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/thermal/thermal-zones.yaml
>

The change discussed doesn't affect the schema other than adding a
'maxItems: 1', so:

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>