2023-07-31 07:12:00

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 0/8] soc: qcom: Add support for SM4450

This series adds CPU, SoC and board compatible support for SM4450.

Signed-off-by: Tengfei Fan <[email protected]>
---
v2 -> v3:
- remove some bootargs arguments from sm4450-qrd.dtsi
- adjust IPQ5019 related sequence in bindings and socinfo file

v1 -> v2:
- use hypens replace of underscores in node name
- add empty lines before child nodes
- drop SCM node
- document qcom,sm4450-pdc compatible
- drop clock-frequecny
- align vertically
- add reg after conmpatible, then ranges follow
- update core compatible to standard ARM core name
- add dcc related parameters in bootargs node
- keep patch code have reasonable sort
- drop unnecessary copyright
- separate bindings to a single patch

previous discussion here:
[1] v2: https://lore.kernel.org/linux-arm-msm/[email protected]/
[2] v1: https://lore.kernel.org/linux-arm-msm/[email protected]/

Tengfei Fan (8):
dt-bindings: qcom,pdc: add qcom,sm4450-pdc compatible
dt-bindings: arm: qcom: Document SM4450 SoC and boards
arm64: dts: qcom: Adds base SM4450 DTSI
arm64: dts: qcom: Add base SM4450 QRD DTS
dt-bindings: arm: qcom,ids: Adjust the position of QCOM_ID_QDU1010
soc: qcom: socinfo: adjust the position of QDU1010
dt-bindings: arm: qcom,ids: add SoC ID for SM4450
soc: qcom: socinfo: add SM4450 ID

.../devicetree/bindings/arm/qcom.yaml | 6 +
.../interrupt-controller/qcom,pdc.yaml | 1 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/sm4450-qrd.dts | 18 +
arch/arm64/boot/dts/qcom/sm4450.dtsi | 431 ++++++++++++++++++
drivers/soc/qcom/socinfo.c | 3 +-
include/dt-bindings/arm/qcom,ids.h | 3 +-
7 files changed, 461 insertions(+), 2 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/sm4450-qrd.dts
create mode 100644 arch/arm64/boot/dts/qcom/sm4450.dtsi


base-commit: d7b3af5a77e8d8da28f435f313e069aea5bcf172
--
2.17.1



2023-07-31 07:13:53

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 6/8] soc: qcom: socinfo: adjust the position of QDU1010

Adjust the position of QDU1010, so that QDU1010 have
same sequence with QCOM_ID_QDU1010 in bindings file.

Change-Id: I86d46eca55e877aaa1fd948db99b41ae138a3129
---
drivers/soc/qcom/socinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 4d49945b3a35..ad7699b401a8 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -405,8 +405,8 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(SA8775P) },
{ qcom_board_id(QRU1000) },
{ qcom_board_id(QDU1000) },
- { qcom_board_id(QDU1010) },
{ qcom_board_id(IPQ5019) },
+ { qcom_board_id(QDU1010) },
{ qcom_board_id(QRU1032) },
{ qcom_board_id(QRU1052) },
{ qcom_board_id(QRU1062) },
--
2.17.1


2023-07-31 07:21:48

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 2/8] dt-bindings: arm: qcom: Document SM4450 SoC and boards

Document the SM4450 SoC binding and also the boards using it.

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Tengfei Fan <[email protected]>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index a6f7ef4f0830..b1f2f015c127 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -72,6 +72,7 @@ description: |
sdx65
sdx75
sm4250
+ sm4450
sm6115
sm6115p
sm6125
@@ -903,6 +904,11 @@ properties:
- const: qcom,qrb4210
- const: qcom,sm4250

+ - items:
+ - enum:
+ - qcom,sm4450-qrd
+ - const: qcom,sm4450
+
- items:
- enum:
- fxtec,pro1x
--
2.17.1


2023-07-31 07:21:57

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 7/8] dt-bindings: arm: qcom,ids: add SoC ID for SM4450

Add the ID for the Qualcomm SM4450 SoC.

Signed-off-by: Tengfei Fan <[email protected]>
---
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 977c235ed0d9..e0923ef22cd5 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -249,6 +249,7 @@
#define QCOM_ID_SA8775P 534
#define QCOM_ID_QRU1000 539
#define QCOM_ID_QDU1000 545
+#define QCOM_ID_SM4450 568
#define QCOM_ID_IPQ5019 569
#define QCOM_ID_QDU1010 587
#define QCOM_ID_QRU1032 588
--
2.17.1


2023-07-31 08:06:11

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 8/8] soc: qcom: socinfo: add SM4450 ID

Add the ID for the Qualcomm SM4450 SoC.

Signed-off-by: Tengfei Fan <[email protected]>
---
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 ad7699b401a8..faa6f9fccfb3 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -405,6 +405,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(SA8775P) },
{ qcom_board_id(QRU1000) },
{ qcom_board_id(QDU1000) },
+ { qcom_board_id(SM4450) },
{ qcom_board_id(IPQ5019) },
{ qcom_board_id(QDU1010) },
{ qcom_board_id(QRU1032) },
--
2.17.1