diff mbox series

[v2] dt-bindings: remoteproc: qcom: sc7280-adsp-pil: Add reg-names and power-domain-names

Message ID 1672991425-898-1-git-send-email-quic_srivasam@quicinc.com (mailing list archive)
State New, archived
Headers show
Series [v2] dt-bindings: remoteproc: qcom: sc7280-adsp-pil: Add reg-names and power-domain-names | expand

Commit Message

Srinivasa Rao Mandadapu Jan. 6, 2023, 7:50 a.m. UTC
Add reg-names and power-domain-names for remoteproc ADSP pheripheral
loader. This is to make compatible with remoteproc ADSP PIL driver.
Also change power domain from LCX to CX.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
Changes Since v1:
    -- Modify subject line to SoC specific.

 .../devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Jan. 8, 2023, 3:36 p.m. UTC | #1
On 06/01/2023 08:50, Srinivasa Rao Mandadapu wrote:
> Add reg-names and power-domain-names for remoteproc ADSP pheripheral
> loader. This is to make compatible with remoteproc ADSP PIL driver.

I don't understand the reasoning. Before binding was "incompatible"?

> Also change power domain from LCX to CX.

Why? Hardware changed?

> 
> Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
> ---
> Changes Since v1:
>     -- Modify subject line to SoC specific.
> 
>  .../devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml  | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
> index 94ca7a0..b5bee2c 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
> @@ -23,6 +23,11 @@ properties:
>        - description: qdsp6ss register
>        - description: efuse q6ss register
>  
> +  reg-names:
> +    items:
> +      - const: qdsp6ss_base
> +      - const: lpass_efuse
> +
>    iommus:
>      items:
>        - description: Phandle to apps_smmu node with sid mask
> @@ -57,7 +62,11 @@ properties:
>  
>    power-domains:
>      items:
> -      - description: LCX power domain
> +      - description: CX power domain
> +
> +  power-domain-names:
> +    items:
> +      - const: cx
>  
>    resets:
>      items:

Best regards,
Krzysztof
Srinivasa Rao Mandadapu Jan. 10, 2023, 6:27 a.m. UTC | #2
On 1/8/2023 9:06 PM, Krzysztof Kozlowski wrote:
Thanks for Your Time Krzyszto!!!
> On 06/01/2023 08:50, Srinivasa Rao Mandadapu wrote:
>> Add reg-names and power-domain-names for remoteproc ADSP pheripheral
>> loader. This is to make compatible with remoteproc ADSP PIL driver.
> I don't understand the reasoning. Before binding was "incompatible"?

Yes. Previous bindings needs fixes. Will add fixes tag for the same. So 
far corresponding device tree not

mainlined and no user till now, hence these missing errors not found.

>
>> Also change power domain from LCX to CX.
> Why? Hardware changed?

No, basically it's a fix. The power domain name wrongly mentioned in 
previous bindings.

The fixes tag mentioned above will be applicable here also.

>
>> Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
>> ---
>> Changes Since v1:
>>      -- Modify subject line to SoC specific.
>>
>>   .../devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml  | 11 ++++++++++-
>>   1 file changed, 10 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
>> index 94ca7a0..b5bee2c 100644
>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
>> @@ -23,6 +23,11 @@ properties:
>>         - description: qdsp6ss register
>>         - description: efuse q6ss register
>>   
>> +  reg-names:
>> +    items:
>> +      - const: qdsp6ss_base
>> +      - const: lpass_efuse
>> +
>>     iommus:
>>       items:
>>         - description: Phandle to apps_smmu node with sid mask
>> @@ -57,7 +62,11 @@ properties:
>>   
>>     power-domains:
>>       items:
>> -      - description: LCX power domain
>> +      - description: CX power domain
>> +
>> +  power-domain-names:
>> +    items:
>> +      - const: cx
>>   
>>     resets:
>>       items:
> Best regards,
> Krzysztof
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
index 94ca7a0..b5bee2c 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml
@@ -23,6 +23,11 @@  properties:
       - description: qdsp6ss register
       - description: efuse q6ss register
 
+  reg-names:
+    items:
+      - const: qdsp6ss_base
+      - const: lpass_efuse
+
   iommus:
     items:
       - description: Phandle to apps_smmu node with sid mask
@@ -57,7 +62,11 @@  properties:
 
   power-domains:
     items:
-      - description: LCX power domain
+      - description: CX power domain
+
+  power-domain-names:
+    items:
+      - const: cx
 
   resets:
     items: