[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <60989c44-6d16-4698-bf3f-b3c5dcd7b3e0@kernel.org>
Date: Wed, 22 May 2024 19:05:24 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Daniel Baluta <daniel.baluta@....com>,
Shuah Khan <skhan@...uxfoundation.org>, Julia Lawall
<julia.lawall@...ia.fr>, Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, devicetree@...r.kernel.org,
Péter Ujfalusi <peter.ujfalusi@...il.com>,
linux-kernel@...r.kernel.org
Subject: DT schema bindings conversion mentorships (was Re: [PATCH v5] ASoC:
dt-bindings: omap-mcpdm: Convert to DT schema)
On 22/05/2024 18:42, Krzysztof Kozlowski wrote:
>> Yes, the binding document was neglected pretty badly but when converting
>> to yaml it has to be correct since that will have ripple effect on
>> existing dts/dtsi files.
>
> Yep. And testing DTS should clearly show that conversion leads to
> incomplete binding.
>
>>
>>> I assume the DTS was validated with the binding. Isn't the case here?
>
> Mithil Bavishi,
> Are you sure you tested the DTS?
Dear Daniel, Shuah, Julia, Javier and other mentorship managers,
I see some contributions regarding Devicetree bindings which look like
efforts of some mentorship programs. It's great, I really like it. Only
sadness is that no one ever asked us, Devicetree maintainers, about some
sort of guidelines. This leads to sub-optimal allocation of tasks and
quite a strain on reviewers side: for example we receive contributions
which were never tested (tested as in make target - make
dt_binding_check). Or people converted bindings which really do not
matter thus their work soon will become obsolete.
If there are still such active programs, please be sure that mentees
follow these guidelines:
https://social.kernel.org/notice/Ai9hYRUKo8suzX3zNY
1. Please convert bindings which have active DTS users. First choose
bindings with DTS built by arm64 defconfig, then next choice by arm
multi_v7 defconfig. Then any other ARM or different architecture DTS.
2. Be sure dt_bindings_check (including yamllint) and checkpatch pass
without any warnings. See writing-schema.rst document.
3. Be sure DTS using these bindings passes dtbs_check validation. If
this means binding needs to be adapted during conversion, mention
briefly in the commit message changes done comparing to pure TXT->DT
schema conversion.
Best regards,
Krzysztof
Powered by blists - more mailing lists