PCI: tegra: Add AFI_PEX2_CTRL reg offset as part of SoC struct
authorManikanta Maddireddy <mmaddireddy@nvidia.com>
Tue, 18 Jun 2019 18:02:00 +0000 (23:32 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 20 Jun 2019 16:40:48 +0000 (17:40 +0100)
commitadb2653b3d2e91e3053c807710615f532781b61f
tree6b00a92675ebed1c46c26ded916467dad037abc8
parentc894121d014260af3fd199e1d2a56d4af5ff8ba9
PCI: tegra: Add AFI_PEX2_CTRL reg offset as part of SoC struct

Tegra186 and Tegra30 have three PCIe root ports. AFI_PEX2_CTRL register
is defined for third root port. Offset of this register in Tegra186 is
different from Tegra30, so add the offset as part of SoC data structure.

Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/pci/controller/pci-tegra.c