* [PATCH RESEND v2 0/2] PCI: qcom: Add PCIe support for X1E80100
@ 2024-01-29 14:41 Abel Vesa
2024-01-29 14:41 ` [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Abel Vesa
2024-01-29 14:41 ` [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support Abel Vesa
0 siblings, 2 replies; 10+ messages in thread
From: Abel Vesa @ 2024-01-29 14:41 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam,
Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring,
Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley
Cc: linux-pci, linux-arm-msm, linux-kernel, devicetree, Abel Vesa
Add support for PCIe controllers found on X1E80100 platform.
Re-sent due to CC list not properly fetched.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Changes in v2:
- Documented the compatible
- Link to v1: https://lore.kernel.org/r/20240129-x1e80100-pci-v1-1-efdf758976e0@linaro.org
---
Abel Vesa (2):
dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller
PCI: qcom: Add X1E80100 PCIe support
.../devicetree/bindings/pci/qcom,pcie.yaml | 29 ++++++++++++++++++++++
drivers/pci/controller/dwc/pcie-qcom.c | 1 +
2 files changed, 30 insertions(+)
---
base-commit: 596764183be8ebb13352b281a442a1f1151c9b06
change-id: 20231201-x1e80100-pci-e3ad9158bb24
Best regards,
--
Abel Vesa <abel.vesa@linaro.org>
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller 2024-01-29 14:41 [PATCH RESEND v2 0/2] PCI: qcom: Add PCIe support for X1E80100 Abel Vesa @ 2024-01-29 14:41 ` Abel Vesa 2024-01-30 6:52 ` Manivannan Sadhasivam 2024-01-30 7:44 ` Krzysztof Kozlowski 2024-01-29 14:41 ` [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support Abel Vesa 1 sibling, 2 replies; 10+ messages in thread From: Abel Vesa @ 2024-01-29 14:41 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley Cc: linux-pci, linux-arm-msm, linux-kernel, devicetree, Abel Vesa Document the PCIe Controllers on the X1E80100 platform. They are similar to the ones found on SM8550, but they don't have SF QTB clock. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- .../devicetree/bindings/pci/qcom,pcie.yaml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index a93ab3b54066..7381e38b7398 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -41,6 +41,7 @@ properties: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 - items: - enum: - qcom,pcie-sm8650 @@ -227,6 +228,7 @@ allOf: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 then: properties: reg: @@ -826,6 +828,32 @@ allOf: items: - const: pci # PCIe core reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-x1e80100 + then: + properties: + clocks: + maxItems: 7 + clock-names: + items: + - const: aux # Auxiliary clock + - const: cfg # Configuration clock + - const: bus_master # Master AXI clock + - const: bus_slave # Slave AXI clock + - const: slave_q2a # Slave Q2A clock + - const: noc_aggr # Aggre NoC PCIe AXI clock + - const: cnoc_sf_axi # Config NoC PCIe1 AXI clock + resets: + maxItems: 2 + reset-names: + items: + - const: pci # PCIe core reset + - const: link_down # PCIe link down reset + - if: properties: compatible: @@ -884,6 +912,7 @@ allOf: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 then: oneOf: - properties: -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller 2024-01-29 14:41 ` [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Abel Vesa @ 2024-01-30 6:52 ` Manivannan Sadhasivam 2024-01-30 7:44 ` Krzysztof Kozlowski 1 sibling, 0 replies; 10+ messages in thread From: Manivannan Sadhasivam @ 2024-01-30 6:52 UTC (permalink / raw) To: Abel Vesa Cc: Bjorn Andersson, Konrad Dybcio, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, linux-pci, linux-arm-msm, linux-kernel, devicetree On Mon, Jan 29, 2024 at 04:41:19PM +0200, Abel Vesa wrote: > Document the PCIe Controllers on the X1E80100 platform. They are similar > to the ones found on SM8550, but they don't have SF QTB clock. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - Mani > --- > .../devicetree/bindings/pci/qcom,pcie.yaml | 29 ++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > index a93ab3b54066..7381e38b7398 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -41,6 +41,7 @@ properties: > - qcom,pcie-sm8450-pcie0 > - qcom,pcie-sm8450-pcie1 > - qcom,pcie-sm8550 > + - qcom,pcie-x1e80100 > - items: > - enum: > - qcom,pcie-sm8650 > @@ -227,6 +228,7 @@ allOf: > - qcom,pcie-sm8450-pcie0 > - qcom,pcie-sm8450-pcie1 > - qcom,pcie-sm8550 > + - qcom,pcie-x1e80100 > then: > properties: > reg: > @@ -826,6 +828,32 @@ allOf: > items: > - const: pci # PCIe core reset > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,pcie-x1e80100 > + then: > + properties: > + clocks: > + maxItems: 7 > + clock-names: > + items: > + - const: aux # Auxiliary clock > + - const: cfg # Configuration clock > + - const: bus_master # Master AXI clock > + - const: bus_slave # Slave AXI clock > + - const: slave_q2a # Slave Q2A clock > + - const: noc_aggr # Aggre NoC PCIe AXI clock > + - const: cnoc_sf_axi # Config NoC PCIe1 AXI clock > + resets: > + maxItems: 2 > + reset-names: > + items: > + - const: pci # PCIe core reset > + - const: link_down # PCIe link down reset > + > - if: > properties: > compatible: > @@ -884,6 +912,7 @@ allOf: > - qcom,pcie-sm8450-pcie0 > - qcom,pcie-sm8450-pcie1 > - qcom,pcie-sm8550 > + - qcom,pcie-x1e80100 > then: > oneOf: > - properties: > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம் ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller 2024-01-29 14:41 ` [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Abel Vesa 2024-01-30 6:52 ` Manivannan Sadhasivam @ 2024-01-30 7:44 ` Krzysztof Kozlowski 2024-01-30 7:45 ` Krzysztof Kozlowski 2024-01-31 8:01 ` Abel Vesa 1 sibling, 2 replies; 10+ messages in thread From: Krzysztof Kozlowski @ 2024-01-30 7:44 UTC (permalink / raw) To: Abel Vesa, Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley Cc: linux-pci, linux-arm-msm, linux-kernel, devicetree On 29/01/2024 15:41, Abel Vesa wrote: > Document the PCIe Controllers on the X1E80100 platform. They are similar > to the ones found on SM8550, but they don't have SF QTB clock. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > --- This will conflict with my series, so whoever comes last need to rebase :) Best regards, Krzysztof ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller 2024-01-30 7:44 ` Krzysztof Kozlowski @ 2024-01-30 7:45 ` Krzysztof Kozlowski 2024-01-31 8:01 ` Abel Vesa 1 sibling, 0 replies; 10+ messages in thread From: Krzysztof Kozlowski @ 2024-01-30 7:45 UTC (permalink / raw) To: Abel Vesa, Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley Cc: linux-pci, linux-arm-msm, linux-kernel, devicetree On 30/01/2024 08:44, Krzysztof Kozlowski wrote: > On 29/01/2024 15:41, Abel Vesa wrote: >> Document the PCIe Controllers on the X1E80100 platform. They are similar >> to the ones found on SM8550, but they don't have SF QTB clock. >> >> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> >> --- > > This will conflict with my series, so whoever comes last need to rebase :) I forgot: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller 2024-01-30 7:44 ` Krzysztof Kozlowski 2024-01-30 7:45 ` Krzysztof Kozlowski @ 2024-01-31 8:01 ` Abel Vesa 1 sibling, 0 replies; 10+ messages in thread From: Abel Vesa @ 2024-01-31 8:01 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, linux-pci, linux-arm-msm, linux-kernel, devicetree On 24-01-30 08:44:56, Krzysztof Kozlowski wrote: > On 29/01/2024 15:41, Abel Vesa wrote: > > Document the PCIe Controllers on the X1E80100 platform. They are similar > > to the ones found on SM8550, but they don't have SF QTB clock. > > > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > > --- > > This will conflict with my series, so whoever comes last need to rebase :) Sure, no problem. > > Best regards, > Krzysztof > ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support 2024-01-29 14:41 [PATCH RESEND v2 0/2] PCI: qcom: Add PCIe support for X1E80100 Abel Vesa 2024-01-29 14:41 ` [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Abel Vesa @ 2024-01-29 14:41 ` Abel Vesa 2024-01-30 6:55 ` Manivannan Sadhasivam 1 sibling, 1 reply; 10+ messages in thread From: Abel Vesa @ 2024-01-29 14:41 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Manivannan Sadhasivam, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley Cc: linux-pci, linux-arm-msm, linux-kernel, devicetree, Abel Vesa Add the compatible and the driver data for X1E80100. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- drivers/pci/controller/dwc/pcie-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 10f2d0bb86be..2a6000e457bc 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1642,6 +1642,7 @@ static const struct of_device_id qcom_pcie_match[] = { { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 }, + { .compatible = "qcom,pcie-x1e80100", .data = &cfg_1_9_0 }, { } }; -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support 2024-01-29 14:41 ` [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support Abel Vesa @ 2024-01-30 6:55 ` Manivannan Sadhasivam 2024-01-30 18:00 ` Bjorn Helgaas 0 siblings, 1 reply; 10+ messages in thread From: Manivannan Sadhasivam @ 2024-01-30 6:55 UTC (permalink / raw) To: Abel Vesa Cc: Bjorn Andersson, Konrad Dybcio, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, linux-pci, linux-arm-msm, linux-kernel, devicetree On Mon, Jan 29, 2024 at 04:41:20PM +0200, Abel Vesa wrote: > Add the compatible and the driver data for X1E80100. > If you happen to respin the series, please add info about the PCIe controller found on this SoC. Like IP version, Gen speed, max. link width etc... > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - Mani > --- > drivers/pci/controller/dwc/pcie-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > index 10f2d0bb86be..2a6000e457bc 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom.c > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > @@ -1642,6 +1642,7 @@ static const struct of_device_id qcom_pcie_match[] = { > { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, > { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, > { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 }, > + { .compatible = "qcom,pcie-x1e80100", .data = &cfg_1_9_0 }, > { } > }; > > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம் ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support 2024-01-30 6:55 ` Manivannan Sadhasivam @ 2024-01-30 18:00 ` Bjorn Helgaas 2024-01-30 18:39 ` Manivannan Sadhasivam 0 siblings, 1 reply; 10+ messages in thread From: Bjorn Helgaas @ 2024-01-30 18:00 UTC (permalink / raw) To: Manivannan Sadhasivam Cc: Abel Vesa, Bjorn Andersson, Konrad Dybcio, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, linux-pci, linux-arm-msm, linux-kernel, devicetree On Tue, Jan 30, 2024 at 12:25:06PM +0530, Manivannan Sadhasivam wrote: > On Mon, Jan 29, 2024 at 04:41:20PM +0200, Abel Vesa wrote: > > Add the compatible and the driver data for X1E80100. > > If you happen to respin the series, please add info about the PCIe controller > found on this SoC. Like IP version, Gen speed, max. link width etc... FWIW, I always prefer actual speeds, e.g., "8 GT/s", instead of things like "Gen3", for the reason mentioned in the spec: Terms like "PCIe Gen3" are ambiguous and should be avoided. For example, "gen3" could mean (1) compliant with Base 3.0, (2) compliant with Base 3.1 (last revision of 3.x), (3) compliant with Base 3.0 and supporting 8.0 GT/s, (4) compliant with Base 3.0 or later and supporting 8.0 GT/s, .... Bjorn ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support 2024-01-30 18:00 ` Bjorn Helgaas @ 2024-01-30 18:39 ` Manivannan Sadhasivam 0 siblings, 0 replies; 10+ messages in thread From: Manivannan Sadhasivam @ 2024-01-30 18:39 UTC (permalink / raw) To: Bjorn Helgaas Cc: Abel Vesa, Bjorn Andersson, Konrad Dybcio, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, linux-pci, linux-arm-msm, linux-kernel, devicetree On Tue, Jan 30, 2024 at 12:00:40PM -0600, Bjorn Helgaas wrote: > On Tue, Jan 30, 2024 at 12:25:06PM +0530, Manivannan Sadhasivam wrote: > > On Mon, Jan 29, 2024 at 04:41:20PM +0200, Abel Vesa wrote: > > > Add the compatible and the driver data for X1E80100. > > > > If you happen to respin the series, please add info about the PCIe controller > > found on this SoC. Like IP version, Gen speed, max. link width etc... > > FWIW, I always prefer actual speeds, e.g., "8 GT/s", instead of things > like "Gen3", for the reason mentioned in the spec: > > Terms like "PCIe Gen3" are ambiguous and should be avoided. For > example, "gen3" could mean (1) compliant with Base 3.0, (2) > compliant with Base 3.1 (last revision of 3.x), (3) compliant with > Base 3.0 and supporting 8.0 GT/s, (4) compliant with Base 3.0 or > later and supporting 8.0 GT/s, .... > Makes sense. Will keep a note of it, thanks! - Mani -- மணிவண்ணன் சதாசிவம் ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-01-31 8:01 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-01-29 14:41 [PATCH RESEND v2 0/2] PCI: qcom: Add PCIe support for X1E80100 Abel Vesa 2024-01-29 14:41 ` [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Abel Vesa 2024-01-30 6:52 ` Manivannan Sadhasivam 2024-01-30 7:44 ` Krzysztof Kozlowski 2024-01-30 7:45 ` Krzysztof Kozlowski 2024-01-31 8:01 ` Abel Vesa 2024-01-29 14:41 ` [PATCH RESEND v2 2/2] PCI: qcom: Add X1E80100 PCIe support Abel Vesa 2024-01-30 6:55 ` Manivannan Sadhasivam 2024-01-30 18:00 ` Bjorn Helgaas 2024-01-30 18:39 ` Manivannan Sadhasivam
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).