Skip to content

arm64: dts: qcom: clean up PCI function nodes

Alex Elder linux-arm-msm linux-devicetree lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyApplied
  2. v26 patches 7 repliesSuperseded
  3. v15 patches 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6arm64: dts: qcom: qcs6490-rb3gen2: clean up PCI function nodesarch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts+2 -100 replies
2/6arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: clean up PCI function nodesarch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso+4 -200 replies
3/6arm64: dts: qcom: lemans-evk-ifp-mezzanine: clean up PCI function nodesarch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso+2 -100 replies
4/6arm64: dts: qcom: monaco-evk-ifp-mezzanine: clean up PCI function nodesarch/arm64/boot/dts/qcom/monaco-evk-ifp-mezzanine.dtso+2 -100 replies
5/6arm64: dts: qcom: qcs6490-thundercomm-minipc-g1iot: clean up PCI function nodesarch/arm64/boot/dts/qcom/qcs6490-thundercomm-minipc-g1iot.dts+2 -100 replies
6/6arm64: dts: qcom: qcs8550-rb5gen2: clean up PCI function nodesarch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts+2 -100 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchManivannan SadhasivamKonrad DybcioAbel Vesa
1/6R-b R-b R-b
2/6R-b R-b R-b
3/6R-b R-b R-b
4/6R-b R-b R-b
5/6R-b R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] arm64: dts: qcom: clean up PCI function nodes

While working on upstream support for the Toshiba TC9564 SoC I discovered that the way its PCIe endpoint function nodes are defined in devicetree files is incorrect. Two issues have been pointed out during the course of review:
- Only PCI bridge device nodes should contain this property:

      device_type = "pci";

- Only bridge device nodes should be named "pcie@" (or "pci@")

The second of these was previously addressed by this series:
https://lore.kernel.org/lkml/[email protected]/
Instead, those changes are now included here.

These errors existed for the RB3gen2 platform, but five other Qualcomm devicetree files had this same mistake (all describing a TC9564 SoC).

This series removes the device_type property where it is defined for a PCI endpoint function, and renames such nodes "dev@".

The #address-cells, #size-cells, and ranges properties are also removed for these nodes. These will be restored when they are known to be needed (to implement pci-ep-bus sub-nodes).

-Alex

Between version 2 and version 3:
- Added Reviewed-by from Abel (and for the last patch, Mani)
- Renamed all nodes "dev@" rather than "pcie@" or "pci@"

Version 2 is available here:
https://lore.kernel.org/lkml/[email protected]/

Between version 1 and version 2:
- Added Reviewed-by from Mani and Konrad
- Added a patch that updates "qcs8550-rb5gen2.dts" as well

Version 1 is available here:
https://lore.kernel.org/lkml/[email protected]/

Alex Elder (6):
arm64: dts: qcom: qcs6490-rb3gen2: clean up PCI function nodes
arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: clean up PCI
function nodes
arm64: dts: qcom: lemans-evk-ifp-mezzanine: clean up PCI function
nodes
arm64: dts: qcom: monaco-evk-ifp-mezzanine: clean up PCI function
nodes
arm64: dts: qcom: qcs6490-thundercomm-minipc-g1iot: clean up PCI
function nodes
arm64: dts: qcom: qcs8550-rb5gen2: clean up PCI function nodes

 .../dts/qcom/lemans-evk-ifp-mezzanine.dtso    | 12 ++--------
 .../dts/qcom/monaco-evk-ifp-mezzanine.dtso    | 12 ++--------
 .../qcs6490-rb3gen2-industrial-mezzanine.dtso | 24 ++++---------------
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts  | 12 ++--------
 .../qcom/qcs6490-thundercomm-minipc-g1iot.dts | 12 ++--------
 arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts  | 12 ++--------
 6 files changed, 14 insertions(+), 70 deletions(-)

base-commit: cee9395acd8043be0644b25c34bfa86623f2b935

Signature · 1 line
2.53.0