]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite729f29f1750e62502032e55ce85297cb17c9c02
treef131beb91360351f0cf83758486102fd6ec04f2f
parentb68997848ada78c0d3b5e0239a4ed60594ade696
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