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

Waqar Hameed waqar.hameed at axis.com
Thu Oct 1 01:45:41 PDT 2026


On Tue, Sep 29, 2026 at 07:43 +0200 Krzysztof Kozlowski <krzk at kernel.org> 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
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@oss.qualcomm.com/

I did a `git pull` on `master` and started from there. Nevertheless,
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
:)

[1] https://www.youtube.com/live/2Gput2daq4c?si=A4F2CvstRef1qD6e&t=28246



More information about the linux-arm-kernel mailing list