Skip to content

Commit e590ad2

Browse files
Krishna chaitanya chundrukwilczynski
authored andcommitted
dt-bindings: PCI: qcom: ep: Add interconnects path
Some platforms may not boot if a device driver doesn't initialize the interconnect path. Mostly it is handled by the bootloader but we have starting to see cases where bootloader simply ignores them. Add the "pcie-mem" & "cpu-pcie" interconnect path as a required property to the bindings. Link: https://lore.kernel.org/linux-pci/1689751218-24492-2-git-send-email-quic_krichai@quicinc.com Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
1 parent 823de40 commit e590ad2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ properties:
7171
description: GPIO used as WAKE# output signal
7272
maxItems: 1
7373

74+
interconnects:
75+
maxItems: 2
76+
77+
interconnect-names:
78+
items:
79+
- const: pcie-mem
80+
- const: cpu-pcie
81+
7482
resets:
7583
maxItems: 1
7684

@@ -98,6 +106,8 @@ required:
98106
- interrupts
99107
- interrupt-names
100108
- reset-gpios
109+
- interconnects
110+
- interconnect-names
101111
- resets
102112
- reset-names
103113
- power-domains
@@ -167,7 +177,9 @@ examples:
167177
- |
168178
#include <dt-bindings/clock/qcom,gcc-sdx55.h>
169179
#include <dt-bindings/gpio/gpio.h>
180+
#include <dt-bindings/interconnect/qcom,sdx55.h>
170181
#include <dt-bindings/interrupt-controller/arm-gic.h>
182+
171183
pcie_ep: pcie-ep@1c00000 {
172184
compatible = "qcom,sdx55-pcie-ep";
173185
reg = <0x01c00000 0x3000>,
@@ -194,6 +206,9 @@ examples:
194206
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
195207
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
196208
interrupt-names = "global", "doorbell";
209+
interconnects = <&system_noc MASTER_PCIE &mc_virt SLAVE_EBI_CH0>,
210+
<&mem_noc MASTER_AMPSS_M0 &system_noc SLAVE_PCIE_0>;
211+
interconnect-names = "pcie-mem", "cpu-pcie";
197212
reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
198213
wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>;
199214
resets = <&gcc GCC_PCIE_BCR>;

0 commit comments

Comments
 (0)