2023-04-04 16:51:57

by Devi Priya

[permalink] [raw]
Subject: [PATCH V2 5/9] dt-bindings: PCI: qcom: Add IPQ9574

Add bindings for PCIe hosts on IPQ9574 platform and allow
msi-parent property

Signed-off-by: Devi Priya <[email protected]>
---
Changes in V2:
- Updated the commit message and dropped the aggr_noc entries
as it will be handled via interconnect driver

.../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
index fb32c43dd12d..8657ab65008c 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
@@ -26,6 +26,7 @@ properties:
- qcom,pcie-ipq8064-v2
- qcom,pcie-ipq8074
- qcom,pcie-ipq8074-gen3
+ - qcom,pcie-ipq9574
- qcom,pcie-msm8996
- qcom,pcie-qcs404
- qcom,pcie-sa8540p
@@ -105,6 +106,8 @@ properties:
items:
- const: pciephy

+ msi-parent: true
+
power-domains:
maxItems: 1

@@ -160,6 +163,7 @@ allOf:
enum:
- qcom,pcie-ipq6018
- qcom,pcie-ipq8074-gen3
+ - qcom,pcie-ipq9574
then:
properties:
reg:
@@ -365,6 +369,39 @@ allOf:
- const: ahb # AHB Reset
- const: axi_m_sticky # AXI Master Sticky reset

+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,pcie-ipq9574
+ then:
+ properties:
+ clocks:
+ minItems: 6
+ maxItems: 6
+ clock-names:
+ items:
+ - const: ahb # AHB clock
+ - const: aux # Auxiliary clock
+ - const: axi_m # AXI Master clock
+ - const: axi_s # AXI Slave clock
+ - const: axi_bridge # AXI bridge clock
+ - const: rchng
+ resets:
+ minItems: 8
+ maxItems: 8
+ reset-names:
+ items:
+ - const: pipe # PIPE reset
+ - const: sticky # Core Sticky reset
+ - const: axi_s_sticky # AXI Slave Sticky reset
+ - const: axi_s # AXI Slave reset
+ - const: axi_m_sticky # AXI Master Sticky reset
+ - const: axi_m # AXI Master reset
+ - const: aux # AUX Reset
+ - const: ahb # AHB Reset
+
- if:
properties:
compatible:
@@ -681,6 +718,16 @@ allOf:
- interconnects
- interconnect-names

+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,pcie-ipq9574
+ then:
+ required:
+ - msi-parent
+
- if:
not:
properties:
@@ -693,6 +740,7 @@ allOf:
- qcom,pcie-ipq8064v2
- qcom,pcie-ipq8074
- qcom,pcie-ipq8074-gen3
+ - qcom,pcie-ipq9574
- qcom,pcie-qcs404
then:
required:
--
2.17.1


2023-04-05 06:59:28

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V2 5/9] dt-bindings: PCI: qcom: Add IPQ9574

On 04/04/2023 18:48, Devi Priya wrote:
> Add bindings for PCIe hosts on IPQ9574 platform and allow
> msi-parent property

Missing full stop. Also in your other patches.

>
> Signed-off-by: Devi Priya <[email protected]>
> ---
> Changes in V2:
> - Updated the commit message and dropped the aggr_noc entries
> as it will be handled via interconnect driver
>
> .../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> index fb32c43dd12d..8657ab65008c 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> @@ -26,6 +26,7 @@ properties:
> - qcom,pcie-ipq8064-v2
> - qcom,pcie-ipq8074
> - qcom,pcie-ipq8074-gen3
> + - qcom,pcie-ipq9574
> - qcom,pcie-msm8996
> - qcom,pcie-qcs404
> - qcom,pcie-sa8540p
> @@ -105,6 +106,8 @@ properties:
> items:
> - const: pciephy
>
> + msi-parent: true

Isn't this conflicting with Mani's series:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/#t

Although for some reason Mani's patch references non-existing commit and
hunk...

Best regards,
Krzysztof

2023-04-11 11:01:52

by Devi Priya

[permalink] [raw]
Subject: Re: [PATCH V2 5/9] dt-bindings: PCI: qcom: Add IPQ9574



On 4/5/2023 12:28 PM, Krzysztof Kozlowski wrote:
> On 04/04/2023 18:48, Devi Priya wrote:
>> Add bindings for PCIe hosts on IPQ9574 platform and allow
>> msi-parent property
>
> Missing full stop. Also in your other patches.
Okay
>
>>
>> Signed-off-by: Devi Priya <[email protected]>
>> ---
>> Changes in V2:
>> - Updated the commit message and dropped the aggr_noc entries
>> as it will be handled via interconnect driver
>>
>> .../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>> index fb32c43dd12d..8657ab65008c 100644
>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>> @@ -26,6 +26,7 @@ properties:
>> - qcom,pcie-ipq8064-v2
>> - qcom,pcie-ipq8074
>> - qcom,pcie-ipq8074-gen3
>> + - qcom,pcie-ipq9574
>> - qcom,pcie-msm8996
>> - qcom,pcie-qcs404
>> - qcom,pcie-sa8540p
>> @@ -105,6 +106,8 @@ properties:
>> items:
>> - const: pciephy
>>
>> + msi-parent: true
>

