提交 8dffa879 编写于 作者: M Manivannan Sadhasivam 提交者: Bjorn Helgaas

dt-bindings: PCI: qcom-ep: Define clocks per platform

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.orgSigned-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: NLorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: NKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
上级 aa4b1753
...@@ -9,9 +9,6 @@ title: Qualcomm PCIe Endpoint Controller binding ...@@ -9,9 +9,6 @@ title: Qualcomm PCIe Endpoint Controller binding
maintainers: maintainers:
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
allOf:
- $ref: "pci-ep.yaml#"
properties: properties:
compatible: compatible:
const: qcom,sdx55-pcie-ep const: qcom,sdx55-pcie-ep
...@@ -35,24 +32,10 @@ properties: ...@@ -35,24 +32,10 @@ properties:
- const: mmio - const: mmio
clocks: clocks:
items: maxItems: 7
- 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: clock-names:
items: maxItems: 7
- const: aux
- const: cfg
- const: bus_master
- const: bus_slave
- const: slave_q2a
- const: sleep
- const: ref
qcom,perst-regs: qcom,perst-regs:
description: Reference to a syscon representing TCSR followed by the two description: Reference to a syscon representing TCSR followed by the two
...@@ -112,6 +95,35 @@ required: ...@@ -112,6 +95,35 @@ required:
- reset-names - reset-names
- power-domains - 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 unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册