From: Krzysztof Kozlowski <krzk@kernel.org>
To: Doug Anderson <dianders@chromium.org>
Cc: "Rob Herring" <robh@kernel.org>,
"Conor Dooley" <conor@kernel.org>,
"Peter Griffin" <peter.griffin@linaro.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"André Draszik" <andre.draszik@linaro.org>,
"Tudor Ambarus" <tudor.ambarus@linaro.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will@kernel.org>, "Arnd Bergmann" <arnd@arndb.de>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Linus Walleij" <linusw@kernel.org>,
"Drew Fustini" <fustini@kernel.org>,
"Kees Cook" <kees@kernel.org>, "Tony Luck" <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org,
soc@lists.linux.dev, "Juan Yescas" <jyescas@google.com>,
"RD Babiera" <rdbabiera@google.com>,
"Brian Norris" <briannorris@google.com>,
"William McVicker" <willmcvicker@google.com>,
kernel-team@android.com
Subject: Re: [PATCH v2 4/5] arm64: dts: google: Add initial dts for frankel/blazer/mustang
Date: Mon, 24 Aug 2026 08:25:15 +0200 [thread overview]
Message-ID: <17aa3974-95fe-419a-a382-3c053e66d640@kernel.org> (raw)
In-Reply-To: <CAD=FV=WPu5tuWA7MhC=48r=1uP3LK6hSqY7Egy=56V1Dqq1wRg@mail.gmail.com>
On 21/08/2026 18:40, Doug Anderson wrote:
> Hi,
>
> On Thu, Aug 20, 2026 at 11:51 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>>>>> I think I've presened my problem fairly concretely [1]. If you hate
>>>>
>>>> There is no description of the problem at [1], except "bootloader adds
>>>> the same type of calibration data".
>>>>
>>>> So I repeat my questions: to every UFS node? To every node? To one UFS
>>>> node (but how do you guarantee that?)?
>>>
>>> I'm sure it's not what you want to hear, but I guess my answer would
>>> be "for these boards".
>>
>> No, the question is how many aliases you need. Devices might have more
>> than one UFS storage, e.g. ExynosAuto.
>
> How many UFS aliases do I need for this board? The answer is in the
> patch that started this whole discussion: one UFS alias.
>
>
>> And then someone might need to calibrate UFS and SPI NOR storage? And MMC?
>
> Not for this board.
We do not talk about your board. You are adding GENERIC alias, so you
are solving GENERIC problem for everyone and needs to be addressed as such.
If you are solving here only your board problem and do not care how does
it scale or whether it makes sense for anyone else, then topic is done -
we do not need this feature.
>
> If you're asking about all future boards, of course they may have
> other things to calibrate / tune. My point is that the contract here
> is between the bootloader that will be run on these boards and the
> device tree that will be run on these boards.
>
> FWIW: the idea of a bootloader using an alias to find a node is not
> something I invented. Coreboot (the upstream, open-source project)
> uses "wifi" and "bluetooth" aliases to find nodes on Chromebooks. It
> uses these aliases to place MAC addresses (which are stored by
> manufacturing outside of DT) into the DT nodes (where bindings expect
> them). Perhaps coreboot is doing it wrong, but this concept isn't new,
> and I didn't invent it.
>
>
>>> I'm not quite clear on the "overlay" suggestion here. You're saying
>>> that we should require the base device tree to be compiled with "-@"?
>>> ...and not because we necessarily have any overlays upstream, but
>>> because the bootloader will generate an overlay dynamically? Compiling
>>> with "-@" would mean we could give a "ufs:" label to the UFS node and
>>> with "-@" that would be preserved. The bootloader could then use the
>>> "ufs:" label to find the node. When compiling with "-@", the exposed
>>> labels are essentially ABI. Did I get that right?
>>
>> I am saying that if you cannot answer my questions earlier (and you did
>> not)
>
> I'm still not quite sure which question I didn't answer, but I guess
> at this point it doesn't matter.
I gave you the code which solves your problem, IMO. I do not see so far
any reason to reimplement it with aliases.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-08-24 6:25 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 9:55 [PATCH v2 0/5] Add Laguna/Tensor G5 SoC and Frankel, Blazer & Mustang boards Peter Griffin
2026-07-22 9:55 ` [PATCH v2 1/5] dt-bindings: arm: google: Add dt bindings for frankel/blazer/mustang Peter Griffin
2026-07-24 6:42 ` Krzysztof Kozlowski
2026-07-30 23:33 ` Doug Anderson
2026-07-22 9:55 ` [PATCH v2 2/5] dt-bindings: serial: snps-dw-apb-uart: Add "google,lga-uart" Peter Griffin
2026-07-22 9:55 ` [PATCH v2 3/5] arm64: dts: google: Add dts directory for Google-designed silicon Peter Griffin
2026-07-24 6:46 ` Krzysztof Kozlowski
2026-07-22 9:55 ` [PATCH v2 4/5] arm64: dts: google: Add initial dts for frankel/blazer/mustang Peter Griffin
2026-07-22 10:04 ` sashiko-bot
2026-07-22 23:51 ` Brian Norris
2026-07-24 6:59 ` Krzysztof Kozlowski
2026-07-30 23:32 ` Doug Anderson
2026-08-18 22:13 ` Doug Anderson
2026-08-19 8:28 ` Linus Walleij
2026-08-19 17:03 ` Doug Anderson
2026-08-19 23:29 ` Linus Walleij
2026-08-19 23:40 ` Doug Anderson
2026-08-20 7:04 ` Linus Walleij
2026-08-20 23:41 ` Doug Anderson
2026-08-19 9:02 ` Krzysztof Kozlowski
2026-08-19 17:04 ` Doug Anderson
2026-08-20 6:03 ` Krzysztof Kozlowski
2026-08-20 23:40 ` Doug Anderson
2026-08-21 6:50 ` Krzysztof Kozlowski
2026-08-21 16:40 ` Doug Anderson
2026-08-24 6:25 ` Krzysztof Kozlowski [this message]
2026-08-19 9:26 ` Krzysztof Kozlowski
2026-08-19 17:04 ` Doug Anderson
2026-07-22 9:55 ` [PATCH v2 5/5] arm64: defconfig: enable Tensor G5 SoC family Peter Griffin
2026-07-30 23:34 ` Doug Anderson
2026-07-22 23:58 ` [PATCH v2 0/5] Add Laguna/Tensor G5 SoC and Frankel, Blazer & Mustang boards Brian Norris
2026-07-24 6:40 ` Krzysztof Kozlowski
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=17aa3974-95fe-419a-a382-3c053e66d640@kernel.org \
--to=krzk@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=andre.draszik@linaro.org \
--cc=arnd@arndb.de \
--cc=briannorris@google.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=fustini@kernel.org \
--cc=gpiccoli@igalia.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=jyescas@google.com \
--cc=kees@kernel.org \
--cc=kernel-team@android.com \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=rdbabiera@google.com \
--cc=robh@kernel.org \
--cc=soc@lists.linux.dev \
--cc=tony.luck@intel.com \
--cc=tudor.ambarus@linaro.org \
--cc=will@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.