PCI: mediatek: Add new method to get shared pcie-cfg base address
authorChuanjia Liu <chuanjia.liu@mediatek.com>
Mon, 23 Aug 2021 03:27:56 +0000 (11:27 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 26 Aug 2021 12:48:27 +0000 (13:48 +0100)
commit87e8657ba99cac87b84c7f8ead91b44d88345504
tree646d73894093619886632029b25b205582918839
parentaa6eca5b81663a59e1a8765481eb48fa2edfab05
PCI: mediatek: Add new method to get shared pcie-cfg base address

For the new dts format, add a new method to get
shared pcie-cfg base address and use it to configure
the PCIECFG controller

Link: https://lore.kernel.org/r/20210823032800.1660-3-chuanjia.liu@mediatek.com
Signed-off-by: Chuanjia Liu <chuanjia.liu@mediatek.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
drivers/pci/controller/pcie-mediatek.c