Skip to content

Commit

Permalink
dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC
Browse files Browse the repository at this point in the history
Add devicetree bindings support for SM8450 SoC. Only the clocks are
different on this platform, rest is same as SDX55.

Link: https://lore.kernel.org/r/20220914075350.7992-12-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Manivannan Sadhasivam authored and Bjorn Helgaas committed Oct 5, 2022
1 parent 8dffa87 commit 63e445b
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ maintainers:

properties:
compatible:
const: qcom,sdx55-pcie-ep
enum:
- qcom,sdx55-pcie-ep
- qcom,sm8450-pcie-ep

reg:
items:
Expand All @@ -32,10 +34,12 @@ properties:
- const: mmio

clocks:
maxItems: 7
minItems: 7
maxItems: 8

clock-names:
maxItems: 7
minItems: 7
maxItems: 8

qcom,perst-regs:
description: Reference to a syscon representing TCSR followed by the two
Expand Down Expand Up @@ -124,6 +128,35 @@ allOf:
- const: sleep
- const: ref

- if:
properties:
compatible:
contains:
enum:
- qcom,sm8450-pcie-ep
then:
properties:
clocks:
items:
- description: PCIe Auxiliary clock
- description: PCIe CFG AHB clock
- description: PCIe Master AXI clock
- description: PCIe Slave AXI clock
- description: PCIe Slave Q2A AXI clock
- description: PCIe Reference clock
- description: PCIe DDRSS SF TBU clock
- description: PCIe AGGRE NOC AXI clock
clock-names:
items:
- const: aux
- const: cfg
- const: bus_master
- const: bus_slave
- const: slave_q2a
- const: ref
- const: ddrss_sf_tbu
- const: aggre_noc_axi

unevaluatedProperties: false

examples:
Expand Down

0 comments on commit 63e445b

Please sign in to comment.