Skip to content

Commit 9d3d5e7

Browse files
Mrinmay Sarkarbjorn-helgaas
authored andcommitted
dt-bindings: PCI: qcom-ep: Add support for SA8775P SoC
Add devicetree bindings support for SA8775P SoC. It has DMA register space and dma interrupt to support HDMA. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Mrinmay Sarkar <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]>
1 parent 652935b commit 9d3d5e7

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

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

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,41 @@ properties:
1313
compatible:
1414
oneOf:
1515
- enum:
16+
- qcom,sa8775p-pcie-ep
1617
- qcom,sdx55-pcie-ep
1718
- qcom,sm8450-pcie-ep
1819
- items:
1920
- const: qcom,sdx65-pcie-ep
2021
- const: qcom,sdx55-pcie-ep
2122

2223
reg:
24+
minItems: 6
2325
items:
2426
- description: Qualcomm-specific PARF configuration registers
2527
- description: DesignWare PCIe registers
2628
- description: External local bus interface registers
2729
- description: Address Translation Unit (ATU) registers
2830
- description: Memory region used to map remote RC address space
2931
- description: BAR memory region
32+
- description: DMA register space
3033

3134
reg-names:
35+
minItems: 6
3236
items:
3337
- const: parf
3438
- const: dbi
3539
- const: elbi
3640
- const: atu
3741
- const: addr_space
3842
- const: mmio
43+
- const: dma
3944

4045
clocks:
41-
minItems: 7
46+
minItems: 5
4247
maxItems: 8
4348

4449
clock-names:
45-
minItems: 7
50+
minItems: 5
4651
maxItems: 8
4752

4853
qcom,perst-regs:
@@ -57,14 +62,18 @@ properties:
5762
- description: Perst separation enable offset
5863

5964
interrupts:
65+
minItems: 2
6066
items:
6167
- description: PCIe Global interrupt
6268
- description: PCIe Doorbell interrupt
69+
- description: DMA interrupt
6370

6471
interrupt-names:
72+
minItems: 2
6573
items:
6674
- const: global
6775
- const: doorbell
76+
- const: dma
6877

6978
reset-gpios:
7079
description: GPIO used as PERST# input signal
@@ -125,6 +134,10 @@ allOf:
125134
- qcom,sdx55-pcie-ep
126135
then:
127136
properties:
137+
reg:
138+
maxItems: 6
139+
reg-names:
140+
maxItems: 6
128141
clocks:
129142
items:
130143
- description: PCIe Auxiliary clock
@@ -143,6 +156,10 @@ allOf:
143156
- const: slave_q2a
144157
- const: sleep
145158
- const: ref
159+
interrupts:
160+
maxItems: 2
161+
interrupt-names:
162+
maxItems: 2
146163

147164
- if:
148165
properties:
@@ -152,6 +169,10 @@ allOf:
152169
- qcom,sm8450-pcie-ep
153170
then:
154171
properties:
172+
reg:
173+
maxItems: 6
174+
reg-names:
175+
maxItems: 6
155176
clocks:
156177
items:
157178
- description: PCIe Auxiliary clock
@@ -172,6 +193,45 @@ allOf:
172193
- const: ref
173194
- const: ddrss_sf_tbu
174195
- const: aggre_noc_axi
196+
interrupts:
197+
maxItems: 2
198+
interrupt-names:
199+
maxItems: 2
200+
201+
- if:
202+
properties:
203+
compatible:
204+
contains:
205+
enum:
206+
- qcom,sa8775p-pcie-ep
207+
then:
208+
properties:
209+
reg:
210+
minItems: 7
211+
maxItems: 7
212+
reg-names:
213+
minItems: 7
214+
maxItems: 7
215+
clocks:
216+
items:
217+
- description: PCIe Auxiliary clock
218+
- description: PCIe CFG AHB clock
219+
- description: PCIe Master AXI clock
220+
- description: PCIe Slave AXI clock
221+
- description: PCIe Slave Q2A AXI clock
222+
clock-names:
223+
items:
224+
- const: aux
225+
- const: cfg
226+
- const: bus_master
227+
- const: bus_slave
228+
- const: slave_q2a
229+
interrupts:
230+
minItems: 3
231+
maxItems: 3
232+
interrupt-names:
233+
minItems: 3
234+
maxItems: 3
175235

176236
unevaluatedProperties: false
177237

0 commit comments

Comments
 (0)