Re: [PATCH] dt-bindings: leds: Convert leds-lt3593.txt to yaml format
From: Krzysztof Kozlowski
Date: Mon Sep 28 2026 - 02:19:41 EST
On Tue, Sep 22, 2026 at 01:00:12PM +0800, dongsheng liu wrote:
> Convert binding doc leds-lt3593.txt to yaml format, so that nodes using
> the "lltc,lt3593" compatible are no longer reported by dtbs_check as:
>
> failed to match any schema with compatible: ['lltc,lt3593']
>
> Additional change:
> - reference common.yaml for the LED sub-node properties.
> - require the sub-node, matching the driver's check for exactly one child.
>
> The schema was written with the help of an LLM coding assistant, based on
> the previous binding text and drivers/leds/leds-lt3593.c. It is validated
> with make dt_binding_check, and against the "lltc,lt3593" node in
> arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-controller.dts.
Drop paragraph from commit msg.
>
> Assisted-by: LLM dtschema yamllint
And dtschema and yamllint here. These are not LLM tools.
Regardless, I discourage usage of LLM for conversion by beginners - you
learn not much and you repeat what we already did (these files were
converted with LLM by Rob). If this is part of any mentorship or GSoC
program, then it is actually forbidden in these to use LLM for
conversions.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof