public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
@ 2026-03-09 12:19 Umang Chheda
  2026-03-09 12:19 ` [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2-vision-mezzanine: " Umang Chheda
  2026-03-09 20:37 ` [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: " Dmitry Baryshkov
  0 siblings, 2 replies; 9+ messages in thread
From: Umang Chheda @ 2026-03-09 12:19 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran
  Cc: linux-arm-msm, devicetree, linux-kernel, umang.chheda

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";
+};
+
 &spi11 {
 	#address-cells = <1>;
 	#size-cells = <0>;
--
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2-vision-mezzanine: Add model string
  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 ` 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
  1 sibling, 1 reply; 9+ messages in thread
From: Umang Chheda @ 2026-03-09 12:19 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran
  Cc: linux-arm-msm, devicetree, linux-kernel, umang.chheda

The RB3 Gen2 Vision mezzanine DT file lacks a "model" property,
resulting in the hardware always being reported as "Robotics RB3gen2".
This prevents applications and user-space tooling from distinguishing
the Vision 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>
---
 .../arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
index b9e4a5214f70..879d5d853bea 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
@@ -13,6 +13,10 @@
 #include <dt-bindings/clock/qcom,camcc-sc7280.h>
 #include <dt-bindings/gpio/gpio.h>

+&{/} {
+	model = "Qualcomm Technologies, Inc. QCS6490 RB3gen2 Vision Mezzanine";
+};
+
 &camss {
 	vdda-phy-supply = <&vreg_l10c_0p88>;
 	vdda-pll-supply = <&vreg_l6b_1p2>;
--
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  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:37 ` Dmitry Baryshkov
  2026-03-10  8:39   ` Umang Chheda
  1 sibling, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-03-09 20:37 UTC (permalink / raw)
  To: Umang Chheda
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

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?

> +};
> +
>  &spi11 {
>  	#address-cells = <1>;
>  	#size-cells = <0>;
> --
> 2.34.1
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2-vision-mezzanine: Add model string
  2026-03-09 12:19 ` [PATCH 2/2] arm64: dts: qcom: qcs6490-rb3gen2-vision-mezzanine: " Umang Chheda
@ 2026-03-09 20:40   ` Dmitry Baryshkov
  0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-03-09 20:40 UTC (permalink / raw)
  To: Umang Chheda
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

On Mon, Mar 09, 2026 at 05:49:36PM +0530, Umang Chheda wrote:
> The RB3 Gen2 Vision mezzanine DT file lacks a "model" property,
> resulting in the hardware always being reported as "Robotics RB3gen2".
> This prevents applications and user-space tooling from distinguishing
> the Vision mezzanine Kit from other RB3Gen2 variants.
> 
> To ensure consistent identification across all RB3 Gen2 mezzanines,
> add the appropriate model string.

The model is not supposed to be used for identification. If anything, it
should be compatibles, identifying the device. However, there is again a
quesiton of having a device with both mezzanines at the same time.

> 
> Signed-off-by: Umang Chheda <umang.chheda@oss.qualcomm.com>
> ---
>  .../arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
> index b9e4a5214f70..879d5d853bea 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-vision-mezzanine.dtso
> @@ -13,6 +13,10 @@
>  #include <dt-bindings/clock/qcom,camcc-sc7280.h>
>  #include <dt-bindings/gpio/gpio.h>
> 
> +&{/} {
> +	model = "Qualcomm Technologies, Inc. QCS6490 RB3gen2 Vision Mezzanine";
> +};
> +
>  &camss {
>  	vdda-phy-supply = <&vreg_l10c_0p88>;
>  	vdda-pll-supply = <&vreg_l6b_1p2>;
> --
> 2.34.1
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Umang Chheda @ 2026-03-10  8:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

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.

>
>> +};
>> +
>>  &spi11 {
>>  	#address-cells = <1>;
>>  	#size-cells = <0>;
>> --
>> 2.34.1
>>
Thanks,
Umang

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  2026-03-10  8:39   ` Umang Chheda
@ 2026-03-13 17:53     ` Dmitry Baryshkov
  2026-03-23 17:03       ` Umang Chheda
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-03-13 17:53 UTC (permalink / raw)
  To: Umang Chheda
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

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.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  2026-03-13 17:53     ` Dmitry Baryshkov
@ 2026-03-23 17:03       ` Umang Chheda
  2026-03-23 19:06         ` Dmitry Baryshkov
  0 siblings, 1 reply; 9+ messages in thread
From: Umang Chheda @ 2026-03-23 17:03 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

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
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.
Kindly share your views

Thanks,
Umang
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  2026-03-23 17:03       ` Umang Chheda
@ 2026-03-23 19:06         ` Dmitry Baryshkov
  2026-03-26  2:59           ` Bjorn Andersson
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2026-03-23 19:06 UTC (permalink / raw)
  To: Umang Chheda
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, richardcochran,
	linux-arm-msm, devicetree, linux-kernel

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.

> Kindly share your views

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add model string
  2026-03-23 19:06         ` Dmitry Baryshkov
@ 2026-03-26  2:59           ` Bjorn Andersson
  0 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2026-03-26  2:59 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Umang Chheda, konradybcio, robh, krzk+dt, conor+dt,
	richardcochran, linux-arm-msm, devicetree, linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-26  2:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox