From a1cd70e4c4d3626fa38109b447c418d9f8af76e1 Mon Sep 17 00:00:00 2001 From: Tony Truong Date: Wed, 17 Feb 2021 14:39:09 -0800 Subject: [PATCH 1/2] dt-bindings: arm: msm: remove deprecated io and bar entries for PCIe PCIe root complex driver does not support io and bar entries as part of the resources which it will remap and access. These two resources are mapped and accessed directly by the device host driver. Also remove optional entries tcsr and rumi in the example code. Change-Id: I424ec43373f4aaf949a002f0ea69ec2bbccafe18 --- bindings/pci/pci-msm.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bindings/pci/pci-msm.txt b/bindings/pci/pci-msm.txt index 27741ba20e1c..c66bedf20c43 100644 --- a/bindings/pci/pci-msm.txt +++ b/bindings/pci/pci-msm.txt @@ -24,8 +24,6 @@ Main node - "elbi" External local bus interface registers - "iatu" Internal translation unit registers - "config" PCIe device configuration space - - "io" PCIe device I/O registers - - "bars" PCIe device base address registers - "tcsr" (opt) PCIe clock scheme register - "rumi" (opt) PCIe RUMI register @@ -440,11 +438,8 @@ Example <0x60000000 0xf1d>, <0x60000f20 0xa8>, <0x60001000 0x1000>, - <0x60100000 0x100000>, - <0x60200000 0x100000>, - <0x60300000 0x3d00000>; - reg-names = "parf", "phy", "dm_core", "elbi", "iatu", "conf", - "io", "bars", "tcsr", "rumi"; + <0x60100000 0x100000>; + reg-names = "parf", "phy", "dm_core", "elbi", "iatu", "conf"; cell-index = <0>; device_type = "pci"; From d252283f7a16915076a1136bb4f1d6ba32debc7c Mon Sep 17 00:00:00 2001 From: Tony Truong Date: Wed, 17 Feb 2021 14:46:44 -0800 Subject: [PATCH 2/2] dt-bindings: arm: msm: add mhi registers entry for PCIe RC PCIe root complex driver may need access to MHI registers for certain use case. Therefore, add an optional entry in the list of PCIe resources to provide access to MHI register space. Change-Id: Ifa704e198bc0e7b8f3dca9d726cfaa819973162e --- bindings/pci/pci-msm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/pci/pci-msm.txt b/bindings/pci/pci-msm.txt index c66bedf20c43..22f05045e34c 100644 --- a/bindings/pci/pci-msm.txt +++ b/bindings/pci/pci-msm.txt @@ -24,6 +24,7 @@ Main node - "elbi" External local bus interface registers - "iatu" Internal translation unit registers - "config" PCIe device configuration space + - "mhi" (opt) PCIe MHI registers - "tcsr" (opt) PCIe clock scheme register - "rumi" (opt) PCIe RUMI register