Skip to content

arm64: dts: qcom: use pci for device nodes

Alex Elder linux-arm-msm linux-devicetree lkml sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5arm64: dts: qcom: qcs6490-rb3gen2: use pci for device nodesarch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts+2 -25 replies
2/5arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: use pci for device nodesarch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso+4 -40 replies
3/5arm64: dts: qcom: lemans-evk-ifp-mezzanine: use pci for device nodesarch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso+2 -20 replies
4/5arm64: dts: qcom: monaco-evk-ifp-mezzanine: use dev for device nodesarch/arm64/boot/dts/qcom/monaco-evk-ifp-mezzanine.dtso+2 -21 reply
5/5arm64: dts: qcom: qcs6490-thundercomm-minipc-g1iot: use dev for device nodesarch/arm64/boot/dts/qcom/qcs6490-thundercomm-minipc-g1iot.dts+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] arm64: dts: qcom: use pci for device nodes

A recent change caused the embedded PCIe endpoints on TC9564 SoCs to be treated by the devicetree code as PCI buses, which is incorrect.

The TC9564 includes a PCIe switch with one upstream port and two downstream (external) ports, plus a third downstream port. The third port has an embedded PCIe endpoint with two functions, each providing access to a 10 Gbps capable Ethernet interface.

The devicetree nodes representing these functions were previously named "pci@" but were renamed in the interest of consistency in commit e806c63ba51a7 ("arm64: dts: qcom: Rename pci@ nodes to pcie@").

This unfortunately changed the way the devicetree code treats the nodes, because of_bus_pci_match() considers any node named pcie@ that has no device_type property to be a PCI bus.

The previous name "pci" matched such nodes as "default-flags" bus type (defined in the of_busses[] array). This series restores the previous behavior for these endpoint nodes.

-Alex

Alex Elder (5):
arm64: dts: qcom: qcs6490-rb3gen2: use pci for device nodes
arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: use pci for
device nodes
arm64: dts: qcom: lemans-evk-ifp-mezzanine: use pci for device nodes
arm64: dts: qcom: monaco-evk-ifp-mezzanine: use dev for device nodes
arm64: dts: qcom: qcs6490-thundercomm-minipc-g1iot: use dev for device
nodes

 arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso    | 4 ++--
 arch/arm64/boot/dts/qcom/monaco-evk-ifp-mezzanine.dtso    | 4 ++--
 .../dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso    | 8 ++++----
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts              | 4 ++--
 .../boot/dts/qcom/qcs6490-thundercomm-minipc-g1iot.dts    | 4 ++--
 5 files changed, 12 insertions(+), 12 deletions(-)

base-commit: cee9395acd8043be0644b25c34bfa86623f2b935

Signature · 1 line
2.53.0