Skip to content

Commit

Permalink
dt-bindings: PCI: qcom-ep: Define clocks per platform
Browse files Browse the repository at this point in the history
In preparation for adding the bindings for future SoCs, define the
clocks per platform.

Link: https://lore.kernel.org/r/20220914075350.7992-11-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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
  • Loading branch information
Manivannan Sadhasivam authored and Bjorn Helgaas committed Oct 5, 2022
1 parent aa4b175 commit 8dffa87
Showing 1 changed file with 31 additions and 19 deletions.
50 changes: 31 additions & 19 deletions Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ title: Qualcomm PCIe Endpoint Controller binding
maintainers:
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

allOf:
- $ref: "pci-ep.yaml#"

properties:
compatible:
const: qcom,sdx55-pcie-ep
Expand All @@ -35,24 +32,10 @@ properties:
- const: mmio

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 Sleep clock
- description: PCIe Reference clock
maxItems: 7

clock-names:
items:
- const: aux
- const: cfg
- const: bus_master
- const: bus_slave
- const: slave_q2a
- const: sleep
- const: ref
maxItems: 7

qcom,perst-regs:
description: Reference to a syscon representing TCSR followed by the two
Expand Down Expand Up @@ -112,6 +95,35 @@ required:
- reset-names
- power-domains

allOf:
- $ref: pci-ep.yaml#
- if:
properties:
compatible:
contains:
enum:
- qcom,sdx55-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 Sleep clock
- description: PCIe Reference clock
clock-names:
items:
- const: aux
- const: cfg
- const: bus_master
- const: bus_slave
- const: slave_q2a
- const: sleep
- const: ref

unevaluatedProperties: false

examples:
Expand Down

0 comments on commit 8dffa87

Please sign in to comment.