Re: [PATCH] dt-bindings: thermal: idle: Correct node name in the example

From: Krzysztof Kozlowski

Date: Tue Apr 07 2026 - 01:30:22 EST


On 06/04/2026 18:51, Rob Herring (Arm) wrote:
>
> On Mon, 06 Apr 2026 16:51:05 +0200, Krzysztof Kozlowski wrote:
>> Thermal bindings expect the node name with all the zones to be named
>> 'thermal-zones' (hyphen instead of underscore) and also DTS coding style
>> is not to use underscores for node names, so adjust the example code.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>> ---
>> Documentation/devicetree/bindings/thermal/thermal-idle.yaml | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/thermal/thermal-idle.example.dtb: thermal-zones: 'cpu' does not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$', '^pinctrl-[0-9]+$'
> from schema $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml
>

So using correct name causes the example to be validated and points
issues there. I'll send v2.

Best regards,
Krzysztof