PCI: brcmstb: Add Broadcom STB PCIe host controller driver
authorJim Quinlan <james.quinlan@broadcom.com>
Mon, 16 Dec 2019 11:01:09 +0000 (12:01 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:26 +0000 (16:33 +0100)
commitcf83edf71fd12bf99bd9bd48c7fd559e6ce1bbf5
treed6c55be0d89cfd9ddf976ed62a48de4ad16df490
parent374052ffa9bc1a19838f5fe2ff89ae76b303d110
PCI: brcmstb: Add Broadcom STB PCIe host controller driver

commit c0452137034bda8f686dd9a2e167949bfffd6776 upstream.

This adds a basic driver for Broadcom's STB PCIe controller, for now
aimed at Raspberry Pi 4's SoC, bcm2711.

Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Co-developed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
[lorenzo.pieralisi@arm.com: updated brcm_pcie_get_rc_bar2_size_and_offset()according to https://lore.kernel.org/linux-pci/be8ddb33a7360af1815cf686f77f3f0913d02be3.camel@suse.de]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
drivers/pci/controller/Kconfig
drivers/pci/controller/Makefile
drivers/pci/controller/pcie-brcmstb.c [new file with mode: 0644]