From: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Biju Das <biju.das.jz@bp.renesas.com>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Magnus Damm <magnus.damm@gmail.com>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Chris Paterson <Chris.Paterson2@renesas.com>,
Biju Das <biju.das@bp.renesas.com>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH v4 1/5] dt-bindings: arm: renesas: Document Renesas RZ/G2UL SMARC EVK
Date: Wed, 6 Apr 2022 11:29:04 -0500 [thread overview]
Message-ID: <Yk2/0Jf151gLuCGz@robh.at.kernel.org> (raw)
In-Reply-To: <b71f439a-98fd-52ba-7580-dfbb8cbffebe@linaro.org>
On Tue, Apr 05, 2022 at 02:05:31PM +0200, Krzysztof Kozlowski wrote:
> On 05/04/2022 13:47, Biju Das wrote:
> >> Subject: Re: [PATCH v4 1/5] dt-bindings: arm: renesas: Document Renesas
> >> RZ/G2UL SMARC EVK
> >>
>
> (...)
>
> >>>
> >>> And what to do when adding more DT overlays for expansion boards?
> >>> This would become unmanageable soon.
> >>
> >> There are two topics here:
> >> 1. Whether we should follow DT spec. If no, why Renesas is special and for
> >> other cases we follow DT spec? "Unmanageable" is not the answer here,
> >> because other platforms will have the same problem.
> >>
> >> 2. If the answer for above is yes, we follow DT spec, then the question is
> >> how to deal with overlays. In current code - I don't know. Long term,
> >> maybe we need a way to append to existing compatible (to extend it)?
> >> Some expansion boards do not need to change top level compatible, because
> >> they only add constrained features (like Arduino shields with some
> >> regulator). You just add it to DT and presence of new compatible, e.g. of
> >> regulator, is enough. You do not need to change the top level compatible.
> >>
> >
> > Does the rules for compatible values (most to least descriptive)
> > also apply to the root node?
>
> I don't see any exception in DT spec (page 26), so my answer is yes, the
> root node has same meaning of "compatible" as other nodes.
At the end of the day, what matters is can we identify what h/w we are
running on from the value of 'compatible'. Either way I think the answer
is yes.
The modern mixture of SoC, baseboard, SoM, expansion cards, etc. doesn't
map perfectly to compatible's definition. If someone wants to define
something, then that would be good. However, there's already existing
practice to take into account.
Rob
next prev parent reply other threads:[~2022-04-06 17:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-02 7:32 [PATCH v4 1/5] dt-bindings: arm: renesas: Document Renesas RZ/G2UL SMARC EVK Biju Das
2022-04-02 16:36 ` Krzysztof Kozlowski
2022-04-02 19:05 ` Biju Das
2022-04-02 19:20 ` Krzysztof Kozlowski
2022-04-02 19:54 ` Biju Das
2022-04-02 20:03 ` Krzysztof Kozlowski
2022-04-02 20:48 ` Biju Das
2022-04-03 7:52 ` Krzysztof Kozlowski
2022-04-04 12:29 ` Geert Uytterhoeven
2022-04-04 13:00 ` Krzysztof Kozlowski
2022-04-05 11:47 ` Biju Das
2022-04-05 12:05 ` Krzysztof Kozlowski
2022-04-06 16:29 ` Rob Herring [this message]
2022-04-12 10:28 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yk2/0Jf151gLuCGz@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=Chris.Paterson2@renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=biju.das@bp.renesas.com \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).