* [PATCH 01/19] dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support Jingyi Wang
` (19 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu
Document the components used to boot the ADSP, CDSP and GPDSP on the
QCS8300 SoC.
Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml
index 7fe401a06805..b788dd77e40e 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml
@@ -16,6 +16,9 @@ description:
properties:
compatible:
enum:
+ - qcom,qcs8300-adsp-pas
+ - qcom,qcs8300-cdsp-pas
+ - qcom,qcs8300-gpdsp-pas
- qcom,sa8775p-adsp-pas
- qcom,sa8775p-cdsp0-pas
- qcom,sa8775p-cdsp1-pas
@@ -64,6 +67,7 @@ allOf:
properties:
compatible:
enum:
+ - qcom,qcs8300-adsp-pas
- qcom,sa8775p-adsp-pas
then:
properties:
@@ -80,6 +84,7 @@ allOf:
properties:
compatible:
enum:
+ - qcom,qcs8300-cdsp-pas
- qcom,sa8775p-cdsp0-pas
- qcom,sa8775p-cdsp1-pas
then:
@@ -99,6 +104,7 @@ allOf:
properties:
compatible:
enum:
+ - qcom,qcs8300-gpdsp-pas
- qcom,sa8775p-gpdsp0-pas
- qcom,sa8775p-gpdsp1-pas
then:
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
2024-09-04 8:33 ` [PATCH 01/19] dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 9:36 ` Krzysztof Kozlowski
2024-09-04 8:33 ` [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300 Jingyi Wang
` (18 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu
Add support for PIL loading on ADSP, CDSP and GPDSP on QCS8300
platform.
Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
drivers/remoteproc/qcom_q6v5_pas.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index ef82835e98a4..f92ccd4921b7 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1416,6 +1416,9 @@ static const struct of_device_id adsp_of_match[] = {
{ .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
{ .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
{ .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
+ { .compatible = "qcom,qcs8300-adsp-pas", .data = &sa8775p_adsp_resource},
+ { .compatible = "qcom,qcs8300-cdsp-pas", .data = &sa8775p_cdsp0_resource},
+ { .compatible = "qcom,qcs8300-gpdsp-pas", .data = &sa8775p_gpdsp0_resource},
{ .compatible = "qcom,sa8775p-adsp-pas", .data = &sa8775p_adsp_resource},
{ .compatible = "qcom,sa8775p-cdsp0-pas", .data = &sa8775p_cdsp0_resource},
{ .compatible = "qcom,sa8775p-cdsp1-pas", .data = &sa8775p_cdsp1_resource},
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support
2024-09-04 8:33 ` [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support Jingyi Wang
@ 2024-09-04 9:36 ` Krzysztof Kozlowski
2024-09-05 4:30 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:36 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu, Xin Liu
On 04/09/2024 10:33, Jingyi Wang wrote:
> Add support for PIL loading on ADSP, CDSP and GPDSP on QCS8300
> platform.
>
> Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> drivers/remoteproc/qcom_q6v5_pas.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
> index ef82835e98a4..f92ccd4921b7 100644
> --- a/drivers/remoteproc/qcom_q6v5_pas.c
> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
> @@ -1416,6 +1416,9 @@ static const struct of_device_id adsp_of_match[] = {
> { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
> { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
> { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
> + { .compatible = "qcom,qcs8300-adsp-pas", .data = &sa8775p_adsp_resource},
> + { .compatible = "qcom,qcs8300-cdsp-pas", .data = &sa8775p_cdsp0_resource},
> + { .compatible = "qcom,qcs8300-gpdsp-pas", .data = &sa8775p_gpdsp0_resource},
What's the point of this? You have entire commit msg to explain such
weird duplication. Otherwise sorry, don't duplicate unnecessarily.
Devices are compatible, aren't they?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support
2024-09-04 9:36 ` Krzysztof Kozlowski
@ 2024-09-05 4:30 ` Jingyi Wang
2024-09-05 6:24 ` Krzysztof Kozlowski
0 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 4:30 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel, Xin Liu
On 9/4/2024 5:36 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, Jingyi Wang wrote:
>> Add support for PIL loading on ADSP, CDSP and GPDSP on QCS8300
>> platform.
>>
>> Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
>> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> drivers/remoteproc/qcom_q6v5_pas.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
>> index ef82835e98a4..f92ccd4921b7 100644
>> --- a/drivers/remoteproc/qcom_q6v5_pas.c
>> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
>> @@ -1416,6 +1416,9 @@ static const struct of_device_id adsp_of_match[] = {
>> { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
>> { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
>> { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
>> + { .compatible = "qcom,qcs8300-adsp-pas", .data = &sa8775p_adsp_resource},
>> + { .compatible = "qcom,qcs8300-cdsp-pas", .data = &sa8775p_cdsp0_resource},
>> + { .compatible = "qcom,qcs8300-gpdsp-pas", .data = &sa8775p_gpdsp0_resource},
>
> What's the point of this? You have entire commit msg to explain such
> weird duplication. Otherwise sorry, don't duplicate unnecessarily.
> Devices are compatible, aren't they?
>
> Best regards,
> Krzysztof
>
>
I will drop this, could you please help us to understand what is the correct way to
deal such situation, do we need to update the yaml and add qcs8300 bindings or just
reference to sa8775p bindings in the device tree?
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support
2024-09-05 4:30 ` Jingyi Wang
@ 2024-09-05 6:24 ` Krzysztof Kozlowski
2024-09-06 5:33 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-05 6:24 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel, Xin Liu
On 05/09/2024 06:30, Jingyi Wang wrote:
>>> diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
>>> index ef82835e98a4..f92ccd4921b7 100644
>>> --- a/drivers/remoteproc/qcom_q6v5_pas.c
>>> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
>>> @@ -1416,6 +1416,9 @@ static const struct of_device_id adsp_of_match[] = {
>>> { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
>>> { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
>>> { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
>>> + { .compatible = "qcom,qcs8300-adsp-pas", .data = &sa8775p_adsp_resource},
>>> + { .compatible = "qcom,qcs8300-cdsp-pas", .data = &sa8775p_cdsp0_resource},
>>> + { .compatible = "qcom,qcs8300-gpdsp-pas", .data = &sa8775p_gpdsp0_resource},
>>
>> What's the point of this? You have entire commit msg to explain such
>> weird duplication. Otherwise sorry, don't duplicate unnecessarily.
>> Devices are compatible, aren't they?
>>
>> Best regards,
>> Krzysztof
>>
>>
> I will drop this, could you please help us to understand what is the correct way to
> deal such situation, do we need to update the yaml and add qcs8300 bindings or just
> reference to sa8775p bindings in the device tree?
Above diff hunk suggests that devices are compatible, so should be made
compatible in the bindings (use fallback). There are plenty examples of
this for all Qualcomm devices.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support
2024-09-05 6:24 ` Krzysztof Kozlowski
@ 2024-09-06 5:33 ` Jingyi Wang
0 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-06 5:33 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel, Xin Liu
On 9/5/2024 2:24 PM, Krzysztof Kozlowski wrote:
> On 05/09/2024 06:30, Jingyi Wang wrote:
>>>> diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
>>>> index ef82835e98a4..f92ccd4921b7 100644
>>>> --- a/drivers/remoteproc/qcom_q6v5_pas.c
>>>> +++ b/drivers/remoteproc/qcom_q6v5_pas.c
>>>> @@ -1416,6 +1416,9 @@ static const struct of_device_id adsp_of_match[] = {
>>>> { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
>>>> { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
>>>> { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
>>>> + { .compatible = "qcom,qcs8300-adsp-pas", .data = &sa8775p_adsp_resource},
>>>> + { .compatible = "qcom,qcs8300-cdsp-pas", .data = &sa8775p_cdsp0_resource},
>>>> + { .compatible = "qcom,qcs8300-gpdsp-pas", .data = &sa8775p_gpdsp0_resource},
>>>
>>> What's the point of this? You have entire commit msg to explain such
>>> weird duplication. Otherwise sorry, don't duplicate unnecessarily.
>>> Devices are compatible, aren't they?
>>>
>>> Best regards,
>>> Krzysztof
>>>
>>>
>> I will drop this, could you please help us to understand what is the correct way to
>> deal such situation, do we need to update the yaml and add qcs8300 bindings or just
>> reference to sa8775p bindings in the device tree?
>
> Above diff hunk suggests that devices are compatible, so should be made
> compatible in the bindings (use fallback). There are plenty examples of
> this for all Qualcomm devices.
>
> Best regards,
> Krzysztof
>
The usage of binding seems inconsistent across different Qualcomm drivers. Could you please
confirm that when you mentioned "use fallback", do you mean binding like this?
- items:
- enum:
- qcom,sm8550-sndcard
- qcom,sm8650-sndcard
- const: qcom,sm8450-sndcard
https://www.kernel.org/doc/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
2024-09-04 8:33 ` [PATCH 01/19] dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc Jingyi Wang
2024-09-04 8:33 ` [PATCH 02/19] remoteproc: qcom: pas: Add QCS8300 remoteproc support Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 10:55 ` Dmitry Baryshkov
2024-09-04 8:33 ` [PATCH 04/19] dt-bindings: ufs: qcom: Document the QCS8300 UFS Controller Jingyi Wang
` (17 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu
From: Xin Liu <quic_liuxin@quicinc.com>
Document the QMP UFS PHY compatible for QCS8300 to support physical
layer functionality for USB found on the SoC.
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
index f9cfbd0b2de6..a3540f7a8ef8 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
@@ -18,6 +18,7 @@ properties:
enum:
- qcom,msm8996-qmp-ufs-phy
- qcom,msm8998-qmp-ufs-phy
+ - qcom,qcs8300-qmp-ufs-phy
- qcom,sa8775p-qmp-ufs-phy
- qcom,sc7180-qmp-ufs-phy
- qcom,sc7280-qmp-ufs-phy
@@ -85,6 +86,7 @@ allOf:
contains:
enum:
- qcom,msm8998-qmp-ufs-phy
+ - qcom,qcs8300-qmp-ufs-phy
- qcom,sa8775p-qmp-ufs-phy
- qcom,sc7180-qmp-ufs-phy
- qcom,sc7280-qmp-ufs-phy
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300
2024-09-04 8:33 ` [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300 Jingyi Wang
@ 2024-09-04 10:55 ` Dmitry Baryshkov
2024-09-05 2:37 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Dmitry Baryshkov @ 2024-09-04 10:55 UTC (permalink / raw)
To: Jingyi Wang
Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas,
linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu, Xin Liu
On Wed, Sep 04, 2024 at 04:33:44PM GMT, Jingyi Wang wrote:
> From: Xin Liu <quic_liuxin@quicinc.com>
>
> Document the QMP UFS PHY compatible for QCS8300 to support physical
> layer functionality for USB found on the SoC.
So this is talking about USB, but the patch changes UFS. Please adjust.
>
> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> index f9cfbd0b2de6..a3540f7a8ef8 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
> @@ -18,6 +18,7 @@ properties:
> enum:
> - qcom,msm8996-qmp-ufs-phy
> - qcom,msm8998-qmp-ufs-phy
> + - qcom,qcs8300-qmp-ufs-phy
> - qcom,sa8775p-qmp-ufs-phy
> - qcom,sc7180-qmp-ufs-phy
> - qcom,sc7280-qmp-ufs-phy
> @@ -85,6 +86,7 @@ allOf:
> contains:
> enum:
> - qcom,msm8998-qmp-ufs-phy
> + - qcom,qcs8300-qmp-ufs-phy
> - qcom,sa8775p-qmp-ufs-phy
> - qcom,sc7180-qmp-ufs-phy
> - qcom,sc7280-qmp-ufs-phy
>
> --
> 2.25.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300
2024-09-04 10:55 ` Dmitry Baryshkov
@ 2024-09-05 2:37 ` Jingyi Wang
0 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 2:37 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Konrad Dybcio, devicetree, linux-kernel, linux-arm-kernel,
Xin Liu, linux-arm-msm
On 9/4/2024 6:55 PM, Dmitry Baryshkov wrote:
> On Wed, Sep 04, 2024 at 04:33:44PM GMT, Jingyi Wang wrote:
>> From: Xin Liu <quic_liuxin@quicinc.com>
>>
>> Document the QMP UFS PHY compatible for QCS8300 to support physical
>> layer functionality for USB found on the SoC.
>
> So this is talking about USB, but the patch changes UFS. Please adjust.
>
Thanks for review, will fix this.
>>
>> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
>> index f9cfbd0b2de6..a3540f7a8ef8 100644
>> --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
>> +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
>> @@ -18,6 +18,7 @@ properties:
>> enum:
>> - qcom,msm8996-qmp-ufs-phy
>> - qcom,msm8998-qmp-ufs-phy
>> + - qcom,qcs8300-qmp-ufs-phy
>> - qcom,sa8775p-qmp-ufs-phy
>> - qcom,sc7180-qmp-ufs-phy
>> - qcom,sc7280-qmp-ufs-phy
>> @@ -85,6 +86,7 @@ allOf:
>> contains:
>> enum:
>> - qcom,msm8998-qmp-ufs-phy
>> + - qcom,qcs8300-qmp-ufs-phy
>> - qcom,sa8775p-qmp-ufs-phy
>> - qcom,sc7180-qmp-ufs-phy
>> - qcom,sc7280-qmp-ufs-phy
>>
>> --
>> 2.25.1
>>
>
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 04/19] dt-bindings: ufs: qcom: Document the QCS8300 UFS Controller
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (2 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 03/19] dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300 Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300 Jingyi Wang
` (16 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu
From: Xin Liu <quic_liuxin@quicinc.com>
Document the Universal Flash Storage(UFS) Controller on the QCS8300
Platform.
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
index 25a5edeea164..cde334e3206b 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
@@ -26,6 +26,7 @@ properties:
- qcom,msm8994-ufshc
- qcom,msm8996-ufshc
- qcom,msm8998-ufshc
+ - qcom,qcs8300-ufshc
- qcom,sa8775p-ufshc
- qcom,sc7180-ufshc
- qcom,sc7280-ufshc
@@ -146,6 +147,7 @@ allOf:
contains:
enum:
- qcom,msm8998-ufshc
+ - qcom,qcs8300-ufshc
- qcom,sa8775p-ufshc
- qcom,sc7280-ufshc
- qcom,sc8180x-ufshc
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (3 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 04/19] dt-bindings: ufs: qcom: Document the QCS8300 UFS Controller Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 9:36 ` Krzysztof Kozlowski
2024-09-04 8:33 ` [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains Jingyi Wang
` (15 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu
From: Xin Liu <quic_liuxin@quicinc.com>
Add QMP PHY support for QCS8300 which is compatible with SA8775P.
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
index d964bdfe8700..8bad68400736 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
@@ -2010,6 +2010,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = {
}, {
.compatible = "qcom,msm8998-qmp-ufs-phy",
.data = &sdm845_ufsphy_cfg,
+ }, {
+ .compatible = "qcom,qcs8300-qmp-ufs-phy",
+ .data = &sa8775p_ufsphy_cfg,
}, {
.compatible = "qcom,sa8775p-qmp-ufs-phy",
.data = &sa8775p_ufsphy_cfg,
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300
2024-09-04 8:33 ` [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300 Jingyi Wang
@ 2024-09-04 9:36 ` Krzysztof Kozlowski
2024-09-05 4:33 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:36 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu, Xin Liu
On 04/09/2024 10:33, Jingyi Wang wrote:
> From: Xin Liu <quic_liuxin@quicinc.com>
>
> Add QMP PHY support for QCS8300 which is compatible with SA8775P.
>
> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
> index d964bdfe8700..8bad68400736 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
> @@ -2010,6 +2010,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = {
> }, {
> .compatible = "qcom,msm8998-qmp-ufs-phy",
> .data = &sdm845_ufsphy_cfg,
> + }, {
> + .compatible = "qcom,qcs8300-qmp-ufs-phy",
> + .data = &sa8775p_ufsphy_cfg,
Is compatible? Then this is redundant. Drop.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300
2024-09-04 9:36 ` Krzysztof Kozlowski
@ 2024-09-05 4:33 ` Jingyi Wang
0 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 4:33 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel, Xin Liu
On 9/4/2024 5:36 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, Jingyi Wang wrote:
>> From: Xin Liu <quic_liuxin@quicinc.com>
>>
>> Add QMP PHY support for QCS8300 which is compatible with SA8775P.
>>
>> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
>> index d964bdfe8700..8bad68400736 100644
>> --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
>> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
>> @@ -2010,6 +2010,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = {
>> }, {
>> .compatible = "qcom,msm8998-qmp-ufs-phy",
>> .data = &sdm845_ufsphy_cfg,
>> + }, {
>> + .compatible = "qcom,qcs8300-qmp-ufs-phy",
>> + .data = &sa8775p_ufsphy_cfg,
>
> Is compatible? Then this is redundant. Drop.
>
> Best regards,
> Krzysztof
>
Will drop that.
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (4 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 05/19] phy: qcom-qmp-ufs: Add support for QCS8300 Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-05 11:30 ` Konrad Dybcio
2024-09-04 8:33 ` [PATCH 07/19] pmdomain: qcom: rpmhpd: " Jingyi Wang
` (14 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Shazad Hussain, Tingguo Cheng
From: Shazad Hussain <quic_shazhuss@quicinc.com>
Add compatible and constants for the power domains exposed by the RPMH
in the Qualcomm QCS8300 platform.
Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
include/dt-bindings/power/qcom-rpmpd.h | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 929b7ef9c1bc..be1a9cb71a9b 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -32,6 +32,7 @@ properties:
- qcom,msm8998-rpmpd
- qcom,qcm2290-rpmpd
- qcom,qcs404-rpmpd
+ - qcom,qcs8300-rpmhpd
- qcom,qdu1000-rpmhpd
- qcom,qm215-rpmpd
- qcom,sa8155p-rpmhpd
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 608087fb9a3d..7dd7b9ebc480 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -4,6 +4,25 @@
#ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H
#define _DT_BINDINGS_POWER_QCOM_RPMPD_H
+/* QCS8300 Power Domain Indexes */
+#define QCS8300_CX 0
+#define QCS8300_CX_AO 1
+#define QCS8300_DDR 2
+#define QCS8300_EBI 3
+#define QCS8300_GFX 4
+#define QCS8300_LCX 5
+#define QCS8300_LMX 6
+#define QCS8300_MMCX 7
+#define QCS8300_MMCX_AO 8
+#define QCS8300_MSS 9
+#define QCS8300_MX 10
+#define QCS8300_MX_AO 11
+#define QCS8300_MXC 12
+#define QCS8300_MXC_AO 13
+#define QCS8300_NSP0 14
+#define QCS8300_NSP1 15
+#define QCS8300_XO 16
+
/* SA8775P Power Domain Indexes */
#define SA8775P_CX 0
#define SA8775P_CX_AO 1
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains
2024-09-04 8:33 ` [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains Jingyi Wang
@ 2024-09-05 11:30 ` Konrad Dybcio
2024-09-05 11:31 ` Konrad Dybcio
0 siblings, 1 reply; 46+ messages in thread
From: Konrad Dybcio @ 2024-09-05 11:30 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Shazad Hussain, Tingguo Cheng
On 4.09.2024 10:33 AM, Jingyi Wang wrote:
> From: Shazad Hussain <quic_shazhuss@quicinc.com>
>
> Add compatible and constants for the power domains exposed by the RPMH
> in the Qualcomm QCS8300 platform.
>
> Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
> Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
> include/dt-bindings/power/qcom-rpmpd.h | 19 +++++++++++++++++++
> 2 files changed, 20 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> index 929b7ef9c1bc..be1a9cb71a9b 100644
> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
> @@ -32,6 +32,7 @@ properties:
> - qcom,msm8998-rpmpd
> - qcom,qcm2290-rpmpd
> - qcom,qcs404-rpmpd
> + - qcom,qcs8300-rpmhpd
> - qcom,qdu1000-rpmhpd
> - qcom,qm215-rpmpd
> - qcom,sa8155p-rpmhpd
> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
> index 608087fb9a3d..7dd7b9ebc480 100644
> --- a/include/dt-bindings/power/qcom-rpmpd.h
> +++ b/include/dt-bindings/power/qcom-rpmpd.h
> @@ -4,6 +4,25 @@
> #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H
> #define _DT_BINDINGS_POWER_QCOM_RPMPD_H
>
> +/* QCS8300 Power Domain Indexes */
> +#define QCS8300_CX 0
> +#define QCS8300_CX_AO 1
> +#define QCS8300_DDR 2
> +#define QCS8300_EBI 3
> +#define QCS8300_GFX 4
> +#define QCS8300_LCX 5
> +#define QCS8300_LMX 6
> +#define QCS8300_MMCX 7
> +#define QCS8300_MMCX_AO 8
> +#define QCS8300_MSS 9
> +#define QCS8300_MX 10
> +#define QCS8300_MX_AO 11
> +#define QCS8300_MXC 12
> +#define QCS8300_MXC_AO 13
> +#define QCS8300_NSP0 14
> +#define QCS8300_NSP1 15
> +#define QCS8300_XO 16
Some time ago we moved RPM*h*pd to common defines.. we should
definitely do the same here. Please reuse the RPMPD_xxx definitions
from [1] and credit Rohit in the commit message, as he did some
processing on that to make sure they're ordered based on usage
Konrad
[1] https://lore.kernel.org/all/1688647793-20950-2-git-send-email-quic_rohiagar@quicinc.com/
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains
2024-09-05 11:30 ` Konrad Dybcio
@ 2024-09-05 11:31 ` Konrad Dybcio
0 siblings, 0 replies; 46+ messages in thread
From: Konrad Dybcio @ 2024-09-05 11:31 UTC (permalink / raw)
To: Konrad Dybcio, Jingyi Wang, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bartosz Golaszewski, Vinod Koul, Kishon Vijay Abraham I,
Manivannan Sadhasivam, Alim Akhtar, Avri Altman, Bart Van Assche,
Andy Gross, Ulf Hansson, Thomas Gleixner, Will Deacon,
Robin Murphy, Joerg Roedel, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Shazad Hussain, Tingguo Cheng
On 5.09.2024 1:30 PM, Konrad Dybcio wrote:
> On 4.09.2024 10:33 AM, Jingyi Wang wrote:
>> From: Shazad Hussain <quic_shazhuss@quicinc.com>
>>
>> Add compatible and constants for the power domains exposed by the RPMH
>> in the Qualcomm QCS8300 platform.
>>
>> Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
>> Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
>> include/dt-bindings/power/qcom-rpmpd.h | 19 +++++++++++++++++++
>> 2 files changed, 20 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
>> index 929b7ef9c1bc..be1a9cb71a9b 100644
>> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
>> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
>> @@ -32,6 +32,7 @@ properties:
>> - qcom,msm8998-rpmpd
>> - qcom,qcm2290-rpmpd
>> - qcom,qcs404-rpmpd
>> + - qcom,qcs8300-rpmhpd
>> - qcom,qdu1000-rpmhpd
>> - qcom,qm215-rpmpd
>> - qcom,sa8155p-rpmhpd
>> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
>> index 608087fb9a3d..7dd7b9ebc480 100644
>> --- a/include/dt-bindings/power/qcom-rpmpd.h
>> +++ b/include/dt-bindings/power/qcom-rpmpd.h
>> @@ -4,6 +4,25 @@
>> #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H
>> #define _DT_BINDINGS_POWER_QCOM_RPMPD_H
>>
>> +/* QCS8300 Power Domain Indexes */
>> +#define QCS8300_CX 0
>> +#define QCS8300_CX_AO 1
>> +#define QCS8300_DDR 2
>> +#define QCS8300_EBI 3
>> +#define QCS8300_GFX 4
>> +#define QCS8300_LCX 5
>> +#define QCS8300_LMX 6
>> +#define QCS8300_MMCX 7
>> +#define QCS8300_MMCX_AO 8
>> +#define QCS8300_MSS 9
>> +#define QCS8300_MX 10
>> +#define QCS8300_MX_AO 11
>> +#define QCS8300_MXC 12
>> +#define QCS8300_MXC_AO 13
>> +#define QCS8300_NSP0 14
>> +#define QCS8300_NSP1 15
>> +#define QCS8300_XO 16
>
> Some time ago we moved RPM*h*pd to common defines.. we should
> definitely do the same here. Please reuse the RPMPD_xxx definitions
> from [1] and credit Rohit in the commit message, as he did some
> processing on that to make sure they're ordered based on usage
Oh no, this is actually rpmhpd... drop this patch and use RPMHPD_x
from include/dt-bindings/power/qcom,rpmhpd.h
Konrad
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 07/19] pmdomain: qcom: rpmhpd: Add QCS8300 power domains
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (5 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 08/19] dt-bindings: qcom,pdc: document QCS8300 Power Domain Controller Jingyi Wang
` (13 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Tingguo Cheng, Shazad Hussain
From: Tingguo Cheng <quic_tingguoc@quicinc.com>
Add support for the power-domains found on QCS8300 platform.
Co-developed-by: Shazad Hussain <quic_shazhuss@quicinc.com>
Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
drivers/pmdomain/qcom/rpmhpd.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
index d2cb4271a1ca..d79321b08d16 100644
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -623,7 +623,31 @@ static const struct rpmhpd_desc x1e80100_desc = {
.num_pds = ARRAY_SIZE(x1e80100_rpmhpds),
};
+/* QCS8300 RPMH power domains */
+static struct rpmhpd *qcs8300_rpmhpds[] = {
+ [QCS8300_CX] = &cx,
+ [QCS8300_CX_AO] = &cx_ao,
+ [QCS8300_EBI] = &ebi,
+ [QCS8300_GFX] = &gfx,
+ [QCS8300_LCX] = &lcx,
+ [QCS8300_LMX] = &lmx,
+ [QCS8300_MMCX] = &mmcx,
+ [QCS8300_MMCX_AO] = &mmcx_ao,
+ [QCS8300_MXC] = &mxc,
+ [QCS8300_MXC_AO] = &mxc_ao,
+ [QCS8300_MX] = &mx,
+ [QCS8300_MX_AO] = &mx_ao,
+ [QCS8300_NSP0] = &nsp0,
+ [QCS8300_NSP1] = &nsp1,
+};
+
+static const struct rpmhpd_desc qcs8300_desc = {
+ .rpmhpds = qcs8300_rpmhpds,
+ .num_pds = ARRAY_SIZE(qcs8300_rpmhpds),
+};
+
static const struct of_device_id rpmhpd_match_table[] = {
+ { .compatible = "qcom,qcs8300-rpmhpd", .data = &qcs8300_desc },
{ .compatible = "qcom,qdu1000-rpmhpd", .data = &qdu1000_desc },
{ .compatible = "qcom,sa8155p-rpmhpd", .data = &sa8155p_desc },
{ .compatible = "qcom,sa8540p-rpmhpd", .data = &sa8540p_desc },
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 08/19] dt-bindings: qcom,pdc: document QCS8300 Power Domain Controller
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (6 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 07/19] pmdomain: qcom: rpmhpd: " Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 09/19] dt-bindings: arm-smmu: Add compatible for QCS8300 SoC Jingyi Wang
` (12 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Document Power Domain Controller for QCS8300. PDC is included in QCS8300
SoC. This controller acts as an interrupt controller, enabling the
detection of interrupts when the GIC is non-operational.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
index 985fa10abb99..acd6341e9f90 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
@@ -26,6 +26,7 @@ properties:
compatible:
items:
- enum:
+ - qcom,qcs8300-pdc
- qcom,qdu1000-pdc
- qcom,sa8775p-pdc
- qcom,sc7180-pdc
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 09/19] dt-bindings: arm-smmu: Add compatible for QCS8300 SoC
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (7 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 08/19] dt-bindings: qcom,pdc: document QCS8300 Power Domain Controller Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 10/19] dt-bindings: firmware: qcom,scm: document SCM on QCS8300 SoCs Jingyi Wang
` (11 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Zhenhua Huang
From: Zhenhua Huang <quic_zhenhuah@quicinc.com>
QCS8300 SoC includes apps smmu that implements arm,mmu-500, which is used
to translate device-visible virtual addresses to physical addresses. Add
compatible for it.
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index 280b4e49f219..a848ad2a2106 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -36,6 +36,7 @@ properties:
items:
- enum:
- qcom,qcm2290-smmu-500
+ - qcom,qcs8300-smmu-500
- qcom,qdu1000-smmu-500
- qcom,sa8775p-smmu-500
- qcom,sc7180-smmu-500
@@ -552,6 +553,7 @@ allOf:
- cavium,smmu-v2
- marvell,ap806-smmu-500
- nvidia,smmu-500
+ - qcom,qcs8300-smmu-500
- qcom,qdu1000-smmu-500
- qcom,sc7180-smmu-500
- qcom,sdm670-smmu-500
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 10/19] dt-bindings: firmware: qcom,scm: document SCM on QCS8300 SoCs
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (8 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 09/19] dt-bindings: arm-smmu: Add compatible for QCS8300 SoC Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 11/19] dt-bindings: soc: qcom: add qcom,qcs8300-imem compatible Jingyi Wang
` (10 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Zhenhua Huang
From: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Document scm compatible for QCS8300 SoCs. It is an interface to
communicate to the secure firmware.
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 2cc83771d8e7..f3ab819f812f 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -42,6 +42,7 @@ properties:
- qcom,scm-msm8996
- qcom,scm-msm8998
- qcom,scm-qcm2290
+ - qcom,scm-qcs8300
- qcom,scm-qdu1000
- qcom,scm-sa8775p
- qcom,scm-sc7180
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 11/19] dt-bindings: soc: qcom: add qcom,qcs8300-imem compatible
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (9 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 10/19] dt-bindings: firmware: qcom,scm: document SCM on QCS8300 SoCs Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 12/19] dt-bindings: mailbox: qcom-ipcc: Document QCS8300 IPCC Jingyi Wang
` (9 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Document qcom,qcs8300-imem compatible. It has child node for debug
purpose.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/sram/qcom,imem.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
index faef3d6e0a94..9b06bcd01957 100644
--- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml
+++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
@@ -21,6 +21,7 @@ properties:
- qcom,msm8226-imem
- qcom,msm8974-imem
- qcom,qcs404-imem
+ - qcom,qcs8300-imem
- qcom,qdu1000-imem
- qcom,sa8775p-imem
- qcom,sc7180-imem
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 12/19] dt-bindings: mailbox: qcom-ipcc: Document QCS8300 IPCC
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (10 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 11/19] dt-bindings: soc: qcom: add qcom,qcs8300-imem compatible Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 13/19] dt-bindings: mfd: qcom,tcsr: Add compatible for QCS8300 Jingyi Wang
` (8 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Document the Inter-Processor Communication Controller on the QCS8300
Platform, which will be used to route interrupts across various subsystems
found on the SoC.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
index 05e4e1d51713..6323c3519a8a 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml
@@ -24,6 +24,7 @@ properties:
compatible:
items:
- enum:
+ - qcom,qcs8300-ipcc
- qcom,qdu1000-ipcc
- qcom,sa8775p-ipcc
- qcom,sc7280-ipcc
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 13/19] dt-bindings: mfd: qcom,tcsr: Add compatible for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (11 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 12/19] dt-bindings: mailbox: qcom-ipcc: Document QCS8300 IPCC Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 14/19] dt-bindings: nvmem: qfprom: " Jingyi Wang
` (7 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Document the qcom,qcs8300-tcsr compatible, tcsr will provide various
control and status functions for their peripherals.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index c6bd14ec5aa0..0edc7810d8ef 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -21,6 +21,7 @@ properties:
- qcom,msm8998-tcsr
- qcom,qcm2290-tcsr
- qcom,qcs404-tcsr
+ - qcom,qcs8300-tcsr
- qcom,sc7180-tcsr
- qcom,sc7280-tcsr
- qcom,sc8280xp-tcsr
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 14/19] dt-bindings: nvmem: qfprom: Add compatible for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (12 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 13/19] dt-bindings: mfd: qcom,tcsr: Add compatible for QCS8300 Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 15/19] dt-bindings: soc: qcom,aoss-qmp: Document the QCS8300 AOSS channel Jingyi Wang
` (6 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Document QFPROM compatible for QCS8300. It provides access functions for
QFPROM data to rest of the drivers via nvmem interface.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
index 80845c722ae4..fcd71f023808 100644
--- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
+++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
@@ -32,6 +32,7 @@ properties:
- qcom,msm8998-qfprom
- qcom,qcm2290-qfprom
- qcom,qcs404-qfprom
+ - qcom,qcs8300-qfprom
- qcom,sc7180-qfprom
- qcom,sc7280-qfprom
- qcom,sc8280xp-qfprom
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 15/19] dt-bindings: soc: qcom,aoss-qmp: Document the QCS8300 AOSS channel
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (13 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 14/19] dt-bindings: nvmem: qfprom: " Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 8:33 ` [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
` (5 subsequent siblings)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Kyle Deng
From: Kyle Deng <quic_chunkaid@quicinc.com>
Document the Always-On Subsystem side channel on the QCS8300 platform for
communication with client found on the SoC such as remoteprocs.
Signed-off-by: Kyle Deng <quic_chunkaid@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml
index 7afdb60edb22..6f5c2609e82a 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml
@@ -25,6 +25,7 @@ properties:
compatible:
items:
- enum:
+ - qcom,qcs8300-aoss-qmp
- qcom,qdu1000-aoss-qmp
- qcom,sa8775p-aoss-qmp
- qcom,sc7180-aoss-qmp
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (14 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 15/19] dt-bindings: soc: qcom,aoss-qmp: Document the QCS8300 AOSS channel Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 9:38 ` Krzysztof Kozlowski
2024-09-04 8:33 ` [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300 Jingyi Wang
` (4 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
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 c0529486810f..ccf9a166368f 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
@@ -895,6 +897,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 related [flat|nested] 46+ messages in thread* Re: [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-09-04 8:33 ` [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
@ 2024-09-04 9:38 ` Krzysztof Kozlowski
2024-09-05 4:42 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:38 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu
On 04/09/2024 10:33, 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 c0529486810f..ccf9a166368f 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
> @@ -895,6 +897,12 @@ properties:
> - const: qcom,qcs404-evb
> - const: qcom,qcs404
>
> + - items:
> + - enum:
> + - qcom,qcs8300-ride
> + - const: qcom,qcs8275
So the qcs8300 ride comes with non-safe SoC?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-09-04 9:38 ` Krzysztof Kozlowski
@ 2024-09-05 4:42 ` Jingyi Wang
2024-09-05 6:26 ` Krzysztof Kozlowski
0 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 4:42 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
On 9/4/2024 5:38 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, 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 c0529486810f..ccf9a166368f 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
>> @@ -895,6 +897,12 @@ properties:
>> - const: qcom,qcs404-evb
>> - const: qcom,qcs404
>>
>> + - items:
>> + - enum:
>> + - qcom,qcs8300-ride
>> + - const: qcom,qcs8275
>
> So the qcs8300 ride comes with non-safe SoC?
>
> Best regards,
> Krzysztof
>
Both QCS8275 and QCS8300 SoC can reference qcs8300 ride board. Could you
describe your suggestion in more detail?
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
2024-09-05 4:42 ` Jingyi Wang
@ 2024-09-05 6:26 ` Krzysztof Kozlowski
0 siblings, 0 replies; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-05 6:26 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
On 05/09/2024 06:42, Jingyi Wang wrote:
>
>
> On 9/4/2024 5:38 PM, Krzysztof Kozlowski wrote:
>> On 04/09/2024 10:33, 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 c0529486810f..ccf9a166368f 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
>>> @@ -895,6 +897,12 @@ properties:
>>> - const: qcom,qcs404-evb
>>> - const: qcom,qcs404
>>>
>>> + - items:
>>> + - enum:
>>> + - qcom,qcs8300-ride
>>> + - const: qcom,qcs8275
>>
>> So the qcs8300 ride comes with non-safe SoC?
>>
>> Best regards,
>> Krzysztof
>>
> Both QCS8275 and QCS8300 SoC can reference qcs8300 ride board. Could you
> describe your suggestion in more detail?
I did not suggest anything. I am confused that you claim that every
qcs8300 is using the non-safe flavor of the SoC. I am fine with this but
I want to understand it and be sure you will not change it next month
when you learn what this means.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (15 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 16/19] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 9:39 ` Krzysztof Kozlowski
2024-09-04 8:33 ` [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI Jingyi Wang
` (3 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang
Enable clock controller, interrconnect and pinctrl for QCS8300.
It needs to be built-in for UART to provide a console.
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
arch/arm64/configs/defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 81ca46e3ab4b..a9ba6b25a0ed 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
CONFIG_PINCTRL_MSM8998=y
CONFIG_PINCTRL_QCM2290=y
CONFIG_PINCTRL_QCS404=y
+CONFIG_PINCTRL_QCS8300=y
CONFIG_PINCTRL_QDF2XXX=y
CONFIG_PINCTRL_QDU1000=y
CONFIG_PINCTRL_SA8775P=y
@@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
CONFIG_QCM_GCC_2290=y
CONFIG_QCM_DISPCC_2290=m
CONFIG_QCS_GCC_404=y
+CONFIG_QCS_GCC_8300=y
CONFIG_QDU_GCC_1000=y
CONFIG_SC_CAMCC_8280XP=m
CONFIG_SC_DISPCC_7280=m
@@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
CONFIG_INTERCONNECT_QCOM_OSM_L3=m
CONFIG_INTERCONNECT_QCOM_QCM2290=y
CONFIG_INTERCONNECT_QCOM_QCS404=m
+CONFIG_INTERCONNECT_QCOM_QCS8300=y
CONFIG_INTERCONNECT_QCOM_QDU1000=y
CONFIG_INTERCONNECT_QCOM_SA8775P=y
CONFIG_INTERCONNECT_QCOM_SC7180=y
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-04 8:33 ` [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300 Jingyi Wang
@ 2024-09-04 9:39 ` Krzysztof Kozlowski
2024-09-05 4:54 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:39 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu
On 04/09/2024 10:33, Jingyi Wang wrote:
> Enable clock controller, interrconnect and pinctrl for QCS8300.
NXP QCS8300? What is QCS8300? Which products use it? That's a defconfig
for entire kernel, not your Qualcomm one.
> It needs to be built-in for UART to provide a console.
>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> arch/arm64/configs/defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 81ca46e3ab4b..a9ba6b25a0ed 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
> CONFIG_PINCTRL_MSM8998=y
> CONFIG_PINCTRL_QCM2290=y
> CONFIG_PINCTRL_QCS404=y
> +CONFIG_PINCTRL_QCS8300=y
> CONFIG_PINCTRL_QDF2XXX=y
> CONFIG_PINCTRL_QDU1000=y
> CONFIG_PINCTRL_SA8775P=y
> @@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
> CONFIG_QCM_GCC_2290=y
> CONFIG_QCM_DISPCC_2290=m
> CONFIG_QCS_GCC_404=y
> +CONFIG_QCS_GCC_8300=y
> CONFIG_QDU_GCC_1000=y
> CONFIG_SC_CAMCC_8280XP=m
> CONFIG_SC_DISPCC_7280=m
> @@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> CONFIG_INTERCONNECT_QCOM_QCM2290=y
> CONFIG_INTERCONNECT_QCOM_QCS404=m
> +CONFIG_INTERCONNECT_QCOM_QCS8300=y
Why this cannot be a module?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-04 9:39 ` Krzysztof Kozlowski
@ 2024-09-05 4:54 ` Jingyi Wang
2024-09-06 3:18 ` Dmitry Baryshkov
0 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 4:54 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Conor Dooley, Bartosz Golaszewski, Konrad Dybcio
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, Jingyi Wang wrote:
>> Enable clock controller, interrconnect and pinctrl for QCS8300.
>
> NXP QCS8300? What is QCS8300? Which products use it? That's a defconfig
> for entire kernel, not your Qualcomm one.
>
Will describe it in more detail.
>> It needs to be built-in for UART to provide a console.
>>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> arch/arm64/configs/defconfig | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>> index 81ca46e3ab4b..a9ba6b25a0ed 100644
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
>> CONFIG_PINCTRL_MSM8998=y
>> CONFIG_PINCTRL_QCM2290=y
>> CONFIG_PINCTRL_QCS404=y
>> +CONFIG_PINCTRL_QCS8300=y
>> CONFIG_PINCTRL_QDF2XXX=y
>> CONFIG_PINCTRL_QDU1000=y
>> CONFIG_PINCTRL_SA8775P=y
>> @@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
>> CONFIG_QCM_GCC_2290=y
>> CONFIG_QCM_DISPCC_2290=m
>> CONFIG_QCS_GCC_404=y
>> +CONFIG_QCS_GCC_8300=y
>> CONFIG_QDU_GCC_1000=y
>> CONFIG_SC_CAMCC_8280XP=m
>> CONFIG_SC_DISPCC_7280=m
>> @@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
>> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
>> CONFIG_INTERCONNECT_QCOM_QCM2290=y
>> CONFIG_INTERCONNECT_QCOM_QCS404=m
>> +CONFIG_INTERCONNECT_QCOM_QCS8300=y
>
> Why this cannot be a module?
>
>
I think the commit-msg "It needs to be built-in for UART to provide a console." can
explain that, could you please help to share your insights on that?
>
> Best regards,
> Krzysztof
>
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-05 4:54 ` Jingyi Wang
@ 2024-09-06 3:18 ` Dmitry Baryshkov
2024-09-06 6:15 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Dmitry Baryshkov @ 2024-09-06 3:18 UTC (permalink / raw)
To: Jingyi Wang
Cc: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Conor Dooley, Bartosz Golaszewski, Konrad Dybcio,
linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
On Thu, Sep 05, 2024 at 12:54:35PM GMT, Jingyi Wang wrote:
>
>
> On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote:
> > On 04/09/2024 10:33, Jingyi Wang wrote:
> >> Enable clock controller, interrconnect and pinctrl for QCS8300.
> >
> > NXP QCS8300? What is QCS8300? Which products use it? That's a defconfig
> > for entire kernel, not your Qualcomm one.
> >
> Will describe it in more detail.
> >> It needs to be built-in for UART to provide a console.
> >>
> >> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> >> ---
> >> arch/arm64/configs/defconfig | 3 +++
> >> 1 file changed, 3 insertions(+)
> >>
> >> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> >> index 81ca46e3ab4b..a9ba6b25a0ed 100644
> >> --- a/arch/arm64/configs/defconfig
> >> +++ b/arch/arm64/configs/defconfig
> >> @@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
> >> CONFIG_PINCTRL_MSM8998=y
> >> CONFIG_PINCTRL_QCM2290=y
> >> CONFIG_PINCTRL_QCS404=y
> >> +CONFIG_PINCTRL_QCS8300=y
> >> CONFIG_PINCTRL_QDF2XXX=y
> >> CONFIG_PINCTRL_QDU1000=y
> >> CONFIG_PINCTRL_SA8775P=y
> >> @@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
> >> CONFIG_QCM_GCC_2290=y
> >> CONFIG_QCM_DISPCC_2290=m
> >> CONFIG_QCS_GCC_404=y
> >> +CONFIG_QCS_GCC_8300=y
> >> CONFIG_QDU_GCC_1000=y
> >> CONFIG_SC_CAMCC_8280XP=m
> >> CONFIG_SC_DISPCC_7280=m
> >> @@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
> >> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> >> CONFIG_INTERCONNECT_QCOM_QCM2290=y
> >> CONFIG_INTERCONNECT_QCOM_QCS404=m
> >> +CONFIG_INTERCONNECT_QCOM_QCS8300=y
> >
> > Why this cannot be a module?
> >
> >
> I think the commit-msg "It needs to be built-in for UART to provide a console." can
> explain that, could you please help to share your insights on that?
Unless loading these modules from initramfs doesn't work, please use =m.
The drivers that are enabled here are going to be enabled for everybody
using arm64 defconfig, taking up memory on their platforms, etc.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-06 3:18 ` Dmitry Baryshkov
@ 2024-09-06 6:15 ` Jingyi Wang
2024-09-06 9:36 ` Dmitry Baryshkov
0 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-06 6:15 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Conor Dooley, Bartosz Golaszewski, Konrad Dybcio,
linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
Hi Dmitry,
On 9/6/2024 11:18 AM, Dmitry Baryshkov wrote:
> On Thu, Sep 05, 2024 at 12:54:35PM GMT, Jingyi Wang wrote:
>>
>>
>> On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote:
>>> On 04/09/2024 10:33, Jingyi Wang wrote:
>>>> Enable clock controller, interrconnect and pinctrl for QCS8300.
>>>
>>> NXP QCS8300? What is QCS8300? Which products use it? That's a defconfig
>>> for entire kernel, not your Qualcomm one.
>>>
>> Will describe it in more detail.
>>>> It needs to be built-in for UART to provide a console.
>>>>
>>>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>>>> ---
>>>> arch/arm64/configs/defconfig | 3 +++
>>>> 1 file changed, 3 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>>>> index 81ca46e3ab4b..a9ba6b25a0ed 100644
>>>> --- a/arch/arm64/configs/defconfig
>>>> +++ b/arch/arm64/configs/defconfig
>>>> @@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
>>>> CONFIG_PINCTRL_MSM8998=y
>>>> CONFIG_PINCTRL_QCM2290=y
>>>> CONFIG_PINCTRL_QCS404=y
>>>> +CONFIG_PINCTRL_QCS8300=y
>>>> CONFIG_PINCTRL_QDF2XXX=y
>>>> CONFIG_PINCTRL_QDU1000=y
>>>> CONFIG_PINCTRL_SA8775P=y
>>>> @@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
>>>> CONFIG_QCM_GCC_2290=y
>>>> CONFIG_QCM_DISPCC_2290=m
>>>> CONFIG_QCS_GCC_404=y
>>>> +CONFIG_QCS_GCC_8300=y
>>>> CONFIG_QDU_GCC_1000=y
>>>> CONFIG_SC_CAMCC_8280XP=m
>>>> CONFIG_SC_DISPCC_7280=m
>>>> @@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
>>>> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
>>>> CONFIG_INTERCONNECT_QCOM_QCM2290=y
>>>> CONFIG_INTERCONNECT_QCOM_QCS404=m
>>>> +CONFIG_INTERCONNECT_QCOM_QCS8300=y
>>>
>>> Why this cannot be a module?
>>>
>>>
>> I think the commit-msg "It needs to be built-in for UART to provide a console." can
>> explain that, could you please help to share your insights on that?
>
> Unless loading these modules from initramfs doesn't work, please use =m.
> The drivers that are enabled here are going to be enabled for everybody
> using arm64 defconfig, taking up memory on their platforms, etc.
>
We had previous discussion here about why these drivers needs to be built-in to support
debug-uart:
https://lore.kernel.org/linux-arm-msm/c11fd3c2-770a-4d40-8cf3-d8bc81f7c480@kernel.org/
I will mention more details in the commit message of this patch.
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
2024-09-06 6:15 ` Jingyi Wang
@ 2024-09-06 9:36 ` Dmitry Baryshkov
0 siblings, 0 replies; 46+ messages in thread
From: Dmitry Baryshkov @ 2024-09-06 9:36 UTC (permalink / raw)
To: Jingyi Wang
Cc: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Conor Dooley, Bartosz Golaszewski, Konrad Dybcio,
linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel
On Fri, 6 Sept 2024 at 09:15, Jingyi Wang <quic_jingyw@quicinc.com> wrote:
>
> Hi Dmitry,
>
> On 9/6/2024 11:18 AM, Dmitry Baryshkov wrote:
> > On Thu, Sep 05, 2024 at 12:54:35PM GMT, Jingyi Wang wrote:
> >>
> >>
> >> On 9/4/2024 5:39 PM, Krzysztof Kozlowski wrote:
> >>> On 04/09/2024 10:33, Jingyi Wang wrote:
> >>>> Enable clock controller, interrconnect and pinctrl for QCS8300.
> >>>
> >>> NXP QCS8300? What is QCS8300? Which products use it? That's a defconfig
> >>> for entire kernel, not your Qualcomm one.
> >>>
> >> Will describe it in more detail.
> >>>> It needs to be built-in for UART to provide a console.
> >>>>
> >>>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> >>>> ---
> >>>> arch/arm64/configs/defconfig | 3 +++
> >>>> 1 file changed, 3 insertions(+)
> >>>>
> >>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> >>>> index 81ca46e3ab4b..a9ba6b25a0ed 100644
> >>>> --- a/arch/arm64/configs/defconfig
> >>>> +++ b/arch/arm64/configs/defconfig
> >>>> @@ -606,6 +606,7 @@ CONFIG_PINCTRL_MSM8996=y
> >>>> CONFIG_PINCTRL_MSM8998=y
> >>>> CONFIG_PINCTRL_QCM2290=y
> >>>> CONFIG_PINCTRL_QCS404=y
> >>>> +CONFIG_PINCTRL_QCS8300=y
> >>>> CONFIG_PINCTRL_QDF2XXX=y
> >>>> CONFIG_PINCTRL_QDU1000=y
> >>>> CONFIG_PINCTRL_SA8775P=y
> >>>> @@ -1317,6 +1318,7 @@ CONFIG_MSM_MMCC_8998=m
> >>>> CONFIG_QCM_GCC_2290=y
> >>>> CONFIG_QCM_DISPCC_2290=m
> >>>> CONFIG_QCS_GCC_404=y
> >>>> +CONFIG_QCS_GCC_8300=y
> >>>> CONFIG_QDU_GCC_1000=y
> >>>> CONFIG_SC_CAMCC_8280XP=m
> >>>> CONFIG_SC_DISPCC_7280=m
> >>>> @@ -1618,6 +1620,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8996=y
> >>>> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> >>>> CONFIG_INTERCONNECT_QCOM_QCM2290=y
> >>>> CONFIG_INTERCONNECT_QCOM_QCS404=m
> >>>> +CONFIG_INTERCONNECT_QCOM_QCS8300=y
> >>>
> >>> Why this cannot be a module?
> >>>
> >>>
> >> I think the commit-msg "It needs to be built-in for UART to provide a console." can
> >> explain that, could you please help to share your insights on that?
> >
> > Unless loading these modules from initramfs doesn't work, please use =m.
> > The drivers that are enabled here are going to be enabled for everybody
> > using arm64 defconfig, taking up memory on their platforms, etc.
> >
> We had previous discussion here about why these drivers needs to be built-in to support
> debug-uart:
> https://lore.kernel.org/linux-arm-msm/c11fd3c2-770a-4d40-8cf3-d8bc81f7c480@kernel.org/
> I will mention more details in the commit message of this patch.
Yes, please. Explicitly mention that this is required to get UART to work.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (16 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 17/19] arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300 Jingyi Wang
@ 2024-09-04 8:33 ` Jingyi Wang
2024-09-04 9:41 ` Krzysztof Kozlowski
2024-09-04 8:34 ` [PATCH 19/19] arm64: dts: qcom: add base QCS8300 RIDE dts Jingyi Wang
` (2 subsequent siblings)
20 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:33 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Zhenhua Huang, Xin Liu, Kyle Deng, Tingguo Cheng,
Raviteja Laggyshetty
Add initial DTSI for QCS8300 SoC.
This revision brings support for:
- CPUs with cpu idle
- interrupt-controller with PDC wakeup support
- gcc
- TLMM
- interconnect
- qup with uart
- smmu
- pmic
- ufs
- ipcc
- sram
- remoteprocs including ADSP,CDSP and GPDSP
[Zhenhua: added the smmu node]
Co-developed-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
[Xin: added ufs/adsp/gpdsp nodes]
Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
[Kyle: added the aoss_qmp node]
Co-developed-by: Kyle Deng <quic_chunkaid@quicinc.com>
Signed-off-by: Kyle Deng <quic_chunkaid@quicinc.com>
[Tingguo: added the pmic nodes]
Co-developed-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
[Raviteja: added interconnect nodes]
Co-developed-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 1282 +++++++++++++++++++++++++++++++++
1 file changed, 1282 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
new file mode 100644
index 000000000000..244fa8bf97d9
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -0,0 +1,1282 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+#include <dt-bindings/clock/qcom,qcs8300-gcc.h>
+#include <dt-bindings/clock/qcom,rpmh.h>
+#include <dt-bindings/interconnect/qcom,icc.h>
+#include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/mailbox/qcom-ipcc.h>
+#include <dt-bindings/power/qcom,rpmhpd.h>
+#include <dt-bindings/power/qcom-rpmpd.h>
+#include <dt-bindings/soc/qcom,rpmh-rsc.h>
+
+/ {
+ interrupt-parent = <&intc>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ clocks {
+ sleep_clk: sleep-clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32000>;
+ };
+ };
+
+ cpus {
+ #address-cells = <2>;
+ #size-cells = <0>;
+
+ cpu0: cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a78c";
+ reg = <0x0 0x0>;
+ enable-method = "psci";
+ next-level-cache = <&l2_0>;
+ power-domains = <&cpu_pd0>;
+ power-domain-names = "psci";
+
+ l2_0: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+
+ l3_0: l3-cache {
+ compatible = "cache";
+ cache-level = <3>;
+ cache-unified;
+ };
+ };
+ };
+
+ cpu1: cpu@100 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a78c";
+ reg = <0x0 0x100>;
+ enable-method = "psci";
+ next-level-cache = <&l2_1>;
+ power-domains = <&cpu_pd1>;
+ power-domain-names = "psci";
+
+ l2_1: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+
+ cpu2: cpu@200 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a78c";
+ reg = <0x0 0x200>;
+ enable-method = "psci";
+ next-level-cache = <&l2_2>;
+ power-domains = <&cpu_pd2>;
+ power-domain-names = "psci";
+
+ l2_2: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+
+ cpu3: cpu@300 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a78c";
+ reg = <0x0 0x300>;
+ enable-method = "psci";
+ next-level-cache = <&l2_3>;
+ power-domains = <&cpu_pd3>;
+ power-domain-names = "psci";
+
+ l2_3: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_0>;
+ };
+ };
+
+ cpu4: cpu@10000 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a55";
+ reg = <0x0 0x10000>;
+ enable-method = "psci";
+ next-level-cache = <&l2_4>;
+ power-domains = <&cpu_pd4>;
+ power-domain-names = "psci";
+
+ l2_4: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_1>;
+
+ l3_1: l3-cache {
+ compatible = "cache";
+ cache-level = <3>;
+ cache-unified;
+ };
+ };
+ };
+
+ cpu5: cpu@10100 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a55";
+ reg = <0x0 0x10100>;
+ enable-method = "psci";
+ next-level-cache = <&l2_5>;
+ power-domains = <&cpu_pd5>;
+ power-domain-names = "psci";
+
+ l2_5: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_1>;
+ };
+ };
+
+ cpu6: cpu@10200 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a55";
+ reg = <0x0 0x10200>;
+ enable-method = "psci";
+ next-level-cache = <&l2_6>;
+ power-domains = <&cpu_pd6>;
+ power-domain-names = "psci";
+
+ l2_6: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_1>;
+ };
+ };
+
+ cpu7: cpu@10300 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a55";
+ reg = <0x0 0x10300>;
+ enable-method = "psci";
+ next-level-cache = <&l2_7>;
+ power-domains = <&cpu_pd7>;
+ power-domain-names = "psci";
+
+ l2_7: l2-cache {
+ compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
+ next-level-cache = <&l3_1>;
+ };
+ };
+
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&cpu0>;
+ };
+
+ core1 {
+ cpu = <&cpu1>;
+ };
+ };
+
+ cluster1 {
+ core0 {
+ cpu = <&cpu2>;
+ };
+
+ core1 {
+ cpu = <&cpu3>;
+ };
+ };
+
+ cluster2 {
+ core0 {
+ cpu = <&cpu4>;
+ };
+
+ core1 {
+ cpu = <&cpu5>;
+ };
+
+ core2 {
+ cpu = <&cpu6>;
+ };
+
+ core3 {
+ cpu = <&cpu7>;
+ };
+ };
+ };
+
+ idle-states {
+ entry-method = "psci";
+
+ little_cpu_sleep_0: cpu-sleep-0-0 {
+ compatible = "arm,idle-state";
+ idle-state-name = "silver-power-collapse";
+ arm,psci-suspend-param = <0x40000003>;
+ entry-latency-us = <449>;
+ exit-latency-us = <801>;
+ min-residency-us = <1574>;
+ local-timer-stop;
+ };
+
+ little_cpu_sleep_1: cpu-sleep-0-1 {
+ compatible = "arm,idle-state";
+ idle-state-name = "silver-rail-power-collapse";
+ arm,psci-suspend-param = <0x40000004>;
+ entry-latency-us = <602>;
+ exit-latency-us = <961>;
+ min-residency-us = <4288>;
+ local-timer-stop;
+ };
+
+ big_cpu_sleep_0: cpu-sleep-1-0 {
+ compatible = "arm,idle-state";
+ idle-state-name = "gold-power-collapse";
+ arm,psci-suspend-param = <0x40000003>;
+ entry-latency-us = <549>;
+ exit-latency-us = <901>;
+ min-residency-us = <1774>;
+ local-timer-stop;
+ };
+
+ big_cpu_sleep_1: cpu-sleep-1-1 {
+ compatible = "arm,idle-state";
+ idle-state-name = "gold-rail-power-collapse";
+ arm,psci-suspend-param = <0x40000004>;
+ entry-latency-us = <702>;
+ exit-latency-us = <1061>;
+ min-residency-us = <4488>;
+ local-timer-stop;
+ };
+ };
+
+ domain-idle-states {
+ silver_cluster_sleep: cluster-sleep-0 {
+ compatible = "domain-idle-state";
+ arm,psci-suspend-param = <0x41000044>;
+ entry-latency-us = <2552>;
+ exit-latency-us = <2848>;
+ min-residency-us = <5908>;
+ };
+
+ gold_cluster_sleep: cluster-sleep-1 {
+ compatible = "domain-idle-state";
+ arm,psci-suspend-param = <0x41000044>;
+ entry-latency-us = <2752>;
+ exit-latency-us = <3048>;
+ min-residency-us = <6118>;
+ };
+
+ system_sleep: domain-sleep {
+ compatible = "domain-idle-state";
+ arm,psci-suspend-param = <0x42000144>;
+ entry-latency-us = <3263>;
+ exit-latency-us = <6562>;
+ min-residency-us = <9987>;
+ };
+ };
+ };
+
+ firmware {
+ scm: scm {
+ compatible = "qcom,scm-qcs8300", "qcom,scm";
+ qcom,dload-mode = <&tcsr 0x13000>;
+ };
+ };
+
+ memory@80000000 {
+ device_type = "memory";
+ /* We expect the bootloader to fill in the size */
+ reg = <0x0 0x80000000 0x0 0x0>;
+ };
+
+ clk_virt: interconnect-0 {
+ compatible = "qcom,qcs8300-clk-virt";
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ mc_virt: interconnect-1 {
+ compatible = "qcom,qcs8300-mc-virt";
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ psci {
+ compatible = "arm,psci-1.0";
+ method = "smc";
+
+ cpu_pd0: power-domain-cpu0 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd0>;
+ domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>;
+ };
+
+ cpu_pd1: power-domain-cpu1 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd0>;
+ domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>;
+ };
+
+ cpu_pd2: power-domain-cpu2 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd0>;
+ domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>;
+ };
+
+ cpu_pd3: power-domain-cpu3 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd0>;
+ domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>;
+ };
+
+ cpu_pd4: power-domain-cpu4 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd1>;
+ domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>;
+ };
+
+ cpu_pd5: power-domain-cpu5 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd1>;
+ domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>;
+ };
+
+ cpu_pd6: power-domain-cpu6 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd1>;
+ domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>;
+ };
+
+ cpu_pd7: power-domain-cpu7 {
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd1>;
+ domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>;
+ };
+
+ cluster_pd0: power-domain-cluster0 {
+ #power-domain-cells = <0>;
+ power-domains = <&system_pd>;
+ domain-idle-states = <&gold_cluster_sleep>;
+ };
+
+ cluster_pd1: power-domain-cluster1 {
+ #power-domain-cells = <0>;
+ power-domains = <&system_pd>;
+ domain-idle-states = <&silver_cluster_sleep>;
+ };
+
+ system_pd: power-domain-system {
+ #power-domain-cells = <0>;
+ domain-idle-states = <&system_sleep>;
+ };
+ };
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ aop_image_mem: aop-image-region@90800000 {
+ reg = <0x0 0x90800000 0x0 0x60000>;
+ no-map;
+ };
+
+ aop_cmd_db_mem: aop-cmd-db-region@90860000 {
+ compatible = "qcom,cmd-db";
+ reg = <0x0 0x90860000 0x0 0x20000>;
+ no-map;
+ };
+
+ smem_mem: smem@90900000 {
+ compatible = "qcom,smem";
+ reg = <0x0 0x90900000 0x0 0x200000>;
+ no-map;
+ hwlocks = <&tcsr_mutex 3>;
+ };
+
+ lpass_machine_learning_mem: lpass-machine-learning-region@93b00000 {
+ reg = <0x0 0x93b00000 0x0 0xf00000>;
+ no-map;
+ };
+
+ adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap-region@94a00000 {
+ reg = <0x0 0x94a00000 0x0 0x800000>;
+ no-map;
+ };
+
+ camera_mem: camera-region@95200000 {
+ reg = <0x0 0x95200000 0x0 0x500000>;
+ no-map;
+ };
+
+ adsp_mem: adsp-region@95c00000 {
+ no-map;
+ reg = <0x0 0x95c00000 0x0 0x1e00000>;
+ };
+
+ q6_adsp_dtb_mem: q6-adsp-dtb-region@97a00000 {
+ reg = <0x0 0x97a00000 0x0 0x80000>;
+ no-map;
+ };
+
+ q6_gpdsp_dtb_mem: q6-gpdsp-dtb-region@97a80000 {
+ reg = <0x0 0x97a80000 0x0 0x80000>;
+ no-map;
+ };
+
+ gpdsp_mem: gpdsp-region@97b00000 {
+ reg = <0x0 0x97b00000 0x0 0x1e00000>;
+ no-map;
+ };
+
+ q6_cdsp_dtb_mem: q6-cdsp-dtb-region@99900000 {
+ reg = <0x0 0x99900000 0x0 0x80000>;
+ no-map;
+ };
+
+ cdsp_mem: cdsp-region@99980000 {
+ reg = <0x0 0x99980000 0x0 0x1e00000>;
+ no-map;
+ };
+
+ gpu_microcode_mem: gpu-microcode-region@9b780000 {
+ reg = <0x0 0x9b780000 0x0 0x2000>;
+ no-map;
+ };
+
+ cvp_mem: cvp-region@9b782000 {
+ reg = <0x0 0x9b782000 0x0 0x700000>;
+ no-map;
+ };
+
+ video_mem: video-region@9be82000 {
+ reg = <0x0 0x9be82000 0x0 0x700000>;
+ no-map;
+ };
+ };
+
+ smp2p-adsp {
+ compatible = "qcom,smp2p";
+ interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
+ IPCC_MPROC_SIGNAL_SMP2P
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_LPASS
+ IPCC_MPROC_SIGNAL_SMP2P>;
+
+ qcom,smem = <443>, <429>;
+ qcom,local-pid = <0>;
+ qcom,remote-pid = <2>;
+
+ smp2p_adsp_out: master-kernel {
+ qcom,entry-name = "master-kernel";
+ #qcom,smem-state-cells = <1>;
+ };
+
+ smp2p_adsp_in: slave-kernel {
+ qcom,entry-name = "slave-kernel";
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
+
+ smp2p-cdsp {
+ compatible = "qcom,smp2p";
+ interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
+ IPCC_MPROC_SIGNAL_SMP2P
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_CDSP
+ IPCC_MPROC_SIGNAL_SMP2P>;
+
+ qcom,smem = <94>, <432>;
+ qcom,local-pid = <0>;
+ qcom,remote-pid = <5>;
+
+ smp2p_cdsp_out: master-kernel {
+ qcom,entry-name = "master-kernel";
+ #qcom,smem-state-cells = <1>;
+ };
+
+ smp2p_cdsp_in: slave-kernel {
+ qcom,entry-name = "slave-kernel";
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
+
+ smp2p-gpdsp {
+ compatible = "qcom,smp2p";
+ interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0
+ IPCC_MPROC_SIGNAL_SMP2P
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_GPDSP0
+ IPCC_MPROC_SIGNAL_SMP2P>;
+
+ qcom,smem = <617>, <616>;
+ qcom,local-pid = <0>;
+ qcom,remote-pid = <17>;
+
+ smp2p_gpdsp_out: master-kernel {
+ qcom,entry-name = "master-kernel";
+ #qcom,smem-state-cells = <1>;
+ };
+
+ smp2p_gpdsp_in: slave-kernel {
+ qcom,entry-name = "slave-kernel";
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
+
+ soc: soc@0 {
+ compatible = "simple-bus";
+
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges = <0 0 0 0 0x10 0>;
+
+ gcc: clock-controller@100000 {
+ compatible = "qcom,qcs8300-gcc";
+ reg = <0x0 0x00100000 0x0 0xc7018>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ #power-domain-cells = <1>;
+ clocks = <&rpmhcc RPMH_CXO_CLK>,
+ <&sleep_clk>,
+ <0>,
+ <0>,
+ <0>,
+ <0>,
+ <0>,
+ <0>,
+ <0>,
+ <0>;
+ };
+
+ ipcc: mailbox@408000 {
+ compatible = "qcom,qcs8300-ipcc", "qcom,ipcc";
+ reg = <0x0 0x408000 0x0 0x1000>;
+ interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ #mbox-cells = <2>;
+ };
+
+ qfprom: efuse@784000 {
+ compatible = "qcom,qcs8300-qfprom", "qcom,qfprom";
+ reg = <0x0 0x00784000 0x0 0x1200>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
+ qupv3_id_0: geniqup@9c0000 {
+ compatible = "qcom,geni-se-qup";
+ reg = <0x0 0x9c0000 0x0 0x2000>;
+ ranges;
+ clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
+ <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
+ clock-names = "m-ahb", "s-ahb";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ status = "disabled";
+
+ uart7: serial@99c000 {
+ compatible = "qcom,geni-debug-uart";
+ reg = <0x0 0x0099c000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
+ clock-names = "se";
+ pinctrl-names = "default";
+ pinctrl-0 = <&qup_uart7_default>;
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+ interconnect-names = "qup-core", "qup-config";
+ interconnects = <&clk_virt MASTER_QUP_CORE_0 0
+ &clk_virt SLAVE_QUP_CORE_0 0>,
+ <&gem_noc MASTER_APPSS_PROC 0
+ &config_noc SLAVE_QUP_0 0>;
+ status = "disabled";
+ };
+ };
+
+ config_noc: interconnect@14c0000 {
+ compatible = "qcom,qcs8300-config-noc";
+ reg = <0x0 0x014c0000 0x0 0x13080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ system_noc: interconnect@1680000 {
+ compatible = "qcom,qcs8300-system-noc";
+ reg = <0x0 0x01680000 0x0 0x15080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ aggre1_noc: interconnect@16c0000 {
+ compatible = "qcom,qcs8300-aggre1-noc";
+ reg = <0x0 0x016c0000 0x0 0x17080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ aggre2_noc: interconnect@1700000 {
+ compatible = "qcom,qcs8300-aggre2-noc";
+ reg = <0x0 0x01700000 0x0 0x1a080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ pcie_anoc: interconnect@1760000 {
+ compatible = "qcom,qcs8300-pcie-anoc";
+ reg = <0x0 0x01760000 0x0 0xc080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ gpdsp_anoc: interconnect@1780000 {
+ compatible = "qcom,qcs8300-gpdsp-anoc";
+ reg = <0x0 0x01780000 0x0 0xd080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ mmss_noc: interconnect@17a0000 {
+ compatible = "qcom,qcs8300-mmss-noc";
+ reg = <0x0 0x017a0000 0x0 0x40000>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ ufs_mem_hc: ufs@1d84000 {
+ compatible = "qcom,qcs8300-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
+ reg = <0x0 0x01d84000 0x0 0x3000>;
+ interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&ufs_mem_phy>;
+ phy-names = "ufsphy";
+ lanes-per-direction = <2>;
+ #reset-cells = <1>;
+ resets = <&gcc GCC_UFS_PHY_BCR>;
+ reset-names = "rst";
+
+ power-domains = <&gcc GCC_UFS_PHY_GDSC>;
+ required-opps = <&rpmhpd_opp_nom>;
+
+ iommus = <&apps_smmu 0x100 0x0>;
+ dma-coherent;
+
+ interconnects = <&aggre1_noc MASTER_UFS_MEM 0
+ &mc_virt SLAVE_EBI1 0>,
+ <&gem_noc MASTER_APPSS_PROC 0
+ &config_noc SLAVE_UFS_MEM_CFG 0>;
+ interconnect-names = "ufs-ddr", "cpu-ufs";
+
+ clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
+ <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
+ <&gcc GCC_UFS_PHY_AHB_CLK>,
+ <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
+ <&rpmhcc RPMH_CXO_CLK>,
+ <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
+ <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
+ <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
+ clock-names = "core_clk",
+ "bus_aggr_clk",
+ "iface_clk",
+ "core_clk_unipro",
+ "ref_clk",
+ "tx_lane0_sync_clk",
+ "rx_lane0_sync_clk",
+ "rx_lane1_sync_clk";
+ freq-table-hz = <75000000 300000000>,
+ <0 0>,
+ <0 0>,
+ <75000000 300000000>,
+ <0 0>,
+ <0 0>,
+ <0 0>,
+ <0 0>;
+ status = "disabled";
+ };
+
+ ufs_mem_phy: phy@1d87000 {
+ compatible = "qcom,qcs8300-qmp-ufs-phy";
+ reg = <0x0 0x01d87000 0x0 0xe10>;
+ /*
+ * Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It
+ * enables the CXO clock to eDP *and* UFS PHY.
+ */
+ clocks = <&rpmhcc RPMH_CXO_CLK>,
+ <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
+ <&gcc GCC_EDP_REF_CLKREF_EN>;
+ clock-names = "ref", "ref_aux", "qref";
+ power-domains = <&gcc GCC_UFS_PHY_GDSC>;
+
+ resets = <&ufs_mem_hc 0>;
+ reset-names = "ufsphy";
+
+ #phy-cells = <0>;
+ status = "disabled";
+ };
+
+ tcsr_mutex: hwlock@1f40000 {
+ compatible = "qcom,tcsr-mutex";
+ reg = <0x0 0x01f40000 0x0 0x20000>;
+ #hwlock-cells = <1>;
+ };
+
+ tcsr: syscon@1fc0000 {
+ compatible = "qcom,qcs8300-tcsr", "syscon";
+ reg = <0x0 0x1fc0000 0x0 0x30000>;
+ };
+
+ remoteproc_adsp: remoteproc@3000000 {
+ compatible = "qcom,qcs8300-adsp-pas";
+ reg = <0x0 0x3000000 0x0 0x00100>;
+
+ interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "wdog", "fatal", "ready",
+ "handover", "stop-ack";
+
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "xo";
+
+ power-domains = <&rpmhpd RPMHPD_LCX>,
+ <&rpmhpd RPMHPD_LMX>;
+ power-domain-names = "lcx", "lmx";
+
+ memory-region = <&adsp_mem>;
+
+ qcom,qmp = <&aoss_qmp>;
+
+ qcom,smem-states = <&smp2p_adsp_out 0>;
+ qcom,smem-state-names = "stop";
+
+ status = "disabled";
+
+ remoteproc_adsp_glink: glink-edge {
+ interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
+ IPCC_MPROC_SIGNAL_GLINK_QMP
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_LPASS
+ IPCC_MPROC_SIGNAL_GLINK_QMP>;
+
+ label = "lpass";
+ qcom,remote-pid = <2>;
+ };
+ };
+
+ lpass_ag_noc: interconnect@3c40000 {
+ compatible = "qcom,qcs8300-lpass-ag-noc";
+ reg = <0x0 0x03c40000 0x0 0x17200>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ dc_noc: interconnect@90e0000 {
+ compatible = "qcom,qcs8300-dc-noc";
+ reg = <0x0 0x090e0000 0x0 0x5080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ gem_noc: interconnect@9100000 {
+ compatible = "qcom,qcs8300-gem-noc";
+ reg = <0x0 0x9100000 0x0 0xf7080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ pdc: interrupt-controller@b220000 {
+ compatible = "qcom,qcs8300-pdc", "qcom,pdc";
+ reg = <0x0 0xb220000 0x0 0x30000>,
+ <0x0 0x17c000f0 0x0 0x64>;
+ interrupt-parent = <&intc>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
+ qcom,pdc-ranges = <0 480 40>,
+ <40 140 14>,
+ <54 263 1>,
+ <55 306 4>,
+ <59 312 3>,
+ <62 374 2>,
+ <64 434 2>,
+ <66 438 2>,
+ <70 520 1>,
+ <73 523 1>,
+ <118 568 6>,
+ <124 609 3>,
+ <159 638 1>,
+ <160 720 3>,
+ <169 728 30>,
+ <199 416 2>,
+ <201 449 1>,
+ <202 89 1>,
+ <203 451 1>,
+ <204 462 1>,
+ <205 264 1>,
+ <206 579 1>,
+ <207 653 1>,
+ <208 656 1>,
+ <209 659 1>,
+ <210 122 1>,
+ <211 699 1>,
+ <212 705 1>,
+ <213 450 1>,
+ <214 643 2>,
+ <216 646 5>,
+ <221 390 5>,
+ <226 700 2>,
+ <228 440 1>,
+ <229 663 1>,
+ <230 524 2>,
+ <232 612 3>,
+ <235 723 5>;
+ };
+
+ aoss_qmp: power-management@c300000 {
+ compatible = "qcom,qcs8300-aoss-qmp", "qcom,aoss-qmp";
+ reg = <0x0 0x0c300000 0x0 0x400>;
+ interrupts-extended = <&ipcc IPCC_CLIENT_AOP
+ IPCC_MPROC_SIGNAL_GLINK_QMP
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
+ #clock-cells = <0>;
+ };
+
+ tlmm: pinctrl@f100000 {
+ compatible = "qcom,qcs8300-tlmm";
+ reg = <0x0 0x0f100000 0x0 0x300000>;
+ interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&tlmm 0 0 133>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ wakeup-parent = <&pdc>;
+
+ qup_uart7_default: qup-uart7-state {
+ /* TX, RX */
+ pins = "gpio43", "gpio44";
+ function = "qup0_se7";
+ };
+ };
+
+ sram: sram@146d8000 {
+ compatible = "qcom,qcs8300-imem", "syscon", "simple-mfd";
+ reg = <0x0 0x146d8000 0x0 0x1000>;
+ ranges = <0x0 0x0 0x146d8000 0x1000>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ pil-reloc@94c {
+ compatible = "qcom,pil-reloc-info";
+ reg = <0x94c 0xc8>;
+ };
+ };
+
+ apps_smmu: iommu@15000000 {
+ compatible = "qcom,qcs8300-smmu-500", "qcom,smmu-500", "arm,mmu-500";
+
+ reg = <0x0 0x15000000 0x0 0x100000>;
+ #iommu-cells = <2>;
+ #global-interrupts = <2>;
+ dma-coherent;
+
+ interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 708 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 709 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 710 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 713 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 714 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 715 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 912 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 911 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 910 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 909 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 908 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 907 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 906 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 905 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 904 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 903 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 902 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 901 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 900 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 899 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 898 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 895 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ intc: interrupt-controller@17a00000 {
+ compatible = "arm,gic-v3";
+ reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */
+ <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */
+ interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ #interrupt-cells = <3>;
+ interrupt-controller;
+ #redistributor-regions = <1>;
+ redistributor-stride = <0x0 0x20000>;
+ };
+
+ memtimer: timer@17c20000 {
+ compatible = "arm,armv7-timer-mem";
+ reg = <0x0 0x17c20000 0x0 0x1000>;
+ ranges = <0x0 0x0 0x0 0x20000000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ frame@17c21000 {
+ reg = <0x17c21000 0x1000>,
+ <0x17c22000 0x1000>;
+ frame-number = <0>;
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ frame@17c23000 {
+ reg = <0x17c23000 0x1000>;
+ frame-number = <1>;
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ frame@17c25000 {
+ reg = <0x17c25000 0x1000>;
+ frame-number = <2>;
+ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ frame@17c27000 {
+ reg = <0x17c27000 0x1000>;
+ frame-number = <3>;
+ interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ frame@17c29000 {
+ reg = <0x17c29000 0x1000>;
+ frame-number = <4>;
+ interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ frame@17c2b000 {
+ reg = <0x17c2b000 0x1000>;
+ frame-number = <5>;
+ interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ frame@17c2d000 {
+ reg = <0x17c2d000 0x1000>;
+ frame-number = <6>;
+ interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+ };
+
+ apps_rsc: rsc@18200000 {
+ compatible = "qcom,rpmh-rsc";
+ reg = <0x0 0x18200000 0x0 0x10000>,
+ <0x0 0x18210000 0x0 0x10000>,
+ <0x0 0x18220000 0x0 0x10000>;
+ reg-names = "drv-0", "drv-1", "drv-2";
+ interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
+
+ power-domains = <&system_pd>;
+ label = "apps_rsc";
+
+ qcom,tcs-offset = <0xd00>;
+ qcom,drv-id = <2>;
+ qcom,tcs-config = <ACTIVE_TCS 2>,
+ <SLEEP_TCS 3>,
+ <WAKE_TCS 3>,
+ <CONTROL_TCS 0>;
+
+ apps_bcm_voter: bcm-voter {
+ compatible = "qcom,bcm-voter";
+ };
+
+ rpmhcc: clock-controller {
+ compatible = "qcom,sa8775p-rpmh-clk";
+ #clock-cells = <1>;
+ };
+
+ rpmhpd: power-controller {
+ compatible = "qcom,qcs8300-rpmhpd";
+ #power-domain-cells = <1>;
+ operating-points-v2 = <&rpmhpd_opp_table>;
+
+ rpmhpd_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ rpmhpd_opp_ret: opp-0 {
+ opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
+ };
+
+ rpmhpd_opp_min_svs: opp-1 {
+ opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
+ };
+
+ rpmhpd_opp_low_svs: opp-2 {
+ opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
+ };
+
+ rpmhpd_opp_svs: opp-3 {
+ opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
+ };
+
+ rpmhpd_opp_svs_l1: opp-4 {
+ opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
+ };
+
+ rpmhpd_opp_nom: opp-5 {
+ opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
+ };
+
+ rpmhpd_opp_nom_l1: opp-6 {
+ opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
+ };
+
+ rpmhpd_opp_nom_l2: opp-7 {
+ opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
+ };
+
+ rpmhpd_opp_turbo: opp-8 {
+ opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
+ };
+
+ rpmhpd_opp_turbo_l1: opp-9 {
+ opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
+ };
+ };
+ };
+ };
+
+ remoteproc_gpdsp: remoteproc@20c00000 {
+ compatible = "qcom,qcs8300-gpdsp-pas";
+ reg = <0x0 0x20c00000 0x0 0x10000>;
+
+ interrupts-extended = <&intc GIC_SPI 768 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_gpdsp_in 0 0>,
+ <&smp2p_gpdsp_in 1 0>,
+ <&smp2p_gpdsp_in 2 0>,
+ <&smp2p_gpdsp_in 3 0>;
+ interrupt-names = "wdog", "fatal", "ready",
+ "handover", "stop-ack";
+
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "xo";
+
+ power-domains = <&rpmhpd RPMHPD_CX>,
+ <&rpmhpd RPMHPD_MXC>;
+ power-domain-names = "cx", "mxc";
+
+ interconnects = <&gpdsp_anoc MASTER_DSP0 0 &config_noc SLAVE_CLK_CTL 0>;
+
+ memory-region = <&gpdsp_mem>;
+
+ qcom,qmp = <&aoss_qmp>;
+
+ qcom,smem-states = <&smp2p_gpdsp_out 0>;
+ qcom,smem-state-names = "stop";
+
+ status = "disabled";
+
+ glink-edge {
+ interrupts-extended = <&ipcc IPCC_CLIENT_GPDSP0
+ IPCC_MPROC_SIGNAL_GLINK_QMP
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_GPDSP0
+ IPCC_MPROC_SIGNAL_GLINK_QMP>;
+
+ label = "gpdsp";
+ qcom,remote-pid = <17>;
+ };
+ };
+
+ nspa_noc: interconnect@260c0000 {
+ compatible = "qcom,qcs8300-nspa-noc";
+ reg = <0x0 0x260c0000 0x0 0x16080>;
+ #interconnect-cells = <2>;
+ qcom,bcm-voters = <&apps_bcm_voter>;
+ };
+
+ remoteproc_cdsp: remoteproc@26300000 {
+ compatible = "qcom,qcs8300-cdsp-pas";
+ reg = <0x0 0x26300000 0x0 0x10000>;
+
+ interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "wdog", "fatal", "ready",
+ "handover", "stop-ack";
+
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "xo";
+
+ power-domains = <&rpmhpd RPMHPD_CX>,
+ <&rpmhpd RPMHPD_MXC>,
+ <&rpmhpd RPMHPD_NSP0>;
+
+ power-domain-names = "cx", "mxc", "nsp";
+
+ interconnects = <&nspa_noc MASTER_CDSP_PROC 0 &mc_virt SLAVE_EBI1 0>;
+
+ memory-region = <&cdsp_mem>;
+
+ qcom,qmp = <&aoss_qmp>;
+
+ qcom,smem-states = <&smp2p_cdsp_out 0>;
+ qcom,smem-state-names = "stop";
+
+ status = "disabled";
+
+ glink-edge {
+ interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
+ IPCC_MPROC_SIGNAL_GLINK_QMP
+ IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&ipcc IPCC_CLIENT_CDSP
+ IPCC_MPROC_SIGNAL_GLINK_QMP>;
+
+ label = "cdsp";
+ qcom,remote-pid = <5>;
+ };
+ };
+ };
+
+ arch_timer: timer {
+ compatible = "arm,armv8-timer";
+ interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
+ };
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI
2024-09-04 8:33 ` [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI Jingyi Wang
@ 2024-09-04 9:41 ` Krzysztof Kozlowski
2024-09-05 4:56 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:41 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Zhenhua Huang, Xin Liu, Kyle Deng, Tingguo Cheng,
Raviteja Laggyshetty
On 04/09/2024 10:33, Jingyi Wang wrote:
> Add initial DTSI for QCS8300 SoC.
>
> This revision brings support for:
> - CPUs with cpu idle
> - interrupt-controller with PDC wakeup support
> - gcc
> - TLMM
> - interconnect
> - qup with uart
> - smmu
> - pmic
> - ufs
> - ipcc
> - sram
> - remoteprocs including ADSP,CDSP and GPDSP
>
> [Zhenhua: added the smmu node]
> Co-developed-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
> Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
> [Xin: added ufs/adsp/gpdsp nodes]
> Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
> [Kyle: added the aoss_qmp node]
> Co-developed-by: Kyle Deng <quic_chunkaid@quicinc.com>
> Signed-off-by: Kyle Deng <quic_chunkaid@quicinc.com>
> [Tingguo: added the pmic nodes]
> Co-developed-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
> Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
> [Raviteja: added interconnect nodes]
> Co-developed-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
> Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 1282 +++++++++++++++++++++++++++++++++
> 1 file changed, 1282 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> new file mode 100644
> index 000000000000..244fa8bf97d9
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -0,0 +1,1282 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
> + */
> +
> +#include <dt-bindings/clock/qcom,qcs8300-gcc.h>
> +#include <dt-bindings/clock/qcom,rpmh.h>
> +#include <dt-bindings/interconnect/qcom,icc.h>
> +#include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/mailbox/qcom-ipcc.h>
> +#include <dt-bindings/power/qcom,rpmhpd.h>
> +#include <dt-bindings/power/qcom-rpmpd.h>
> +#include <dt-bindings/soc/qcom,rpmh-rsc.h>
> +
> +/ {
> + interrupt-parent = <&intc>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + clocks {
> + sleep_clk: sleep-clk {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <32000>;
Are you sure that sleep clock is physically part of the SoC?
> + };
> + };
> +
> + cpus {
> + #address-cells = <2>;
> + #size-cells = <0>;
> +
...
> +
> + soc: soc@0 {
> + compatible = "simple-bus";
> +
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges = <0 0 0 0 0x10 0>;
ranges follow compatible, so it is the second property.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI
2024-09-04 9:41 ` Krzysztof Kozlowski
@ 2024-09-05 4:56 ` Jingyi Wang
0 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 4:56 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Mathieu Poirier,
Rob Herring, Conor Dooley, Bartosz Golaszewski
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-pm, linux-arm-kernel, Zhenhua Huang, Xin Liu, Kyle Deng,
Tingguo Cheng
On 9/4/2024 5:41 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, Jingyi Wang wrote:
>> Add initial DTSI for QCS8300 SoC.
>>
>> This revision brings support for:
>> - CPUs with cpu idle
>> - interrupt-controller with PDC wakeup support
>> - gcc
>> - TLMM
>> - interconnect
>> - qup with uart
>> - smmu
>> - pmic
>> - ufs
>> - ipcc
>> - sram
>> - remoteprocs including ADSP,CDSP and GPDSP
>>
>> [Zhenhua: added the smmu node]
>> Co-developed-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
>> Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
>> [Xin: added ufs/adsp/gpdsp nodes]
>> Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
>> Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
>> [Kyle: added the aoss_qmp node]
>> Co-developed-by: Kyle Deng <quic_chunkaid@quicinc.com>
>> Signed-off-by: Kyle Deng <quic_chunkaid@quicinc.com>
>> [Tingguo: added the pmic nodes]
>> Co-developed-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
>> Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
>> [Raviteja: added interconnect nodes]
>> Co-developed-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
>> Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 1282 +++++++++++++++++++++++++++++++++
>> 1 file changed, 1282 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
>> new file mode 100644
>> index 000000000000..244fa8bf97d9
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
>> @@ -0,0 +1,1282 @@
>> +// SPDX-License-Identifier: BSD-3-Clause
>> +/*
>> + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
>> + */
>> +
>> +#include <dt-bindings/clock/qcom,qcs8300-gcc.h>
>> +#include <dt-bindings/clock/qcom,rpmh.h>
>> +#include <dt-bindings/interconnect/qcom,icc.h>
>> +#include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
>> +#include <dt-bindings/interrupt-controller/arm-gic.h>
>> +#include <dt-bindings/mailbox/qcom-ipcc.h>
>> +#include <dt-bindings/power/qcom,rpmhpd.h>
>> +#include <dt-bindings/power/qcom-rpmpd.h>
>> +#include <dt-bindings/soc/qcom,rpmh-rsc.h>
>> +
>> +/ {
>> + interrupt-parent = <&intc>;
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + clocks {
>> + sleep_clk: sleep-clk {
>> + compatible = "fixed-clock";
>> + #clock-cells = <0>;
>> + clock-frequency = <32000>;
>
> Are you sure that sleep clock is physically part of the SoC?
>
Have checked that and will move it to board.dts
>> + };
>> + };
>> +
>> + cpus {
>> + #address-cells = <2>;
>> + #size-cells = <0>;
>> +
>
> ...
>
>> +
>> + soc: soc@0 {
>> + compatible = "simple-bus";
>> +
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> + ranges = <0 0 0 0 0x10 0>;
>
> ranges follow compatible, so it is the second property.
>
>
Well noted, thanks for review.
>
> Best regards,
> Krzysztof
>
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* [PATCH 19/19] arm64: dts: qcom: add base QCS8300 RIDE dts
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (17 preceding siblings ...)
2024-09-04 8:33 ` [PATCH 18/19] arm64: dts: qcom: add initial support for QCS8300 DTSI Jingyi Wang
@ 2024-09-04 8:34 ` Jingyi Wang
2024-09-04 9:34 ` [PATCH 00/19] Add initial support for QCS8300 Krzysztof Kozlowski
2024-09-04 13:36 ` Rob Herring (Arm)
20 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-04 8:34 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu,
Jingyi Wang, Xin Liu, Tingguo Cheng
Add initial support for Qualcomm QCS8300 RIDE board which enables
DSPs, UFS and booting to shell with uart console.
[Xin: added ufs/adsp/gpdsp nodes]
Co-developed-by: Xin Liu <quic_liuxin@quicinc.com>
Signed-off-by: Xin Liu <quic_liuxin@quicinc.com>
[Tingguo: added the pmic nodes]
Co-developed-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 246 ++++++++++++++++++++++++++++++
2 files changed, 247 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 197ab325c0b9..fe4c21cfbdd5 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -111,6 +111,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcm6490-shift-otter.dtb
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) += qcs8300-ride.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb
dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb
diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
new file mode 100644
index 000000000000..e204b4c57bca
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
@@ -0,0 +1,246 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+
+#include "qcs8300.dtsi"
+/ {
+ model = "Qualcomm Technologies, Inc. QCS8300 Ride";
+ compatible = "qcom,qcs8300-ride", "qcom,qcs8275", "qcom,qcs8300";
+ chassis-type = "embedded";
+
+ aliases {
+ serial0 = &uart7;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ xo_board_clk: xo-board-clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <38400000>;
+ };
+};
+
+&apps_rsc {
+ regulators-0 {
+ compatible = "qcom,pmm8654au-rpmh-regulators";
+ qcom,pmic-id = "a";
+
+ vreg_s4a: smps4 {
+ regulator-name = "vreg_s4a";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_s9a: smps9 {
+ regulator-name = "vreg_s9a";
+ regulator-min-microvolt = <1352000>;
+ regulator-max-microvolt = <1352000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l3a: ldo3 {
+ regulator-name = "vreg_l3a";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l4a: ldo4 {
+ regulator-name = "vreg_l4a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l5a: ldo5 {
+ regulator-name = "vreg_l5a";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l6a: ldo6 {
+ regulator-name = "vreg_l6a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l7a: ldo7 {
+ regulator-name = "vreg_l7a";
+ regulator-min-microvolt = <880000>;
+ regulator-max-microvolt = <912000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l8a: ldo8 {
+ regulator-name = "vreg_l8a";
+ regulator-min-microvolt = <2504000>;
+ regulator-max-microvolt = <2960000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l9a: ldo9 {
+ regulator-name = "vreg_l9a";
+ regulator-min-microvolt = <2970000>;
+ regulator-max-microvolt = <3072000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+ };
+
+ regulators-1 {
+ compatible = "qcom,pmm8654au-rpmh-regulators";
+ qcom,pmic-id = "c";
+
+ vreg_s5c: smps5 {
+ regulator-name = "vreg_s5c";
+ regulator-min-microvolt = <1104000>;
+ regulator-max-microvolt = <1104000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l1c: ldo1 {
+ regulator-name = "vreg_l1c";
+ regulator-min-microvolt = <300000>;
+ regulator-max-microvolt = <500000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l2c: ldo2 {
+ regulator-name = "vreg_l2c";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <904000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l4c: ldo4 {
+ regulator-name = "vreg_l4c";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l6c: ldo6 {
+ regulator-name = "vreg_l6c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l7c: ldo7 {
+ regulator-name = "vreg_l7c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l8c: ldo8 {
+ regulator-name = "vreg_l8c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+
+ vreg_l9c: ldo9 {
+ regulator-name = "vreg_l9c";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-allow-set-load;
+ regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
+ RPMH_REGULATOR_MODE_HPM>;
+ };
+ };
+};
+
+&qupv3_id_0 {
+ status = "okay";
+};
+
+&remoteproc_adsp {
+ firmware-name = "qcom/qcs8300/adsp.mbn";
+ status = "okay";
+};
+
+&remoteproc_cdsp {
+ firmware-name = "qcom/qcs8300/cdsp0.mbn";
+ status = "okay";
+};
+
+&remoteproc_gpdsp {
+ firmware-name = "qcom/qcs8300/gpdsp0.mbn";
+ status = "okay";
+};
+
+&rpmhcc {
+ clocks = <&xo_board_clk>;
+ clock-names = "xo";
+};
+
+&uart7 {
+ status = "okay";
+};
+
+&ufs_mem_hc {
+ reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
+ vcc-supply = <&vreg_l8a>;
+ vcc-max-microamp = <1100000>;
+ vccq-supply = <&vreg_l4c>;
+ vccq-max-microamp = <1200000>;
+ status = "okay";
+};
+
+&ufs_mem_phy {
+ vdda-phy-supply = <&vreg_l4a>;
+ vdda-pll-supply = <&vreg_l5a>;
+ status = "okay";
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 46+ messages in thread* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (18 preceding siblings ...)
2024-09-04 8:34 ` [PATCH 19/19] arm64: dts: qcom: add base QCS8300 RIDE dts Jingyi Wang
@ 2024-09-04 9:34 ` Krzysztof Kozlowski
2024-09-04 10:19 ` Krzysztof Kozlowski
2024-09-04 13:36 ` Rob Herring (Arm)
20 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 9:34 UTC (permalink / raw)
To: Jingyi Wang, Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
Vinod Koul, Kishon Vijay Abraham I, Manivannan Sadhasivam,
Alim Akhtar, Avri Altman, Bart Van Assche, Andy Gross,
Ulf Hansson, Thomas Gleixner, Will Deacon, Robin Murphy,
Joerg Roedel, Konrad Dybcio, Robert Marko, Das Srinagesh,
Jassi Brar, Lee Jones, Srinivas Kandagatla, Catalin Marinas
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
linux-phy, linux-scsi, linux-pm, linux-arm-kernel, iommu, Xin Liu,
Shazad Hussain, Tingguo Cheng, Zhenhua Huang, Kyle Deng,
Raviteja Laggyshetty
On 04/09/2024 10:33, Jingyi Wang wrote:
> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>
> This revision brings support for:
> - CPUs with cpu idle
> - interrupt-controller with PDC wakeup support
> - gcc
> - TLMM
> - interconnect
> - qup with uart
> - smmu
> - pmic
> - ufs
> - ipcc
> - sram
> - remoteprocs including ADSP,CDSP and GPDSP
>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> patch series organized as:
> - 1-2: remoteproc binding and driver
> - 3-5: ufs binding and driver
> - 6-7: rpmhpd binding and driver
> - 8-15: bindings for other components found on the SoC
Limit your CC list. I found like 8 unnecessary addresses for already
huge Cc list. Or organize your patches per subsystem, as we usually expect.
> - 16-19: changes to support the device tree
>
> dependencies:
> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
Why? UFS cannot depend on pinctrl for example.
This blocks testing and merging.
Please organize properly (so decouple) your patches, so that there is no
fake dependency.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-04 9:34 ` [PATCH 00/19] Add initial support for QCS8300 Krzysztof Kozlowski
@ 2024-09-04 10:19 ` Krzysztof Kozlowski
2024-09-05 5:08 ` Jingyi Wang
0 siblings, 1 reply; 46+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-04 10:19 UTC (permalink / raw)
To: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Kishon Vijay Abraham I, Jassi Brar, Mathieu Poirier, Will Deacon,
Jingyi Wang, Bartosz Golaszewski, Thomas Gleixner, Das Srinagesh,
Ulf Hansson, Konrad Dybcio, Andy Gross, Bart Van Assche,
linux-arm-msm, Robert Marko, Joerg Roedel, linux-remoteproc,
devicetree, linux-kernel, Alim Akhtar, linux-phy, linux-scsi,
linux-pm, Srinivas Kandagatla, linux-arm-kernel, Catalin Marinas,
iommu, Xin Liu, Shazad Hussain, Tingguo Cheng, Zhenhua Huang,
Kyle Deng, Raviteja Laggyshetty, Lee Jones, Robin Murphy,
Avri Altman, Manivannan Sadhasivam, Vinod Koul
On 04/09/2024 11:34, Krzysztof Kozlowski wrote:
> On 04/09/2024 10:33, Jingyi Wang wrote:
>> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>>
>> This revision brings support for:
>> - CPUs with cpu idle
>> - interrupt-controller with PDC wakeup support
>> - gcc
>> - TLMM
>> - interconnect
>> - qup with uart
>> - smmu
>> - pmic
>> - ufs
>> - ipcc
>> - sram
>> - remoteprocs including ADSP,CDSP and GPDSP
>>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> patch series organized as:
>> - 1-2: remoteproc binding and driver
>> - 3-5: ufs binding and driver
>> - 6-7: rpmhpd binding and driver
>> - 8-15: bindings for other components found on the SoC
>
> Limit your CC list. I found like 8 unnecessary addresses for already
> huge Cc list. Or organize your patches per subsystem, as we usually expect.
>
>> - 16-19: changes to support the device tree
>>
>> dependencies:
>> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
>> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
>> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
>
> Why? UFS cannot depend on pinctrl for example.
>
> This blocks testing and merging.
>
> Please organize properly (so decouple) your patches, so that there is no
> fake dependency.
Let me also add here one more thought. That's like fourth or fifth
QCS/SA patchset last two weeks from Qualcomm and they repeat the same
mistakes. Not correctly organized, huge cc list, same problems with
bindings or drivers.
I am giving much more comments to fix than review/ack tags.
I am not going to review this. I will also slow down with reviewing
other Qualcomm patches. Why? Because you post simultaneously, apparently
you do not learn from other review, so I have to keep repeating the same.
I am overwhelmed with this, so please expect two week review time from me.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-04 10:19 ` Krzysztof Kozlowski
@ 2024-09-05 5:08 ` Jingyi Wang
2024-09-05 11:33 ` Konrad Dybcio
0 siblings, 1 reply; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 5:08 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Bartosz Golaszewski, Konrad Dybcio, linux-arm-msm, devicetree,
linux-kernel, linux-arm-kernel, Xin Liu, Tingguo Cheng,
Zhenhua Huang, Kyle Deng
Hi Krzysztof,
On 9/4/2024 6:19 PM, Krzysztof Kozlowski wrote:
> On 04/09/2024 11:34, Krzysztof Kozlowski wrote:
>> On 04/09/2024 10:33, Jingyi Wang wrote:
>>> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>>>
>>> This revision brings support for:
>>> - CPUs with cpu idle
>>> - interrupt-controller with PDC wakeup support
>>> - gcc
>>> - TLMM
>>> - interconnect
>>> - qup with uart
>>> - smmu
>>> - pmic
>>> - ufs
>>> - ipcc
>>> - sram
>>> - remoteprocs including ADSP,CDSP and GPDSP
>>>
>>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>>> ---
>>> patch series organized as:
>>> - 1-2: remoteproc binding and driver
>>> - 3-5: ufs binding and driver
>>> - 6-7: rpmhpd binding and driver
>>> - 8-15: bindings for other components found on the SoC
>>
>> Limit your CC list. I found like 8 unnecessary addresses for already
>> huge Cc list. Or organize your patches per subsystem, as we usually expect.
>>
>>> - 16-19: changes to support the device tree
>>>
>>> dependencies:
>>> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
>>> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
>>> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
>>
>> Why? UFS cannot depend on pinctrl for example.
>>
>> This blocks testing and merging.
>>
>> Please organize properly (so decouple) your patches, so that there is no
>> fake dependency.
>
> Let me also add here one more thought. That's like fourth or fifth
> QCS/SA patchset last two weeks from Qualcomm and they repeat the same
> mistakes. Not correctly organized, huge cc list, same problems with
> bindings or drivers.
>
> I am giving much more comments to fix than review/ack tags.
>
> I am not going to review this. I will also slow down with reviewing
> other Qualcomm patches. Why? Because you post simultaneously, apparently
> you do not learn from other review, so I have to keep repeating the same.
>
> I am overwhelmed with this, so please expect two week review time from me.
>
> Best regards,
> Krzysztof
>
The CC list is generated from B4 tool, however, thanks for your advice and we
will decouple the changes to avoid this. And could you please help us to confirm
the better way to handle binding changes which just add one compatible, should
it be submitted as a single patch or submmitted together with dts patch series?
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-05 5:08 ` Jingyi Wang
@ 2024-09-05 11:33 ` Konrad Dybcio
0 siblings, 0 replies; 46+ messages in thread
From: Konrad Dybcio @ 2024-09-05 11:33 UTC (permalink / raw)
To: Jingyi Wang, Krzysztof Kozlowski, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Bartosz Golaszewski, Konrad Dybcio, linux-arm-msm, devicetree,
linux-kernel, linux-arm-kernel, Xin Liu, Tingguo Cheng,
Zhenhua Huang, Kyle Deng
On 5.09.2024 7:08 AM, Jingyi Wang wrote:
> Hi Krzysztof,
>
> On 9/4/2024 6:19 PM, Krzysztof Kozlowski wrote:
>> On 04/09/2024 11:34, Krzysztof Kozlowski wrote:
>>> On 04/09/2024 10:33, Jingyi Wang wrote:
>>>> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>>>>
>>>> This revision brings support for:
>>>> - CPUs with cpu idle
>>>> - interrupt-controller with PDC wakeup support
>>>> - gcc
>>>> - TLMM
>>>> - interconnect
>>>> - qup with uart
>>>> - smmu
>>>> - pmic
>>>> - ufs
>>>> - ipcc
>>>> - sram
>>>> - remoteprocs including ADSP,CDSP and GPDSP
>>>>
>>>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>>>> ---
>>>> patch series organized as:
>>>> - 1-2: remoteproc binding and driver
>>>> - 3-5: ufs binding and driver
>>>> - 6-7: rpmhpd binding and driver
>>>> - 8-15: bindings for other components found on the SoC
>>>
>>> Limit your CC list. I found like 8 unnecessary addresses for already
>>> huge Cc list. Or organize your patches per subsystem, as we usually expect.
>>>
>>>> - 16-19: changes to support the device tree
>>>>
>>>> dependencies:
>>>> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
>>>> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
>>>> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
>>>
>>> Why? UFS cannot depend on pinctrl for example.
>>>
>>> This blocks testing and merging.
>>>
>>> Please organize properly (so decouple) your patches, so that there is no
>>> fake dependency.
>>
>> Let me also add here one more thought. That's like fourth or fifth
>> QCS/SA patchset last two weeks from Qualcomm and they repeat the same
>> mistakes. Not correctly organized, huge cc list, same problems with
>> bindings or drivers.
>>
>> I am giving much more comments to fix than review/ack tags.
>>
>> I am not going to review this. I will also slow down with reviewing
>> other Qualcomm patches. Why? Because you post simultaneously, apparently
>> you do not learn from other review, so I have to keep repeating the same.
>>
>> I am overwhelmed with this, so please expect two week review time from me.
>>
>> Best regards,
>> Krzysztof
>>
> The CC list is generated from B4 tool, however, thanks for your advice and we
> will decouple the changes to avoid this. And could you please help us to confirm
> the better way to handle binding changes which just add one compatible, should
> it be submitted as a single patch or submmitted together with dts patch series?
The tool did its job here, it's just that this series is very long and a ton
of people ended up being involved due to bindings oneliners
Konrad
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-04 8:33 [PATCH 00/19] Add initial support for QCS8300 Jingyi Wang
` (19 preceding siblings ...)
2024-09-04 9:34 ` [PATCH 00/19] Add initial support for QCS8300 Krzysztof Kozlowski
@ 2024-09-04 13:36 ` Rob Herring (Arm)
2024-09-05 2:45 ` Jingyi Wang
20 siblings, 1 reply; 46+ messages in thread
From: Rob Herring (Arm) @ 2024-09-04 13:36 UTC (permalink / raw)
To: Jingyi Wang
Cc: Kishon Vijay Abraham I, Mathieu Poirier, Vinod Koul,
Zhenhua Huang, Andy Gross, Ulf Hansson, Robin Murphy, Avri Altman,
Catalin Marinas, linux-arm-msm, Kyle Deng, linux-kernel,
Manivannan Sadhasivam, Conor Dooley, Tingguo Cheng, linux-scsi,
Krzysztof Kozlowski, Das Srinagesh, iommu, Srinivas Kandagatla,
Will Deacon, Joerg Roedel, Konrad Dybcio, Robert Marko,
linux-arm-kernel, Jassi Brar, Bjorn Andersson, linux-remoteproc,
Raviteja Laggyshetty, Bartosz Golaszewski, Lee Jones, Xin Liu,
Thomas Gleixner, linux-pm, Shazad Hussain, linux-phy, Alim Akhtar,
Bart Van Assche, devicetree
On Wed, 04 Sep 2024 16:33:41 +0800, Jingyi Wang wrote:
> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>
> This revision brings support for:
> - CPUs with cpu idle
> - interrupt-controller with PDC wakeup support
> - gcc
> - TLMM
> - interconnect
> - qup with uart
> - smmu
> - pmic
> - ufs
> - ipcc
> - sram
> - remoteprocs including ADSP,CDSP and GPDSP
>
> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
> ---
> patch series organized as:
> - 1-2: remoteproc binding and driver
> - 3-5: ufs binding and driver
> - 6-7: rpmhpd binding and driver
> - 8-15: bindings for other components found on the SoC
> - 16-19: changes to support the device tree
>
> dependencies:
> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
>
> dtb check got following err:
> /local/mnt/workspace/jingyi/aim500/linux/arch/arm64/boot/dts/qcom/qcs8300-ride.dtb: interconnect@1680000: Unevaluated properties are not allowed ('reg' was unexpected)
> which is cause by "reg" compatible missing in dt binding, will be fixed in interconnect patch series.
>
> ---
> Jingyi Wang (11):
> dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc
> remoteproc: qcom: pas: Add QCS8300 remoteproc support
> dt-bindings: qcom,pdc: document QCS8300 Power Domain Controller
> dt-bindings: soc: qcom: add qcom,qcs8300-imem compatible
> dt-bindings: mailbox: qcom-ipcc: Document QCS8300 IPCC
> dt-bindings: mfd: qcom,tcsr: Add compatible for QCS8300
> dt-bindings: nvmem: qfprom: Add compatible for QCS8300
> dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
> arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
> arm64: dts: qcom: add initial support for QCS8300 DTSI
> arm64: dts: qcom: add base QCS8300 RIDE dts
>
> Kyle Deng (1):
> dt-bindings: soc: qcom,aoss-qmp: Document the QCS8300 AOSS channel
>
> Shazad Hussain (1):
> dt-bindings: power: rpmpd: Add QCS8300 power domains
>
> Tingguo Cheng (1):
> pmdomain: qcom: rpmhpd: Add QCS8300 power domains
>
> Xin Liu (3):
> dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300
> dt-bindings: ufs: qcom: Document the QCS8300 UFS Controller
> phy: qcom-qmp-ufs: Add support for QCS8300
>
> Zhenhua Huang (2):
> dt-bindings: arm-smmu: Add compatible for QCS8300 SoC
> dt-bindings: firmware: qcom,scm: document SCM on QCS8300 SoCs
>
> Documentation/devicetree/bindings/arm/qcom.yaml | 8 +
> .../devicetree/bindings/firmware/qcom,scm.yaml | 1 +
> .../bindings/interrupt-controller/qcom,pdc.yaml | 1 +
> .../devicetree/bindings/iommu/arm,smmu.yaml | 2 +
> .../devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 +
> .../devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
> .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
> .../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 +
> .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
> .../bindings/remoteproc/qcom,sa8775p-pas.yaml | 6 +
> .../bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 +
> .../devicetree/bindings/sram/qcom,imem.yaml | 1 +
> .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 +
> arch/arm64/boot/dts/qcom/Makefile | 1 +
> arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 246 ++++
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 1282 ++++++++++++++++++++
> arch/arm64/configs/defconfig | 3 +
> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +
> drivers/pmdomain/qcom/rpmhpd.c | 24 +
> drivers/remoteproc/qcom_q6v5_pas.c | 3 +
> include/dt-bindings/power/qcom-rpmpd.h | 19 +
> 21 files changed, 1609 insertions(+)
> ---
> base-commit: eb8c5ca373cbb018a84eb4db25c863302c9b6314
> change-id: 20240829-qcs8300_initial_dtsi-1a386eb317d3
>
> Best regards,
> --
> Jingyi Wang <quic_jingyw@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/qcs8300-ride.dtb' for 20240904-qcs8300_initial_dtsi-v1-0-d0ea9afdc007@quicinc.com:
In file included from arch/arm64/boot/dts/qcom/qcs8300-ride.dts:11:
arch/arm64/boot/dts/qcom/qcs8300.dtsi:6:10: fatal error: dt-bindings/clock/qcom,qcs8300-gcc.h: No such file or directory
6 | #include <dt-bindings/clock/qcom,qcs8300-gcc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.lib:434: arch/arm64/boot/dts/qcom/qcs8300-ride.dtb] Error 1
make[2]: *** [scripts/Makefile.build:490: arch/arm64/boot/dts/qcom] Error 2
make[2]: Target 'arch/arm64/boot/dts/qcom/qcs8300-ride.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1390: qcom/qcs8300-ride.dtb] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'qcom/qcs8300-ride.dtb' not remade because of errors.
^ permalink raw reply [flat|nested] 46+ messages in thread* Re: [PATCH 00/19] Add initial support for QCS8300
2024-09-04 13:36 ` Rob Herring (Arm)
@ 2024-09-05 2:45 ` Jingyi Wang
0 siblings, 0 replies; 46+ messages in thread
From: Jingyi Wang @ 2024-09-05 2:45 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: linux-arm-msm, linux-kernel, Conor Dooley, Krzysztof Kozlowski,
Konrad Dybcio, linux-arm-kernel, Bjorn Andersson,
Bartosz Golaszewski, Xin Liu, linux-pm, devicetree
Hi Rob,
On 9/4/2024 9:36 PM, Rob Herring (Arm) wrote:
>
> On Wed, 04 Sep 2024 16:33:41 +0800, Jingyi Wang wrote:
>> Add initial support for QCS8300 SoC and QCS8300 RIDE board.
>>
>> This revision brings support for:
>> - CPUs with cpu idle
>> - interrupt-controller with PDC wakeup support
>> - gcc
>> - TLMM
>> - interconnect
>> - qup with uart
>> - smmu
>> - pmic
>> - ufs
>> - ipcc
>> - sram
>> - remoteprocs including ADSP,CDSP and GPDSP
>>
>> Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
>> ---
>> patch series organized as:
>> - 1-2: remoteproc binding and driver
>> - 3-5: ufs binding and driver
>> - 6-7: rpmhpd binding and driver
>> - 8-15: bindings for other components found on the SoC
>> - 16-19: changes to support the device tree
>>
>> dependencies:
>> tlmm: https://lore.kernel.org/linux-arm-msm/20240819064933.1778204-1-quic_jingyw@quicinc.com/
>> gcc: https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
>> interconnect: https://lore.kernel.org/linux-arm-msm/20240827151622.305-1-quic_rlaggysh@quicinc.com/
>>
>> dtb check got following err:
>> /local/mnt/workspace/jingyi/aim500/linux/arch/arm64/boot/dts/qcom/qcs8300-ride.dtb: interconnect@1680000: Unevaluated properties are not allowed ('reg' was unexpected)
>> which is cause by "reg" compatible missing in dt binding, will be fixed in interconnect patch series.
>>
>> ---
>> Jingyi Wang (11):
>> dt-bindings: remoteproc: qcom,sa8775p-pas: Document QCS8300 remoteproc
>> remoteproc: qcom: pas: Add QCS8300 remoteproc support
>> dt-bindings: qcom,pdc: document QCS8300 Power Domain Controller
>> dt-bindings: soc: qcom: add qcom,qcs8300-imem compatible
>> dt-bindings: mailbox: qcom-ipcc: Document QCS8300 IPCC
>> dt-bindings: mfd: qcom,tcsr: Add compatible for QCS8300
>> dt-bindings: nvmem: qfprom: Add compatible for QCS8300
>> dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board
>> arm64: defconfig: enable clock controller, interconnect and pinctrl for QCS8300
>> arm64: dts: qcom: add initial support for QCS8300 DTSI
>> arm64: dts: qcom: add base QCS8300 RIDE dts
>>
>> Kyle Deng (1):
>> dt-bindings: soc: qcom,aoss-qmp: Document the QCS8300 AOSS channel
>>
>> Shazad Hussain (1):
>> dt-bindings: power: rpmpd: Add QCS8300 power domains
>>
>> Tingguo Cheng (1):
>> pmdomain: qcom: rpmhpd: Add QCS8300 power domains
>>
>> Xin Liu (3):
>> dt-bindings: phy: Add QMP UFS PHY comptible for QCS8300
>> dt-bindings: ufs: qcom: Document the QCS8300 UFS Controller
>> phy: qcom-qmp-ufs: Add support for QCS8300
>>
>> Zhenhua Huang (2):
>> dt-bindings: arm-smmu: Add compatible for QCS8300 SoC
>> dt-bindings: firmware: qcom,scm: document SCM on QCS8300 SoCs
>>
>> Documentation/devicetree/bindings/arm/qcom.yaml | 8 +
>> .../devicetree/bindings/firmware/qcom,scm.yaml | 1 +
>> .../bindings/interrupt-controller/qcom,pdc.yaml | 1 +
>> .../devicetree/bindings/iommu/arm,smmu.yaml | 2 +
>> .../devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 +
>> .../devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
>> .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
>> .../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 +
>> .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
>> .../bindings/remoteproc/qcom,sa8775p-pas.yaml | 6 +
>> .../bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 +
>> .../devicetree/bindings/sram/qcom,imem.yaml | 1 +
>> .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 +
>> arch/arm64/boot/dts/qcom/Makefile | 1 +
>> arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 246 ++++
>> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 1282 ++++++++++++++++++++
>> arch/arm64/configs/defconfig | 3 +
>> drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +
>> drivers/pmdomain/qcom/rpmhpd.c | 24 +
>> drivers/remoteproc/qcom_q6v5_pas.c | 3 +
>> include/dt-bindings/power/qcom-rpmpd.h | 19 +
>> 21 files changed, 1609 insertions(+)
>> ---
>> base-commit: eb8c5ca373cbb018a84eb4db25c863302c9b6314
>> change-id: 20240829-qcs8300_initial_dtsi-1a386eb317d3
>>
>> Best regards,
>> --
>> Jingyi Wang <quic_jingyw@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/qcs8300-ride.dtb' for 20240904-qcs8300_initial_dtsi-v1-0-d0ea9afdc007@quicinc.com:
>
> In file included from arch/arm64/boot/dts/qcom/qcs8300-ride.dts:11:
> arch/arm64/boot/dts/qcom/qcs8300.dtsi:6:10: fatal error: dt-bindings/clock/qcom,qcs8300-gcc.h: No such file or directory
> 6 | #include <dt-bindings/clock/qcom,qcs8300-gcc.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Makefile.lib:434: arch/arm64/boot/dts/qcom/qcs8300-ride.dtb] Error 1
> make[2]: *** [scripts/Makefile.build:490: arch/arm64/boot/dts/qcom] Error 2
> make[2]: Target 'arch/arm64/boot/dts/qcom/qcs8300-ride.dtb' not remade because of errors.
> make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1390: qcom/qcs8300-ride.dtb] Error 2
> make: *** [Makefile:224: __sub-make] Error 2
> make: Target 'qcom/qcs8300-ride.dtb' not remade because of errors.
>
>
>
>
>
As mentioned in the cover letter, the dtsi is depend on the gcc patch series:
https://lore.kernel.org/all/20240820-qcs8300-gcc-v1-0-d81720517a82@quicinc.com/
which includes the qcom,qcs8300-gcc.h file.
Thanks,
Jingyi
^ permalink raw reply [flat|nested] 46+ messages in thread