* [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID
@ 2024-08-14 7:28 Jingyi Wang
2024-08-14 7:28 ` [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Jingyi Wang @ 2024-08-14 7:28 UTC (permalink / raw)
To: linux-arm-msm, devicetree, linux-kernel, andersson, konradybcio,
krzk+dt, conor+dt, quic_tingweiz, quic_aiquny, quic_tengfan
Cc: quic_jingyw
Add support for socinfo for qualcomm QCS8275/QCS8300 SoC. QCS8300
is an Industrial Safe version SoC while QCS8275 is an Industrial
Non-Safe version.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Jingyi Wang (3):
dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference
board
dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300
soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID
Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
drivers/soc/qcom/socinfo.c | 2 ++
include/dt-bindings/arm/qcom,ids.h | 2 ++
3 files changed, 12 insertions(+)
--
base-commit: 320eb81df4f6c1a1814fd02ebb4ba41eb80a3c7e
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-08-14 7:28 [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID Jingyi Wang
@ 2024-08-14 7:28 ` Jingyi Wang
2024-08-14 8:56 ` Krzysztof Kozlowski
2024-08-14 7:28 ` [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300 Jingyi Wang
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Jingyi Wang @ 2024-08-14 7:28 UTC (permalink / raw)
To: linux-arm-msm, devicetree, linux-kernel, andersson, konradybcio,
krzk+dt, conor+dt, quic_tingweiz, quic_aiquny, quic_tengfan
Cc: quic_jingyw
Document the QCS8275/QCS8300 SoC and its reference board QCS8300 RIDE.
QCS8300 is an Industrial Safe SoC, while QCS8275 is the Industrial
Non-Safe version which can share the same SoC dtsi and board DTS.
Signed-off-by: Jingyi Wang <quic_jingyw@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 f08e13b61172..3952e1579767 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -42,6 +42,8 @@ description: |
msm8996
msm8998
qcs404
+ qcs8275
+ qcs8300
qcs8550
qcm2290
qcm6490
@@ -884,6 +886,12 @@ properties:
- const: qcom,qcs404-evb
- const: qcom,qcs404
+ - items:
+ - enum:
+ - qcom,qcs8300-ride
+ - const: qcom,qcs8275
+ - const: qcom,qcs8300
+
- items:
- enum:
- qcom,sa8155p-adp
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300
2024-08-14 7:28 [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID Jingyi Wang
2024-08-14 7:28 ` [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
@ 2024-08-14 7:28 ` Jingyi Wang
2024-08-14 8:56 ` Krzysztof Kozlowski
2024-08-14 7:28 ` [PATCH 3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID Jingyi Wang
2024-08-15 20:40 ` (subset) [PATCH 0/3] soc: qcom: socinfo: Add " Bjorn Andersson
3 siblings, 1 reply; 8+ messages in thread
From: Jingyi Wang @ 2024-08-14 7:28 UTC (permalink / raw)
To: linux-arm-msm, devicetree, linux-kernel, andersson, konradybcio,
krzk+dt, conor+dt, quic_tingweiz, quic_aiquny, quic_tengfan
Cc: quic_jingyw
Add the ID for Qualcomm QCS8275/QCS8300 SoC.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
include/dt-bindings/arm/qcom,ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index d6c9e9472121..a213f6244c5d 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -274,6 +274,8 @@
#define QCOM_ID_QCM8550 604
#define QCOM_ID_IPQ5300 624
#define QCOM_ID_IPQ5321 650
+#define QCOM_ID_QCS8300 674
+#define QCOM_ID_QCS8275 675
/*
* The board type and revision information, used by Qualcomm bootloaders and
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID
2024-08-14 7:28 [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID Jingyi Wang
2024-08-14 7:28 ` [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
2024-08-14 7:28 ` [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300 Jingyi Wang
@ 2024-08-14 7:28 ` Jingyi Wang
2024-08-15 20:40 ` (subset) [PATCH 0/3] soc: qcom: socinfo: Add " Bjorn Andersson
3 siblings, 0 replies; 8+ messages in thread
From: Jingyi Wang @ 2024-08-14 7:28 UTC (permalink / raw)
To: linux-arm-msm, devicetree, linux-kernel, andersson, konradybcio,
krzk+dt, conor+dt, quic_tingweiz, quic_aiquny, quic_tengfan
Cc: quic_jingyw
Add SoC ID for Qualcomm QCS8275/QCS8300.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
drivers/soc/qcom/socinfo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index d7359a235e3c..3ba29412b9ba 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -441,6 +441,8 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(QCM8550) },
{ qcom_board_id(IPQ5300) },
{ qcom_board_id(IPQ5321) },
+ { qcom_board_id(QCS8300) },
+ { qcom_board_id(QCS8275) },
};
static const char *socinfo_machine(struct device *dev, unsigned int id)
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-08-14 7:28 ` [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
@ 2024-08-14 8:56 ` Krzysztof Kozlowski
2024-08-15 2:27 ` Jingyi Wang
0 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-14 8:56 UTC (permalink / raw)
To: Jingyi Wang, linux-arm-msm, devicetree, linux-kernel, andersson,
konradybcio, krzk+dt, conor+dt, quic_tingweiz, quic_aiquny,
quic_tengfan
On 14/08/2024 09:28, Jingyi Wang wrote:
> Document the QCS8275/QCS8300 SoC and its reference board QCS8300 RIDE.
> QCS8300 is an Industrial Safe SoC, while QCS8275 is the Industrial
> Non-Safe version which can share the same SoC dtsi and board DTS.
>
> Signed-off-by: Jingyi Wang <quic_jingyw@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 f08e13b61172..3952e1579767 100644
> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
> @@ -42,6 +42,8 @@ description: |
> msm8996
> msm8998
> qcs404
> + qcs8275
> + qcs8300
> qcs8550
> qcm2290
> qcm6490
> @@ -884,6 +886,12 @@ properties:
> - const: qcom,qcs404-evb
> - const: qcom,qcs404
>
> + - items:
> + - enum:
> + - qcom,qcs8300-ride
This is not used. You miss DTS patch. Look how people upstream things:
such binding *never* goes separate from the DTS.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300
2024-08-14 7:28 ` [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300 Jingyi Wang
@ 2024-08-14 8:56 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-14 8:56 UTC (permalink / raw)
To: Jingyi Wang, linux-arm-msm, devicetree, linux-kernel, andersson,
konradybcio, krzk+dt, conor+dt, quic_tingweiz, quic_aiquny,
quic_tengfan
On 14/08/2024 09:28, Jingyi Wang wrote:
> Add the ID for Qualcomm QCS8275/QCS8300 SoC.
>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> include/dt-bindings/arm/qcom,ids.h | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-08-14 8:56 ` Krzysztof Kozlowski
@ 2024-08-15 2:27 ` Jingyi Wang
0 siblings, 0 replies; 8+ messages in thread
From: Jingyi Wang @ 2024-08-15 2:27 UTC (permalink / raw)
To: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
andersson, konradybcio, krzk+dt, conor+dt, quic_tingweiz,
quic_aiquny, quic_tengfan
On 8/14/2024 4:56 PM, Krzysztof Kozlowski wrote:
> On 14/08/2024 09:28, Jingyi Wang wrote:
>> Document the QCS8275/QCS8300 SoC and its reference board QCS8300 RIDE.
>> QCS8300 is an Industrial Safe SoC, while QCS8275 is the Industrial
>> Non-Safe version which can share the same SoC dtsi and board DTS.
>>
>> Signed-off-by: Jingyi Wang <quic_jingyw@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 f08e13b61172..3952e1579767 100644
>> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
>> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
>> @@ -42,6 +42,8 @@ description: |
>> msm8996
>> msm8998
>> qcs404
>> + qcs8275
>> + qcs8300
>> qcs8550
>> qcm2290
>> qcm6490
>> @@ -884,6 +886,12 @@ properties:
>> - const: qcom,qcs404-evb
>> - const: qcom,qcs404
>>
>> + - items:
>> + - enum:
>> + - qcom,qcs8300-ride
>
> This is not used. You miss DTS patch. Look how people upstream things:
> such binding *never* goes separate from the DTS.
>
> Best regards,
> Krzysztof
Thanks,I will remove that.
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (subset) [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID
2024-08-14 7:28 [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID Jingyi Wang
` (2 preceding siblings ...)
2024-08-14 7:28 ` [PATCH 3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID Jingyi Wang
@ 2024-08-15 20:40 ` Bjorn Andersson
3 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2024-08-15 20:40 UTC (permalink / raw)
To: linux-arm-msm, devicetree, linux-kernel, konradybcio, krzk+dt,
conor+dt, quic_tingweiz, quic_aiquny, quic_tengfan, Jingyi Wang
On Wed, 14 Aug 2024 15:28:03 +0800, Jingyi Wang wrote:
> Add support for socinfo for qualcomm QCS8275/QCS8300 SoC. QCS8300
> is an Industrial Safe version SoC while QCS8275 is an Industrial
> Non-Safe version.
>
>
Applied, thanks!
[2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300
commit: 6b34e75c48bb913f3431e66353cad9782e7225c7
[3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID
commit: dff75ec5763eb9c7ad64be952cc6930b410beb2d
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-08-15 20:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-14 7:28 [PATCH 0/3] soc: qcom: socinfo: Add QCS8275/QCS8300 SoC ID Jingyi Wang
2024-08-14 7:28 ` [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
2024-08-14 8:56 ` Krzysztof Kozlowski
2024-08-15 2:27 ` Jingyi Wang
2024-08-14 7:28 ` [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300 Jingyi Wang
2024-08-14 8:56 ` Krzysztof Kozlowski
2024-08-14 7:28 ` [PATCH 3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID Jingyi Wang
2024-08-15 20:40 ` (subset) [PATCH 0/3] soc: qcom: socinfo: Add " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®