diff options
author | Vidya Sagar <vidyas@nvidia.com> | 2018-09-20 05:45:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-22 07:04:34 -0400 |
commit | 5a51f0725e250ea519bbb1ab976c6d824677d855 (patch) | |
tree | 996a1b8c262cbf983cab96fcca9f47bb35756436 | |
parent | f9141a779011e2768fa05fd540f14adcfb9934eb (diff) |
PCI: use upstream name for num-lanes
replaces "nvidia,num-lanes" with "num-lanes" to be
in line with upstream implementation
Bug 2312059
Change-Id: I810b35f78af86e02e06a5215781d4ac1b2278832
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1834791
GVS: Gerrit_Virtual_Submit
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | Documentation/devicetree/bindings/pci/nvidia,tegra19x-pcie-ep.txt | 2 | ||||
-rw-r--r-- | drivers/pci/ep/pcie-tegra-dw-ep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra19x-pcie-ep.txt b/Documentation/devicetree/bindings/pci/nvidia,tegra19x-pcie-ep.txt index b63668db9..5fbabb018 100644 --- a/Documentation/devicetree/bindings/pci/nvidia,tegra19x-pcie-ep.txt +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra19x-pcie-ep.txt | |||
@@ -56,7 +56,7 @@ Required properties: | |||
56 | 0x0 - C0 | 56 | 0x0 - C0 |
57 | 0x4 - C4 | 57 | 0x4 - C4 |
58 | 0x5 - C5 | 58 | 0x5 - C5 |
59 | - nvidia,num-lanes: Must contain an entry to represent number of lanes | 59 | - num-lanes: Must contain an entry to represent number of lanes |
60 | controller is given to get the link up | 60 | controller is given to get the link up |
61 | 61 | ||
62 | Optional properties: | 62 | Optional properties: |
diff --git a/drivers/pci/ep/pcie-tegra-dw-ep.c b/drivers/pci/ep/pcie-tegra-dw-ep.c index 868e4eb66..5071f4738 100644 --- a/drivers/pci/ep/pcie-tegra-dw-ep.c +++ b/drivers/pci/ep/pcie-tegra-dw-ep.c | |||
@@ -1313,7 +1313,7 @@ static int tegra_pcie_dw_ep_probe(struct platform_device *pdev) | |||
1313 | 1313 | ||
1314 | pcie->dev = &pdev->dev; | 1314 | pcie->dev = &pdev->dev; |
1315 | 1315 | ||
1316 | ret = of_property_read_u32(np, "nvidia,num-lanes", &pcie->num_lanes); | 1316 | ret = of_property_read_u32(np, "num-lanes", &pcie->num_lanes); |
1317 | if (ret < 0) { | 1317 | if (ret < 0) { |
1318 | dev_err(pcie->dev, "fail to read num-lanes: %d\n", ret); | 1318 | dev_err(pcie->dev, "fail to read num-lanes: %d\n", ret); |
1319 | return ret; | 1319 | return ret; |