From: Bjorn Andersson <andersson@kernel.org>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Umang Chheda <umang.chheda@oss.qualcomm.com>,
konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, richardcochran@gmail.com,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
Date: Wed, 25 Mar 2026 21:59:44 -0500 [thread overview]
Message-ID: <acSfUEVueSR5Ikq7@baldur> (raw)
In-Reply-To: <srndqldc5c3hr3vozvndl4zt66jb47b3iwyjghiqcjg2uoespg@yxg2hvugjrwe>
On Mon, Mar 23, 2026 at 09:06:54PM +0200, Dmitry Baryshkov wrote:
> On Mon, Mar 23, 2026 at 10:33:45PM +0530, Umang Chheda wrote:
> > Hello Dmitry,
> >
> > On 3/13/2026 11:23 PM, Dmitry Baryshkov wrote:
> > > On Tue, Mar 10, 2026 at 02:09:58PM +0530, Umang Chheda wrote:
> > >> Hello Dmitry,
> > >>
> > >> On 3/10/2026 2:07 AM, Dmitry Baryshkov wrote:
> > >>> On Mon, Mar 09, 2026 at 05:49:35PM +0530, Umang Chheda wrote:
> > >>>> The RB3 Gen2 Industrial mezzanine DT file lacks a "model" property,
> > >>>> resulting in the hardware always being reported as the "Robotics RB3gen2".
> > >>>> This prevents applications and user-space tooling from distinguishing
> > >>>> the Industrial mezzanine Kit from other RB3Gen2 variants.
> > >>>>
> > >>>> To ensure consistent identification across all RB3 Gen2 mezzanines,
> > >>>> add the appropriate model string.
> > >>>>
> > >>>> Signed-off-by: Umang Chheda <umang.chheda@oss.qualcomm.com>
> > >>>> ---
> > >>>> .../boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso | 4 ++++
> > >>>> 1 file changed, 4 insertions(+)
> > >>>>
> > >>>> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
> > >>>> index 619a42b5ef48..7d6e425dae89 100644
> > >>>> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
> > >>>> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso
> > >>>> @@ -8,6 +8,10 @@
> > >>>> #include <dt-bindings/clock/qcom,gcc-sc7280.h>
> > >>>> #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> > >>>>
> > >>>> +&{/} {
> > >>>> + model = "Qualcomm Technologies, Inc. QCS6490 RB3gen2 Industrial Mezzanine";
> > >>> So, what happens if I combine Industrial and Vision mezzanines?
> > >> H/W does not support to connect both Industrial and vision mezzanine at same time - only single mezzanine can be
> > >>
> > >> connected at a given point in time - hence probably the above scenario would never occur.
> > > Industrial mezzanine has all LS and HS connectors, so it is possible to
> > > stack Vision mezz on top of the industrial one.
> >
> > I re-checked - from f/w side as well multiple DTSO selection is not supported - and at a single point in time only single mezz can be selected
>
> What does this have to do with the firmware? From the Linux build system
> point of view we are combining the overlay into a single
> qcs6490-rb3gen2-industrial-mezzanine.dtb file.
>
> Nothing prevents me from writing:
>
> qcs6490-rb3gen2-multi-mezzanine-dtbs := qcs6490-rb3gen2.dtb \
> qcs6490-rb3gen2-industrial-mezzanine.dtbo \
> qcs6490-rb3gen2-vision-mezzanine.dtbo
> dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-multi-mezzanine.dtb
>
> > considering above point - is it okay to have this patch ? I believe it would be good to have model string in the DTSO file added.
>
> No. A _mezzanine_ can not be a device model. It is by definition
> something that you plug into the main device. Maybe creating something
> new, a new kit.
>
> Moreover, the model name is not an ABI, we should not be using it for
> device identification.
>
I do agree.
That said, as we (others) discussed during LPC, it would be very useful
for bug reporting purposes to know what overlays has been applied - or
in general what "version" of the dtb we're running the system from.
I don't think "model" is what we're looking for there though.
Regards,
Bjorn
> > Kindly share your views
>
> --
> With best wishes
> Dmitry
prev parent reply other threads:[~2026-03-26 2:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 12:19 [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string Umang Chheda
2026-03-09 12:19 ` [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2-vision-mezzanine: " Umang Chheda
2026-03-09 20:40 ` Dmitry Baryshkov
2026-03-09 20:37 ` [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: " Dmitry Baryshkov
2026-03-10 8:39 ` Umang Chheda
2026-03-13 17:53 ` Dmitry Baryshkov
2026-03-23 17:03 ` Umang Chheda
2026-03-23 19:06 ` Dmitry Baryshkov
2026-03-26 2:59 ` Bjorn Andersson [this message]
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=acSfUEVueSR5Ikq7@baldur \
--to=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=umang.chheda@oss.qualcomm.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