# SPDX-License-Identifier: GPL-2.0

menu "Horizon Sigiria PCIe support"
	depends on PCI

config PCIE_HOBOT
	tristate "Horizon sigi PCIe host and EP"
	select PCI_DOMAINS
	select PCI_DOMAINS_GENERIC
	select PCI_SYSCALL
	select PCIEPORTBUS
	select PCIEAER
	select PCIEASPM
	select PCIE_PTM
	select PCI_MSI
	select PCI_MSI_IRQ_DOMAIN
	select PCI_QUIRKS
	select PCI_DEBUG
	select PCI_REALLOC_ENABLE_AUTO
	select PCI_IOV

config PCIE_HOBOT_REDRIVER
    bool "Horizon pcie redriver for hdc board"
    help
      Say Y here if you want kernel to support pcie redriver of hdc board.

config PCIE_HOBOT_RC
	tristate "Horizon Sigiria SoC PCIe RC driver"
	select PCIE_HOBOT
	help
	  Say Y here if you want kernel to support the Sigiria PCIe
	  Host driver.

config PCIE_HOBOT_EP
	tristate "Horizon Sigiria SoC PCIe EP driver"
	select PCIE_HOBOT
	help
	  Say Y here if you want kernel to support the Sigiria PCIe
	  Endpoint controller and basic function driver.

config PCIE_HOBOT_EP_FUN
	tristate "Horizon Sigiria SoC PCIe EP function driver"
	depends on PCIE_HOBOT_EP
	help
	  Say Y here if you want kernel to support the Sigiria PCIe
	  Endpoint basic function driver.

config PCIE_HOBOT_EP_FUN_VNET
	bool "Horizon Sigiria SoC PCIe EP vnet function"
	depends on PCIE_HOBOT_EP_FUN
	help
	  Say Y here if you want kernel to support vnet function.

config PCIE_HOBOT_EP_DEV
	tristate "Horizon Sigiria SoC PCIe EP device drivers"
	help
	   Enable this configuration option to enable the Horizon Sigiria
	   PCIe EP device drivers.

config PCIE_HOBOT_EP_DEV_VNET
	bool "Horizon Sigiria SoC PCIe EP vnet device drivers"
	depends on PCIE_HOBOT_EP_DEV
	help
	   Enable this configuration option to enable the Horizon Sigiria
	   PCIe EP vnet device drivers.

config PCIE_HOBOT_EP_DEV_MAN
	tristate "Horizon Sigiria SoC PCIe EP device manager"
	depends on PCIE_HOBOT_EP_DEV
	help
	   Enable this configuration option to enable the Horizon Sigiria
	   PCIe EP device manager.

config PCIE_HOBOT_DEBUG
	bool "Horizon Sigiria SoC PCIe debug support"
	help
	  Say Y here if you want kernel to support the Sigiria PCIe
	  debug information.

endmenu
