PCI: dwc/meson: Rework PCI config and DW port logic register accesses
authorRob Herring <robh@kernel.org>
Fri, 21 Aug 2020 03:54:07 +0000 (21:54 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Sep 2020 15:37:02 +0000 (16:37 +0100)
commit2f2cea1ea70ac25096bd63039b38bb8ec6a887b6
tree5e6b2c3553f368686be8eb5256103525f7bf774f
parent15efab2b8934f9950eff083c23c7f03c382a5f86
PCI: dwc/meson: Rework PCI config and DW port logic register accesses

The meson 'elbi' registers are just the Designware 'dbi' space and all
the registers accessed are either standard PCI config space or DWC port
logic registers. Convert the accesses to use the common defines and
register accessors.

Link: https://lore.kernel.org/r/20200821035420.380495-28-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Yue Wang <yue.wang@Amlogic.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Cc: linux-amlogic@lists.infradead.org
drivers/pci/controller/dwc/pci-meson.c