Re: [PATCH 00/16] arm64: dts: exynos: Format with dtfmt

From: Krzysztof Kozlowski

Date: Thu Oct 01 2026 - 05:06:35 EST


On 01/10/2026 10:45, Waqar Hameed wrote:
> On Tue, Sep 29, 2026 at 07:43 +0200 Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
>> On 29/09/2026 00:38, Waqar Hameed wrote:
>>> I was looking through the notes for the last Devicetree microconference
>>> at Linux Plumbers (LPC) 2025 [1], and realized that the tool I have been
>>> working on might be of interest here: dtfmt - a Devicetree Source
>>> formatter [2].
>>>
>>> dtfmt uses a parser with lexical grammar (tree-sitter) directly ported
>>
>> We do not use dtfmt.
>
> Not sure what you mean here. We couldn't have used dtfmt since it didn't

I mixed it up with dt-tools from Axel.


> exist until I published it? Are you maybe referring to "formatters" as
> in general?
>
> I'm not going to argue _why_ formatters (for Devicetree Source) are good
> thing to have, Konrad Dybcio did a very good job of that during his
> presentation [1].
>
>> I think you missed entire recent work and recent
>> commits, where `git log` would point you.
>>
>> https://lore.kernel.org/all/20260911-b4-dts-samsung-cleanup-strict-continued-v1-0-9aa55051c42b@xxxxxxxxxxxxxxxx/
>
> I did a `git pull` on `master` and started from there. Nevertheless,

master from Linus? That's missing entire development for this cycle. The
easiest is to work on recent linux-next.

> maybe it was good to "miss it" and do the "double work" here, to show
> what dtfmt caught that previous work missed.
>
> Let me know if you want me to run it on `arch/arm/boot/dts/samsung` to
> show some more examples. Or even better, you could play with it yourself

Sure, I left arm/samsung for the community to deal with, just note that
Henrik Grimler mentioned in IRC he was working on that.

Best regards,
Krzysztof