Skip to content

Commit 63e445b

Browse files
Mani-Sadhasivambjorn-helgaas
authored andcommitted
dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC
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>
1 parent 8dffa87 commit 63e445b

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
const: qcom,sdx55-pcie-ep
14+
enum:
15+
- qcom,sdx55-pcie-ep
16+
- qcom,sm8450-pcie-ep
1517

1618
reg:
1719
items:
@@ -32,10 +34,12 @@ properties:
3234
- const: mmio
3335

3436
clocks:
35-
maxItems: 7
37+
minItems: 7
38+
maxItems: 8
3639

3740
clock-names:
38-
maxItems: 7
41+
minItems: 7
42+
maxItems: 8
3943

4044
qcom,perst-regs:
4145
description: Reference to a syscon representing TCSR followed by the two
@@ -124,6 +128,35 @@ allOf:
124128
- const: sleep
125129
- const: ref
126130

131+
- if:
132+
properties:
133+
compatible:
134+
contains:
135+
enum:
136+
- qcom,sm8450-pcie-ep
137+
then:
138+
properties:
139+
clocks:
140+
items:
141+
- description: PCIe Auxiliary clock
142+
- description: PCIe CFG AHB clock
143+
- description: PCIe Master AXI clock
144+
- description: PCIe Slave AXI clock
145+
- description: PCIe Slave Q2A AXI clock
146+
- description: PCIe Reference clock
147+
- description: PCIe DDRSS SF TBU clock
148+
- description: PCIe AGGRE NOC AXI clock
149+
clock-names:
150+
items:
151+
- const: aux
152+
- const: cfg
153+
- const: bus_master
154+
- const: bus_slave
155+
- const: slave_q2a
156+
- const: ref
157+
- const: ddrss_sf_tbu
158+
- const: aggre_noc_axi
159+
127160
unevaluatedProperties: false
128161

129162
examples:

0 commit comments

Comments
 (0)