* [PATCH 0/2] Use QCOM_ID_* defines for qcom,msm-id for SM6350/SM7225 devices
@ 2026-11-23 14:46 Luca Weiss
2026-11-23 14:46 ` [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h Luca Weiss
2026-11-23 14:46 ` [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 " Luca Weiss
0 siblings, 2 replies; 5+ messages in thread
From: Luca Weiss @ 2026-11-23 14:46 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo
Cc: linux-arm-msm, devicetree, Luca Weiss
As noted by Shawn Guo in [0], both the pdx213 and fp4 dts files don't
use the QCOM_ID_* defines for their qcom,msm-id properties.
[0] https://lore.kernel.org/linux-arm-msm/awQ_90R8_uGWm2Sz@QCOM-aGQu4IUr3Y/
Use the defines to make the meaning of the qcom,msm-id properties
clearer.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Luca Weiss (2):
arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h
arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 from qcom,ids,h
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 3 ++-
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
base-commit: a4d7daea71be591034445c17d4d81132a1785a12
change-id: 20261123-sm6350-msm-id-f7059b401dc7
Best regards,
--
Luca Weiss <luca.weiss@fairphone.com>
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h
2026-11-23 14:46 [PATCH 0/2] Use QCOM_ID_* defines for qcom,msm-id for SM6350/SM7225 devices Luca Weiss
@ 2026-11-23 14:46 ` Luca Weiss
2026-11-23 15:15 ` Konrad Dybcio
2026-11-23 14:46 ` [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 " Luca Weiss
1 sibling, 1 reply; 5+ messages in thread
From: Luca Weiss @ 2026-11-23 14:46 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo
Cc: linux-arm-msm, devicetree, Luca Weiss
434 is just the value behind QCOM_ID_SM6350, so use the define to make
the meaning of the qcom,msm-id property clearer.
Also while we're at it, drop 459 (QCOM_ID_SM7225) since the Sony Xperia
10 III only shipped with a Snapdragon 690 5G, not a Snapdragon 750G 5G,
therefore the second value of qcom,msm-id is not needed.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
index 6e2bbf4f060a..a5072496332b 100644
--- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
+++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
@@ -4,6 +4,7 @@
*/
/dts-v1/;
+#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm6350.dtsi"
@@ -13,7 +14,7 @@ / {
model = "Sony Xperia 10 III";
compatible = "sony,pdx213", "qcom,sm6350";
chassis-type = "handset";
- qcom,msm-id = <434 0x10000>, <459 0x10000>;
+ qcom,msm-id = <QCOM_ID_SM6350 0x10000>;
qcom,board-id = <0x1000b 0>;
chosen {
--
2.56.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h
2026-11-23 14:46 ` [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h Luca Weiss
@ 2026-11-23 15:15 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2026-11-23 15:15 UTC (permalink / raw)
To: Luca Weiss, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo
Cc: linux-arm-msm, devicetree
On 11/23/26 3:46 PM, Luca Weiss wrote:
> 434 is just the value behind QCOM_ID_SM6350, so use the define to make
> the meaning of the qcom,msm-id property clearer.
>
> Also while we're at it, drop 459 (QCOM_ID_SM7225) since the Sony Xperia
> 10 III only shipped with a Snapdragon 690 5G, not a Snapdragon 750G 5G,
> therefore the second value of qcom,msm-id is not needed.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 from qcom,ids,h
2026-11-23 14:46 [PATCH 0/2] Use QCOM_ID_* defines for qcom,msm-id for SM6350/SM7225 devices Luca Weiss
2026-11-23 14:46 ` [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h Luca Weiss
@ 2026-11-23 14:46 ` Luca Weiss
2026-11-23 15:16 ` Konrad Dybcio
1 sibling, 1 reply; 5+ messages in thread
From: Luca Weiss @ 2026-11-23 14:46 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo
Cc: linux-arm-msm, devicetree, Luca Weiss
459 is just the value behind QCOM_ID_SM7225, so use the define to make
the meaning of the qcom,msm-id property clearer.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
index 773304b4759e..bbfa5f76bc75 100644
--- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
+++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
@@ -12,6 +12,7 @@
/* PMK8350 (in reality a PMK8003) is configured to use SID6 instead of 0 */
#define PMK8350_SID 6
+#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
@@ -33,7 +34,7 @@ / {
chassis-type = "handset";
/* required for bootloader to select correct board */
- qcom,msm-id = <459 0x10000>;
+ qcom,msm-id = <QCOM_ID_SM7225 0x10000>;
qcom,board-id = <8 32>;
aliases {
--
2.56.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 from qcom,ids,h
2026-11-23 14:46 ` [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 " Luca Weiss
@ 2026-11-23 15:16 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2026-11-23 15:16 UTC (permalink / raw)
To: Luca Weiss, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo
Cc: linux-arm-msm, devicetree
On 11/23/26 3:46 PM, Luca Weiss wrote:
> 459 is just the value behind QCOM_ID_SM7225, so use the define to make
> the meaning of the qcom,msm-id property clearer.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-23 15:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 14:46 [PATCH 0/2] Use QCOM_ID_* defines for qcom,msm-id for SM6350/SM7225 devices Luca Weiss
2026-11-23 14:46 ` [PATCH 1/2] arm64: dts: qcom: sm6350-lena: Use QCOM_ID_SM6350 from qcom,ids,h Luca Weiss
2026-11-23 15:15 ` Konrad Dybcio
2026-11-23 14:46 ` [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: Use QCOM_ID_SM7225 " Luca Weiss
2026-11-23 15:16 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox