Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs
@ 2026-11-14 13:33 Shawn Guo
  2026-11-14 13:33 ` [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P Shawn Guo
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Shawn Guo @ 2026-11-14 13:33 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel, Shawn Guo

The Qualcomm Nord (NordAU) SoC ships in several SKUs, each reporting
its own SoC ID through SMEM:

  - SA8797P    648  default chip info variant of the family
  - QAM8x97P   690  Snapdragon Ride modules (QAM8797P/QAM8397P)
  - IQ10800MD  798  Dragonwing Robotics module, e.g. on IQ10 RRD

SoC ID 690 was added as SA8797P, but that ID actually belongs to the
QAM8797P/QAM8397P modules, while SA8797P is 648. As a result, boards
with these modules report a misleading "SA8797P" as machine in
/sys/devices/soc0.

Patches 1-2 correct QCOM_ID_SA8797P to 648 and add QCOM_ID_QAM8797P
for 690. As 690 is shared by QAM8797P and QAM8397P, socinfo names it
"QAM8x97P" to cover both. Note this changes the value of an existing
dt-bindings define; the socinfo driver is its only in-tree user.

Patches 3-4 add SoC ID for IQ10800MD.

Shawn Guo (4):
  dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P
  soc: qcom: socinfo: Correct SoC ID for Nord SA8797P
  dt-bindings: arm: qcom,ids: Add SoC ID for IQ10800MD
  soc: qcom: socinfo: Add SoC ID for IQ10800MD

 drivers/soc/qcom/socinfo.c         | 4 +++-
 include/dt-bindings/arm/qcom,ids.h | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.43.0


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

* [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P
  2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
@ 2026-11-14 13:33 ` Shawn Guo
  2026-11-17 10:02   ` Krzysztof Kozlowski
  2026-11-14 13:33 ` [PATCH 2/4] soc: qcom: socinfo: " Shawn Guo
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Shawn Guo @ 2026-11-14 13:33 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel, Shawn Guo

QCOM_ID_SA8797P was defined as 690, but per Qualcomm chip info that
ID belongs to the QAM8797P/QAM8397P Snapdragon Ride module SKUs of
the Nord (NordAU) SoC. SA8797P itself is the default chip info
variant of the family with ID 648.

Correct QCOM_ID_SA8797P to 648 and add QCOM_ID_QAM8797P for 690.

Note this changes the value of an existing define. There are no
in-tree users other than the socinfo driver.

Fixes: 0670a10b7c22 ("dt-bindings: arm: qcom,ids: Add SoC ID for Nord SA8797P")
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 include/dt-bindings/arm/qcom,ids.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index d89d3b5dd00c..5e84c5a7666a 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -288,6 +288,7 @@
 #define QCOM_ID_SM7635			636
 #define QCOM_ID_SM6650			640
 #define QCOM_ID_SM6650P			641
+#define QCOM_ID_SA8797P			648
 #define QCOM_ID_IPQ5321			650
 #define QCOM_ID_IPQ5424			651
 #define QCOM_ID_QCM6690			657
@@ -300,7 +301,7 @@
 #define QCOM_ID_QCS8275			675
 #define QCOM_ID_QCS9075			676
 #define QCOM_ID_QCS615			680
-#define QCOM_ID_SA8797P			690
+#define QCOM_ID_QAM8797P		690
 #define QCOM_ID_SM8975			707
 #define QCOM_ID_CQ7790M			731
 #define QCOM_ID_CQ7790S			732
-- 
2.43.0


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

* [PATCH 2/4] soc: qcom: socinfo: Correct SoC ID for Nord SA8797P
  2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
  2026-11-14 13:33 ` [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P Shawn Guo
@ 2026-11-14 13:33 ` Shawn Guo
  2026-11-17  8:52   ` Abel Vesa
  2026-11-14 13:33 ` [PATCH 3/4] dt-bindings: arm: qcom,ids: Add SoC ID for IQ10800MD Shawn Guo
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Shawn Guo @ 2026-11-14 13:33 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel, Shawn Guo

SoC ID 690 is QAM8797P/QAM8397P rather than SA8797P, which is 648.
Update the soc_id table to follow the corrected dt-bindings, so that
boards with these modules no longer report "SA8797P" as machine.

As ID 690 is shared by both QAM8797P and QAM8397P, name it "QAM8x97P"
to cover both.

