firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_pci_host_Kcon...

29 lines
878 B
Diff

diff -drupN a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
--- a/drivers/pci/host/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/pci/host/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -301,4 +301,24 @@ config VMD
To compile this driver as a module, choose M here: the
module will be called vmd.
+config PCIE_SUNXI_PLAT
+ bool "Platform bus based Allwiner PCIe Controller"
+ depends on PCI_MSI_IRQ_DOMAIN
+ depends on ARCH_SUN50IW6
+ select PCIE_DW
+ ---help---
+ This selects the Allwiner PCIe controller support. Select this if
+ you have a PCIe controller on Platform bus.
+
+ If you have a controller with this interface, say Y or M here.
+
+ If unsure, say N.
+
+config PCIE_SUNXI_EXTERNAL_CLOCK
+ bool "use PCIe enternal clock"
+ depends on PCIE_SUNXI_PLAT
+ default n
+ ---help---
+ If using an external clock, say y.
+
endmenu