Yes right, will rebase it on Mani's series.
But, as you have pointed out don't see the binding changes
in linux-next/master
Mani, could you please provide the tree details onto which the
binding change is merged?

> Isn't this conflicting with Mani's series:
> https://lore.kernel.org/all/[email protected]/
> https://lore.kernel.org/all/[email protected]/#t
>
> Although for some reason Mani's patch references non-existing commit and
> hunk...
>
> Best regards,
> Krzysztof
>
Best Regards,
Devi Priya

2023-04-11 11:53:24

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH V2 5/9] dt-bindings: PCI: qcom: Add IPQ9574

On Tue, Apr 11, 2023 at 04:27:23PM +0530, Devi Priya wrote:
>
>
> On 4/5/2023 12:28 PM, Krzysztof Kozlowski wrote:
> > On 04/04/2023 18:48, Devi Priya wrote:
> > > Add bindings for PCIe hosts on IPQ9574 platform and allow
> > > msi-parent property
> >
> > Missing full stop. Also in your other patches.
> Okay
> >
> > >
> > > Signed-off-by: Devi Priya <[email protected]>
> > > ---
> > > Changes in V2:
> > > - Updated the commit message and dropped the aggr_noc entries
> > > as it will be handled via interconnect driver
> > >
> > > .../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++
> > > 1 file changed, 48 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> > > index fb32c43dd12d..8657ab65008c 100644
> > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> > > @@ -26,6 +26,7 @@ properties:
> > > - qcom,pcie-ipq8064-v2
> > > - qcom,pcie-ipq8074
> > > - qcom,pcie-ipq8074-gen3
> > > + - qcom,pcie-ipq9574
> > > - qcom,pcie-msm8996
> > > - qcom,pcie-qcs404
> > > - qcom,pcie-sa8540p
> > > @@ -105,6 +106,8 @@ properties:
> > > items:
> > > - const: pciephy
> > > + msi-parent: true
> >
>
> Yes right, will rebase it on Mani's series.
> But, as you have pointed out don't see the binding changes
> in linux-next/master
> Mani, could you please provide the tree details onto which the
> binding change is merged?
>

Looks like the initial msi-map binding's patch [1] never got merged even though
the dts patch went in.

I'll squash the later fix to this, post v4 and CC you.

- Mani

[1] https://lore.kernel.org/all/[email protected]/

> > Isn't this conflicting with Mani's series:
> > https://lore.kernel.org/all/[email protected]/
> > https://lore.kernel.org/all/[email protected]/#t
> >
> > Although for some reason Mani's patch references non-existing commit and
> > hunk...
> >
> > Best regards,
> > Krzysztof
> >
> Best Regards,
> Devi Priya

--
மணிவண்ணன் சதாசிவம்

2023-04-11 14:11:11

by Devi Priya

[permalink] [raw]
Subject: Re: [PATCH V2 5/9] dt-bindings: PCI: qcom: Add IPQ9574



On 4/11/2023 5:22 PM, Manivannan Sadhasivam wrote:
> On Tue, Apr 11, 2023 at 04:27:23PM +0530, Devi Priya wrote:
>>
>>
>> On 4/5/2023 12:28 PM, Krzysztof Kozlowski wrote:
>>> On 04/04/2023 18:48, Devi Priya wrote:
>>>> Add bindings for PCIe hosts on IPQ9574 platform and allow
>>>> msi-parent property
>>>
>>> Missing full stop. Also in your other patches.
>> Okay
>>>
>>>>
>>>> Signed-off-by: Devi Priya <[email protected]>
>>>> ---
>>>> Changes in V2:
>>>> - Updated the commit message and dropped the aggr_noc entries
>>>> as it will be handled via interconnect driver
>>>>
>>>> .../devicetree/bindings/pci/qcom,pcie.yaml | 48 +++++++++++++++++++
>>>> 1 file changed, 48 insertions(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>>>> index fb32c43dd12d..8657ab65008c 100644
>>>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>>>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
>>>> @@ -26,6 +26,7 @@ properties:
>>>> - qcom,pcie-ipq8064-v2
>>>> - qcom,pcie-ipq8074
>>>> - qcom,pcie-ipq8074-gen3
>>>> + - qcom,pcie-ipq9574
>>>> - qcom,pcie-msm8996
>>>> - qcom,pcie-qcs404
>>>> - qcom,pcie-sa8540p
>>>> @@ -105,6 +106,8 @@ properties:
>>>> items:
>>>> - const: pciephy
>>>> + msi-parent: true
>>>
>>
>> Yes right, will rebase it on Mani's series.
>> But, as you have pointed out don't see the binding changes
>> in linux-next/master
>> Mani, could you please provide the tree details onto which the
>> binding change is merged?
>>
>
> Looks like the initial msi-map binding's patch [1] never got merged even though
> the dts patch went in.
>
> I'll squash the later fix to this, post v4 and CC you.

Thanks for that..I could see V4 posted!
>
> - Mani
>
> [1] https://lore.kernel.org/all/[email protected]/
>
>>> Isn't this conflicting with Mani's series:
>>> https://lore.kernel.org/all/[email protected]/
>>> https://lore.kernel.org/all/[email protected]/#t
>>>
>>> Although for some reason Mani's patch references non-existing commit and
>>> hunk...
>>>
>>> Best regards,
>>> Krzysztof
>>>
>> Best Regards,
>> Devi Priya
>