* [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board
@ 2024-09-11 11:10 Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for QCS9100 Tengfei Fan
` (5 more replies)
0 siblings, 6 replies; 11+ messages in thread
From: Tengfei Fan @ 2024-09-11 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel, Tengfei Fan,
Krzysztof Kozlowski
Add QCS9100 SoC ID and board device trees support.
QCS9100 is a variant of SA8775p, and they are fully compatible with each
other.
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
Changes in v2:
- Add SoC binding for add QCS9100 Ride and QCS9100 Ride Rev3
- Update SoC binding patch commit message
- Add QCS9100 Ride and Ride Rev3 board device tree patches
- Link to v1: https://lore.kernel.org/r/20240806-add_qcs9100_soc_id-v1-0-04d14081f304@quicinc.com
---
Tengfei Fan (4):
dt-bindings: arm: qcom,ids: add SoC ID for QCS9100
soc: qcom: socinfo: add QCS9100 ID
dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
arch/arm64/boot/dts/qcom/Makefile | 2 ++
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts | 11 +++++++++++
arch/arm64/boot/dts/qcom/qcs9100-ride.dts | 11 +++++++++++
drivers/soc/qcom/socinfo.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 1 +
6 files changed, 34 insertions(+)
---
base-commit: 6708132e80a2ced620bde9b9c36e426183544a23
change-id: 20240911-add_qcs9100_support-dbb22dd8b475
Best regards,
--
Tengfei Fan <quic_tengfan@quicinc.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for QCS9100
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
@ 2024-09-11 11:10 ` Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 2/4] soc: qcom: socinfo: add QCS9100 ID Tengfei Fan
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Tengfei Fan @ 2024-09-11 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel, Tengfei Fan,
Krzysztof Kozlowski
Add the ID for the Qualcomm QCS9100 SoC.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.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 8332f8d82f96..c187a60d4d1f 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -276,6 +276,7 @@
#define QCOM_ID_QCM8550 604
#define QCOM_ID_IPQ5300 624
#define QCOM_ID_IPQ5321 650
+#define QCOM_ID_QCS9100 667
#define QCOM_ID_QCS8300 674
#define QCOM_ID_QCS8275 675
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2 2/4] soc: qcom: socinfo: add QCS9100 ID
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for QCS9100 Tengfei Fan
@ 2024-09-11 11:10 ` Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3 Tengfei Fan
` (3 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Tengfei Fan @ 2024-09-11 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel, Tengfei Fan,
Krzysztof Kozlowski
Add the ID for the Qualcomm QCS9100 SoC.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.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 24c3971f2ef1..0dcf8c438cd0 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -443,6 +443,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(QCM8550) },
{ qcom_board_id(IPQ5300) },
{ qcom_board_id(IPQ5321) },
+ { qcom_board_id(QCS9100) },
{ qcom_board_id(QCS8300) },
{ qcom_board_id(QCS8275) },
};
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for QCS9100 Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 2/4] soc: qcom: socinfo: add QCS9100 ID Tengfei Fan
@ 2024-09-11 11:10 ` Tengfei Fan
2024-09-11 11:24 ` Konrad Dybcio
2024-09-16 15:12 ` Krzysztof Kozlowski
2024-09-11 11:10 ` [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards Tengfei Fan
` (2 subsequent siblings)
5 siblings, 2 replies; 11+ messages in thread
From: Tengfei Fan @ 2024-09-11 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel, Tengfei Fan
Document qcs9100-ride and qcs9100-ride Rev3 is based on QCS9100 SoC.
QCS9100 is a IoT version of SA8775p, hence use the latter's compatible
string as fallback.
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 5cb54d69af0b..b0ba422eec71 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -45,6 +45,7 @@ description: |
qcs8550
qcm2290
qcm6490
+ qcs9100
qdu1000
qrb2210
qrb4210
@@ -912,6 +913,13 @@ properties:
- qcom,sa8775p-ride-r3
- const: qcom,sa8775p
+ - items:
+ - enum:
+ - qcom,qcs9100-ride
+ - qcom,qcs9100-ride-r3
+ - const: qcom,qcs9100
+ - const: qcom,sa8775p
+
- items:
- enum:
- google,cheza
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
` (2 preceding siblings ...)
2024-09-11 11:10 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3 Tengfei Fan
@ 2024-09-11 11:10 ` Tengfei Fan
2024-09-16 23:32 ` Konrad Dybcio
2024-09-11 13:50 ` [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Rob Herring (Arm)
2024-11-04 4:13 ` (subset) " Bjorn Andersson
5 siblings, 1 reply; 11+ messages in thread
From: Tengfei Fan @ 2024-09-11 11:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel, Tengfei Fan
Add device tree support for the QCS9100 Ride and Ride Rev3 boards. The
QCS9100 is a variant of the SA8775p, and they are fully compatible with
each other. The QCS9100 Ride/Ride Rev3 board is essentially the same as
the SA8775p Ride/Ride Rev3 board, with the QCS9100 SoC mounted instead
of the SA8775p.
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
arch/arm64/boot/dts/qcom/Makefile | 2 ++
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts | 11 +++++++++++
arch/arm64/boot/dts/qcom/qcs9100-ride.dts | 11 +++++++++++
3 files changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index ae002c7cf126..b3c369305731 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -112,6 +112,8 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb
+dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb
+dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3.dtb
dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb
diff --git a/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts b/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts
new file mode 100644
index 000000000000..759d1ec694b2
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+/dts-v1/;
+
+#include "sa8775p-ride-r3.dts"
+/ {
+ model = "Qualcomm QCS9100 Ride Rev3";
+ compatible = "qcom,qcs9100-ride-r3", "qcom,qcs9100", "qcom,sa8775p";
+};
diff --git a/arch/arm64/boot/dts/qcom/qcs9100-ride.dts b/arch/arm64/boot/dts/qcom/qcs9100-ride.dts
new file mode 100644
index 000000000000..979462dfec30
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs9100-ride.dts
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+/dts-v1/;
+
+#include "sa8775p-ride.dts"
+/ {
+ model = "Qualcomm QCS9100 Ride";
+ compatible = "qcom,qcs9100-ride", "qcom,qcs9100", "qcom,sa8775p";
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
2024-09-11 11:10 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3 Tengfei Fan
@ 2024-09-11 11:24 ` Konrad Dybcio
2024-09-16 15:12 ` Krzysztof Kozlowski
1 sibling, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2024-09-11 11:24 UTC (permalink / raw)
To: Tengfei Fan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel
On 11.09.2024 1:10 PM, Tengfei Fan wrote:
> Document qcs9100-ride and qcs9100-ride Rev3 is based on QCS9100 SoC.
>
> QCS9100 is a IoT version of SA8775p, hence use the latter's compatible
> string as fallback.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Konrad
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
` (3 preceding siblings ...)
2024-09-11 11:10 ` [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards Tengfei Fan
@ 2024-09-11 13:50 ` Rob Herring (Arm)
2024-11-04 4:13 ` (subset) " Bjorn Andersson
5 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2024-09-11 13:50 UTC (permalink / raw)
To: Tengfei Fan
Cc: Krzysztof Kozlowski, Krzysztof Kozlowski, Bjorn Andersson,
linux-kernel, kernel, Konrad Dybcio, Conor Dooley, linux-arm-msm,
devicetree
On Wed, 11 Sep 2024 19:10:54 +0800, Tengfei Fan wrote:
> Add QCS9100 SoC ID and board device trees support.
> QCS9100 is a variant of SA8775p, and they are fully compatible with each
> other.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
> Changes in v2:
> - Add SoC binding for add QCS9100 Ride and QCS9100 Ride Rev3
> - Update SoC binding patch commit message
> - Add QCS9100 Ride and Ride Rev3 board device tree patches
> - Link to v1: https://lore.kernel.org/r/20240806-add_qcs9100_soc_id-v1-0-04d14081f304@quicinc.com
>
> ---
> Tengfei Fan (4):
> dt-bindings: arm: qcom,ids: add SoC ID for QCS9100
> soc: qcom: socinfo: add QCS9100 ID
> dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
> arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
>
> Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
> arch/arm64/boot/dts/qcom/Makefile | 2 ++
> arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts | 11 +++++++++++
> arch/arm64/boot/dts/qcom/qcs9100-ride.dts | 11 +++++++++++
> drivers/soc/qcom/socinfo.c | 1 +
> include/dt-bindings/arm/qcom,ids.h | 1 +
> 6 files changed, 34 insertions(+)
> ---
> base-commit: 6708132e80a2ced620bde9b9c36e426183544a23
> change-id: 20240911-add_qcs9100_support-dbb22dd8b475
>
> Best regards,
> --
> Tengfei Fan <quic_tengfan@quicinc.com>
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y qcom/qcs9100-ride-r3.dtb qcom/qcs9100-ride.dtb' for 20240911-add_qcs9100_support-v2-0-e43a71ceb017@quicinc.com:
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: usb@a4f8800: interrupt-names: ['pwr_event', 'hs_phy_irq', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short
from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: usb@a4f8800: interrupt-names: ['pwr_event', 'hs_phy_irq', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short
from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: rsc@18200000: 'power-domains' is a required property
from schema $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: rsc@18200000: 'power-domains' is a required property
from schema $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: ethernet@23000000: tx-queues-config: 'snps,tx-sched-sp' does not match any of the regexes: '^queue[0-9]$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: ethernet@23000000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects', 'phy-handle', 'phy-mode', 'power-domains', 'rx-fifo-depth', 'rx-queues-config', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,pbl', 'snps,ps-speed', 'snps,tso', 'tx-fifo-depth', 'tx-queues-config' were unexpected)
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: ethernet@23000000: tx-queues-config: 'snps,tx-sched-sp' does not match any of the regexes: '^queue[0-9]$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: ethernet@23000000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects', 'phy-handle', 'phy-mode', 'power-domains', 'rx-fifo-depth', 'rx-queues-config', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,pbl', 'snps,ps-speed', 'snps,tso', 'tx-fifo-depth', 'tx-queues-config' were unexpected)
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: ethernet@23040000: tx-queues-config: 'snps,tx-sched-sp' does not match any of the regexes: '^queue[0-9]$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dtb: ethernet@23040000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects', 'mdio', 'phy-handle', 'phy-mode', 'power-domains', 'rx-fifo-depth', 'rx-queues-config', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,pbl', 'snps,ps-speed', 'snps,tso', 'tx-fifo-depth', 'tx-queues-config' were unexpected)
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: ethernet@23040000: tx-queues-config: 'snps,tx-sched-sp' does not match any of the regexes: '^queue[0-9]$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
arch/arm64/boot/dts/qcom/qcs9100-ride.dtb: ethernet@23040000: Unevaluated properties are not allowed ('interconnect-names', 'interconnects', 'mdio', 'phy-handle', 'phy-mode', 'power-domains', 'rx-fifo-depth', 'rx-queues-config', 'snps,mtl-rx-config', 'snps,mtl-tx-config', 'snps,pbl', 'snps,ps-speed', 'snps,tso', 'tx-fifo-depth', 'tx-queues-config' were unexpected)
from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml#
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
2024-09-11 11:10 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3 Tengfei Fan
2024-09-11 11:24 ` Konrad Dybcio
@ 2024-09-16 15:12 ` Krzysztof Kozlowski
1 sibling, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-16 15:12 UTC (permalink / raw)
To: Tengfei Fan
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, kernel, linux-arm-msm, devicetree, linux-kernel
On Wed, Sep 11, 2024 at 07:10:57PM +0800, Tengfei Fan wrote:
> Document qcs9100-ride and qcs9100-ride Rev3 is based on QCS9100 SoC.
>
> QCS9100 is a IoT version of SA8775p, hence use the latter's compatible
> string as fallback.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
> Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
2024-09-11 11:10 ` [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards Tengfei Fan
@ 2024-09-16 23:32 ` Konrad Dybcio
2025-01-08 14:55 ` Caleb Connolly
0 siblings, 1 reply; 11+ messages in thread
From: Konrad Dybcio @ 2024-09-16 23:32 UTC (permalink / raw)
To: Tengfei Fan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel
On 11.09.2024 1:10 PM, Tengfei Fan wrote:
> Add device tree support for the QCS9100 Ride and Ride Rev3 boards. The
> QCS9100 is a variant of the SA8775p, and they are fully compatible with
> each other. The QCS9100 Ride/Ride Rev3 board is essentially the same as
> the SA8775p Ride/Ride Rev3 board, with the QCS9100 SoC mounted instead
> of the SA8775p.
>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Konrad
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: (subset) [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
` (4 preceding siblings ...)
2024-09-11 13:50 ` [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Rob Herring (Arm)
@ 2024-11-04 4:13 ` Bjorn Andersson
5 siblings, 0 replies; 11+ messages in thread
From: Bjorn Andersson @ 2024-11-04 4:13 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tengfei Fan
Cc: kernel, linux-arm-msm, devicetree, linux-kernel,
Krzysztof Kozlowski
On Wed, 11 Sep 2024 19:10:54 +0800, Tengfei Fan wrote:
> Add QCS9100 SoC ID and board device trees support.
> QCS9100 is a variant of SA8775p, and they are fully compatible with each
> other.
>
>
Applied, thanks!
[3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
commit: e80fd25537541b67da12be30a581671ee81b66ca
[4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
commit: 7dcc1dfaa3d1cd3aafed2beb7086ed34fdb22303
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
2024-09-16 23:32 ` Konrad Dybcio
@ 2025-01-08 14:55 ` Caleb Connolly
0 siblings, 0 replies; 11+ messages in thread
From: Caleb Connolly @ 2025-01-08 14:55 UTC (permalink / raw)
To: Konrad Dybcio, Tengfei Fan, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: kernel, linux-arm-msm, devicetree, linux-kernel
On 17/09/2024 01:32, Konrad Dybcio wrote:
> On 11.09.2024 1:10 PM, Tengfei Fan wrote:
>> Add device tree support for the QCS9100 Ride and Ride Rev3 boards. The
>> QCS9100 is a variant of the SA8775p, and they are fully compatible with
>> each other. The QCS9100 Ride/Ride Rev3 board is essentially the same as
>> the SA8775p Ride/Ride Rev3 board, with the QCS9100 SoC mounted instead
>> of the SA8775p.
>>
>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>> ---
>
> Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
I don't understand this, if both boards are identical except for the
name of the SoC then why do we have two devicetree files?
You can surely detect which SoC is in use at runtime if necessary, and
maybe pick a name which doesn't have the SoC in it if you really want to
avoid confusion.
If there are differentiating features which will be added later, then I
think this at least deserves a comment stating as such.
Additionally, the files should be shuffled around to better represent
that there's two very similar boards with just some minor differences,
this is a common case already and there is a standard way to handle it
(see e.g. sdm845-oneplus-common.dtsi and
sdm845-oneplus-enchilada/fajita.dts)
#include'ing a .dts file just seems like a mess here.
Kind regards,
>
> Konrad
--
// Caleb (they/them)
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-01-08 14:55 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11 11:10 [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for QCS9100 Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 2/4] soc: qcom: socinfo: add QCS9100 ID Tengfei Fan
2024-09-11 11:10 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3 Tengfei Fan
2024-09-11 11:24 ` Konrad Dybcio
2024-09-16 15:12 ` Krzysztof Kozlowski
2024-09-11 11:10 ` [PATCH v2 4/4] arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards Tengfei Fan
2024-09-16 23:32 ` Konrad Dybcio
2025-01-08 14:55 ` Caleb Connolly
2024-09-11 13:50 ` [PATCH v2 0/4] arm64: dts: qcom: Add support for the QCS9100 SoC and board Rob Herring (Arm)
2024-11-04 4:13 ` (subset) " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).