# SPDX-License-Identifier: GPL-2.0
config PHYTIUM_NPU
	tristate "Phytium neural network processing unit"
	    help
		Say Y here if your want support for Phytium NPU controller framework.
		This is common support for devices that embed the Phytium NPU IP.

		To compile this driver as a module, choose M here: the module will be
		called phytium_npu

if PHYTIUM_NPU

config PHYTIUM_NPU_PLATFORM
	tristate "Phytium NPU platform support"
	depends on ARCH_PHYTIUM && (ACPI || OF)
	depends on PHYTIUM_NPU
	    help
		Say Y here if you want to support for IO Mapped Phytium NPU controller.
		This support is for devices that have the Phytium NPU controller IP.

		To compile this driver as a module, choose M here: the module will be
		called phytium_npu_platform.

config PHYTIUM_NPU_PCI
	tristate "Phytium NPU PCI support"
	depends on PCI
	depends on PHYTIUM_NPU
	    help
		Say Y here if you want to support for Phytium NPU controller connected
		to the PCI bus. This support is for devices that have the Phytium NPU
		controller IP embedded into a PCI device.

		To compile this driver as a module, choose M here: the module will be
		called phytium_npu_pci.

endif
