From: Krzysztof Kozlowski <krzk@kernel.org>
To: Doug Anderson <dianders@chromium.org>
Cc: "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Peter Griffin" <peter.griffin@linaro.org>,
"André Draszik" <andre.draszik@linaro.org>,
"Tudor Ambarus" <tudor.ambarus@linaro.org>,
linux-samsung-soc@vger.kernel.org, "Roy Luo" <royluo@google.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
"Chen-Yu Tsai" <wenst@chromium.org>,
"Julius Werner" <jwerner@chromium.org>,
"William McVicker" <willmcvicker@google.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: arm: google: Add bindings for frankel/blazer/mustang
Date: Thu, 13 Nov 2025 17:34:14 +0100 [thread overview]
Message-ID: <6490f20a-2492-4ee0-8f34-d529e0df0bad@kernel.org> (raw)
In-Reply-To: <CAD=FV=VSxeKgGcsRb9qiXq7nsbOWZjPvzmGEOhFA+pmABWdknQ@mail.gmail.com>
On 13/11/2025 17:23, Doug Anderson wrote:
> Hi,
>
> On Wed, Nov 12, 2025 at 11:23 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>>>>> + # Google Tensor G5 AKA lga (laguna) SoC and boards
>>>>> + - description: Tensor G5 SoC (laguna)
>>>>> + items:
>>>>> + - enum:
>>>>> + - google,soc-id-0005-rev-00 # A0
>>>>> + - google,soc-id-0005-rev-10 # B0
>>>>
>>>> SoCs cannot be final compatibles.
>>>
>>> Right. I talked about this at length "after the cut" in my patch. See
>>> above. I wish to relitigate this policy and wish to know more details
>>> about where it is documented, the reasons for decision, and where the
>>> boundary exactly lies between something that's allowed to be a final
>>> compatible and something that's not. I made several arguments above
>>> for why I think the SoC should be allowed as a final compatible, so it
>>
>> Because this represents a actual device users run. It is electronically,
>> physically impossible to run the SoC alone.
>
> I'm not convinced that this definition is as clear as you're making it
> out to be. It's physically impossible to run many "boards" alone.
>
> Want to boot up a Raspberry Pi? Provide it with power. Hook up a
> display to it. Hook up a keyboard to it. Plug in an Ethernet cable.
> Plug an SD card in it. Without those things it doesn't run.
But I can plug them...
>
> Want to boot up a lga-B0 SoC? Hook up power to the power pins. Connect
> a MIPI panel to the MIPI pins. Connect a UFS chip to the UFS pins.
> Without those things it doesn't run.
These I cannot plug, it's impossible for me.
My clumsy fingers are too big for these pins.
And following your logic, we should have the compatible for the
transistors, because that's basically what SoC is made of.
>
> Yes, the complexity of just "hooking up" the components on an SoC is
> an order of magnitude harder than a Raspberry Pi, but it's still just
> hooking it up to external components. In both cases, we are modeling
> the core "brains" (the part that contains the processor) as the DTB
> and everything else just "hooks up" to interfaces.
You mix the topics, so I don't follow. I speak here about bindings - you
cannot have the that compatible alone, because it is incomplete, just
like compatible for "transistor" is not correct in that context. You
speak what could or could be DTB, different topic.
>
> If I had to make a definition for what the base DTB should be it
> should be the component with the boot CPU. _Why_ is that the wrong
> definition?
>
>
>> There are few - one or two - exceptions for the SoMs, but never for SoC.
>
> OK, but the big question: _WHY???_
>
> Where does it say that a DTB has to be something that can run "alone"
We don't discuss DTB here, but the top-level compatibles.
Why? Because DT spec says so.
"Specifies a list of platform architectures with which this platform is
compatible. "
And when you combine it with the standard definition of the
"compatible", it is not *a* "platform architecture" but *list* of
platform architectures describing this device as a whole.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-11-13 16:34 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 19:22 [PATCH 0/4] arm64: google: Introduce frankel, blazer, and mustang boards Douglas Anderson
2025-11-11 19:22 ` [PATCH 1/4] dt-bindings: arm: google: Add bindings for frankel/blazer/mustang Douglas Anderson
2025-11-12 7:58 ` Krzysztof Kozlowski
2025-11-12 19:19 ` Doug Anderson
2025-11-13 7:23 ` Krzysztof Kozlowski
2025-11-13 16:23 ` Doug Anderson
2025-11-13 16:34 ` Krzysztof Kozlowski [this message]
2025-11-13 17:16 ` Doug Anderson
2025-11-13 17:43 ` Krzysztof Kozlowski
2025-11-13 18:04 ` Doug Anderson
2025-11-13 18:41 ` Doug Anderson
2025-11-14 9:26 ` Krzysztof Kozlowski
2025-11-14 15:54 ` Rob Herring
2025-11-13 2:27 ` Rob Herring
2025-11-13 3:29 ` Doug Anderson
2025-11-14 15:20 ` Rob Herring
2025-11-14 18:53 ` Doug Anderson
2025-11-18 22:47 ` Doug Anderson
2025-11-11 19:22 ` [PATCH 2/4] dt-bindings: serial: snps-dw-apb-uart: Add "google,lga-uart" Douglas Anderson
2025-11-12 7:59 ` Krzysztof Kozlowski
2025-11-11 19:22 ` [PATCH 3/4] arm64: dts: google: Add dts directory for Google-designed silicon Douglas Anderson
2025-11-12 8:10 ` Krzysztof Kozlowski
2025-11-12 12:26 ` Peter Griffin
2025-11-12 12:36 ` Linus Walleij
2025-11-12 12:43 ` Peter Griffin
2025-11-11 19:22 ` [PATCH 4/4] arm64: dts: google: Add initial dts for frankel, blazer, and mustang Douglas Anderson
2025-11-12 8:14 ` Krzysztof Kozlowski
2025-11-12 9:35 ` Chen-Yu Tsai
2025-11-12 9:48 ` Krzysztof Kozlowski
2025-11-12 20:59 ` Doug Anderson
2025-11-17 6:43 ` Chen-Yu Tsai
2025-11-17 6:55 ` Krzysztof Kozlowski
2025-11-17 7:01 ` Chen-Yu Tsai
2025-11-23 22:27 ` [PATCH 0/4] arm64: google: Introduce frankel, blazer, and mustang boards Pavel Machek
2025-11-24 16:13 ` Doug Anderson
2025-12-02 22:14 ` Pavel Machek
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=6490f20a-2492-4ee0-8f34-d529e0df0bad@kernel.org \
--to=krzk@kernel.org \
--cc=andre.draszik@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=jwerner@chromium.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=royluo@google.com \
--cc=tudor.ambarus@linaro.org \
--cc=wenst@chromium.org \
--cc=willmcvicker@google.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).