Fixes: b0bc160c311a ("soc: qcom: socinfo: Add SoC ID for Nord SA8797P")
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 drivers/soc/qcom/socinfo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 68148defb508..ecb4369fd309 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -529,6 +529,7 @@ static const struct soc_id soc_id[] = {
 	{ qcom_board_id(SM7635) },
 	{ qcom_board_id(SM6650) },
 	{ qcom_board_id(SM6650P) },
+	{ qcom_board_id(SA8797P) },
 	{ qcom_board_id(IPQ5321) },
 	{ qcom_board_id(IPQ5424) },
 	{ qcom_board_id(QCM6690) },
@@ -541,7 +542,7 @@ static const struct soc_id soc_id[] = {
 	{ qcom_board_id(QCS8275) },
 	{ qcom_board_id(QCS9075) },
 	{ qcom_board_id(QCS615) },
-	{ qcom_board_id(SA8797P) },
+	{ qcom_board_id_named(QAM8797P, "QAM8x97P") },
 	{ qcom_board_id(SM8975) },
 	{ qcom_board_id(CQ7790M) },
 	{ qcom_board_id(CQ7790S) },
-- 
2.43.0


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

* [PATCH 3/4] dt-bindings: arm: qcom,ids: Add SoC ID for IQ10800MD
  2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
  2026-11-14 13:33 ` [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P Shawn Guo
  2026-11-14 13:33 ` [PATCH 2/4] soc: qcom: socinfo: " Shawn Guo
@ 2026-11-14 13:33 ` Shawn Guo
  2026-11-14 13:33 ` [PATCH 4/4] soc: qcom: socinfo: " Shawn Guo
  2026-11-17  8:29 ` [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Bartosz Golaszewski
  4 siblings, 0 replies; 9+ messages in thread
From: Shawn Guo @ 2026-11-14 13:33 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel, Shawn Guo

IQ10800MD is the Dragonwing Robotics SKU of the Qualcomm Nord (NordAU)
SoC, which is used on the IQ10 RRD board.

Add SoC ID for IQ10800MD.

Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 include/dt-bindings/arm/qcom,ids.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index 5e84c5a7666a..5b8f1c817698 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -320,6 +320,7 @@
 #define QCOM_ID_IPQ9630			779
 #define QCOM_ID_IPQ9640			780
 #define QCOM_ID_IPQ9670			781
+#define QCOM_ID_IQ10800MD		798
 #define QCOM_ID_QCF3211			801
 #define QCOM_ID_IPQ5211			802
 
-- 
2.43.0


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

* [PATCH 4/4] soc: qcom: socinfo: Add SoC ID for IQ10800MD
  2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
                   ` (2 preceding siblings ...)
  2026-11-14 13:33 ` [PATCH 3/4] dt-bindings: arm: qcom,ids: Add SoC ID for IQ10800MD Shawn Guo
@ 2026-11-14 13:33 ` Shawn Guo
  2026-11-17  8:50   ` Abel Vesa
  2026-11-17  8:29 ` [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Bartosz Golaszewski
  4 siblings, 1 reply; 9+ messages in thread
From: Shawn Guo @ 2026-11-14 13:33 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel, Shawn Guo

Add SoC ID for Qualcomm IQ10800MD, the robotics SKU of the Nord SoC.

Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 drivers/soc/qcom/socinfo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index ecb4369fd309..950b5c226f04 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -561,6 +561,7 @@ static const struct soc_id soc_id[] = {
 	{ qcom_board_id(IPQ9630) },
 	{ qcom_board_id(IPQ9640) },
 	{ qcom_board_id(IPQ9670) },
+	{ qcom_board_id(IQ10800MD) },
 	{ qcom_board_id(QCF3211) },
 	{ qcom_board_id(IPQ5211) },
 };
-- 
2.43.0


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

* Re: [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs
  2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
                   ` (3 preceding siblings ...)
  2026-11-14 13:33 ` [PATCH 4/4] soc: qcom: socinfo: " Shawn Guo
@ 2026-11-17  8:29 ` Bartosz Golaszewski
  4 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2026-11-17  8:29 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Deepti Jaggi, linux-arm-msm,
	devicetree, linux-kernel

On Sat, Nov 14, 2026 at 09:33:00PM +0800, Shawn Guo wrote:
> The Qualcomm Nord (NordAU) SoC ships in several SKUs, each reporting
> its own SoC ID through SMEM:
> 
>   - SA8797P    648  default chip info variant of the family
>   - QAM8x97P   690  Snapdragon Ride modules (QAM8797P/QAM8397P)
>   - IQ10800MD  798  Dragonwing Robotics module, e.g. on IQ10 RRD
> 
> SoC ID 690 was added as SA8797P, but that ID actually belongs to the
> QAM8797P/QAM8397P modules, while SA8797P is 648. As a result, boards
> with these modules report a misleading "SA8797P" as machine in
> /sys/devices/soc0.
> 
> Patches 1-2 correct QCOM_ID_SA8797P to 648 and add QCOM_ID_QAM8797P
> for 690. As 690 is shared by QAM8797P and QAM8397P, socinfo names it
> "QAM8x97P" to cover both. Note this changes the value of an existing
> dt-bindings define; the socinfo driver is its only in-tree user.
> 

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

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

* Re: [PATCH 4/4] soc: qcom: socinfo: Add SoC ID for IQ10800MD
  2026-11-14 13:33 ` [PATCH 4/4] soc: qcom: socinfo: " Shawn Guo
@ 2026-11-17  8:50   ` Abel Vesa
  0 siblings, 0 replies; 9+ messages in thread
From: Abel Vesa @ 2026-11-17  8:50 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Deepti Jaggi,
	Bartosz Golaszewski, linux-arm-msm, devicetree, linux-kernel

On 26-11-14 21:33:04, Shawn Guo wrote:
> Add SoC ID for Qualcomm IQ10800MD, the robotics SKU of the Nord SoC.
> 
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

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

* Re: [PATCH 2/4] soc: qcom: socinfo: Correct SoC ID for Nord SA8797P
  2026-11-14 13:33 ` [PATCH 2/4] soc: qcom: socinfo: " Shawn Guo
@ 2026-11-17  8:52   ` Abel Vesa
  0 siblings, 0 replies; 9+ messages in thread
From: Abel Vesa @ 2026-11-17  8:52 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Deepti Jaggi,
	Bartosz Golaszewski, linux-arm-msm, devicetree, linux-kernel

On 26-11-14 21:33:02, Shawn Guo wrote:
> SoC ID 690 is QAM8797P/QAM8397P rather than SA8797P, which is 648.
> Update the soc_id table to follow the corrected dt-bindings, so that
> boards with these modules no longer report "SA8797P" as machine.
> 
> As ID 690 is shared by both QAM8797P and QAM8397P, name it "QAM8x97P"
> to cover both.
> 
> Fixes: b0bc160c311a ("soc: qcom: socinfo: Add SoC ID for Nord SA8797P")
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

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

* Re: [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P
  2026-11-14 13:33 ` [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P Shawn Guo
@ 2026-11-17 10:02   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-17 10:02 UTC (permalink / raw)
  To: Shawn Guo, Bjorn Andersson
  Cc: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Deepti Jaggi, Bartosz Golaszewski, linux-arm-msm,
	devicetree, linux-kernel

On 14/11/2026 14:33, Shawn Guo wrote:
> QCOM_ID_SA8797P was defined as 690, but per Qualcomm chip info that
> ID belongs to the QAM8797P/QAM8397P Snapdragon Ride module SKUs of
> the Nord (NordAU) SoC. SA8797P itself is the default chip info
> variant of the family with ID 648.
> 
> Correct QCOM_ID_SA8797P to 648 and add QCOM_ID_QAM8797P for 690.
> 
> Note this changes the value of an existing define. There are no
> in-tree users other than the socinfo driver.

That ABI break for a marketing reason (which model names you use for
actual SKUs). Honestly, we should either treat it as ABI, so not change
it, or stop adding to DT bindings.

Best regards,
Krzysztof

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

end of thread, other threads:[~2026-11-17 10:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14 13:33 [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Shawn Guo
2026-11-14 13:33 ` [PATCH 1/4] dt-bindings: arm: qcom,ids: Correct SoC ID for Nord SA8797P Shawn Guo
2026-11-17 10:02   ` Krzysztof Kozlowski
2026-11-14 13:33 ` [PATCH 2/4] soc: qcom: socinfo: " Shawn Guo
2026-11-17  8:52   ` Abel Vesa
2026-11-14 13:33 ` [PATCH 3/4] dt-bindings: arm: qcom,ids: Add SoC ID for IQ10800MD Shawn Guo
2026-11-14 13:33 ` [PATCH 4/4] soc: qcom: socinfo: " Shawn Guo
2026-11-17  8:50   ` Abel Vesa
2026-11-17  8:29 ` [PATCH 0/4] soc: qcom: socinfo: Fix SA8797P and add IQ10800MD SoC IDs Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox