PCI: cadence: Remove "cdns,max-outbound-regions" DT property
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 8 May 2020 13:06:44 +0000 (18:36 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 18 May 2020 14:52:33 +0000 (15:52 +0100)
commit9e2618c3f1a9499a921131a913b25d1347f16261
treef131beb91360351f0cf83758486102fd6ec04f2f
parentfb5f8f3ca5f853568a1872c9aeb432e1743ebd18
PCI: cadence: Remove "cdns,max-outbound-regions" DT property

"cdns,max-outbound-regions" device tree property provides the
maximum number of outbound regions supported by the Host PCIe
controller. However the outbound regions are configured based
on what is populated in the "ranges" DT property.

Avoid using two properties for configuring outbound regions and
use only "ranges" property instead.

Link: https://lore.kernel.org/r/20200508130646.23939-3-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Tom Joseph <tjoseph@cadence.com>
drivers/pci/controller/cadence/pcie-cadence-host.c
drivers/pci/controller/cadence/pcie-cadence.h