choice
	prompt "Intel IPU driver version selection"
	depends on ACPI
	default VIDEO_INTEL_IPUv4
	help
	  There are two versions of the Intel IPU driver available. However
	  both version cannot be built at the same time due to namespace
	  collisions. This choice allows selection of the Intel IPU
	  driver version to be built while avoiding circular dependencies
	  between the v4 and v5 configuration variables.

config VIDEO_INTEL_IPUv4
	bool "Intel IPUv4"
	help
	  Select this option to enable building the Intel intel-ipu4 driver
	  version (VIDEO_INTEL_IPU4). The VIDEO_INTEL_IPU4 variable depends
	  on VIDEO_INTEL_IPUv4 which allows building the Intel intel-ipu4
	  driver version while avoiding circular dependencies between the
	  v4 and v5 configuration variables.

config VIDEO_INTEL_IPUv5
	bool "Intel IPUv5"
	help
	  Select this option to enable building the Intel intel-ipu5 driver
	  version (VIDEO_INTEL_IPU5). The VIDEO_INTEL_IPU5 variable depends
	  on VIDEO_INTEL_IPUv5 which allows building the Intel intel-ipu5
	  driver version while avoiding circular dependencies between the
	  v4 and v5 configuration variables.

endchoice

config VIDEO_INTEL_IPU4
	tristate "Intel intel-ipu4 driver"
	depends on VIDEO_INTEL_IPUv4 && X86
	select IOMMU_API
	select IOMMU_IOVA
	select X86_DEV_DMA_OPS if X86
	select VIDEOBUF2_DMA_CONTIG
	select PHYS_ADDR_T_64BIT
	select COMMON_CLK
	select VIDEO_V4L2_SUBDEV_API
	select MEDIA_CONTROLLER
	---help---
	Say Y here!

choice
	prompt "intel-ipu4 hardware type"
	depends on VIDEO_INTEL_IPU4
	default VIDEO_INTEL_IPU4_SOC

config VIDEO_INTEL_IPU4_SOC
	bool "Compile for SOC"

config VIDEO_INTEL_IPU4_FPGA
	bool "Compile for FPGA"

config VIDEO_INTEL_IPU4_ISYS_FPGA
	bool "Compile for ISYS-only FPGA"

config VIDEO_INTEL_IPU4_PSYS_FPGA
	bool "Compile for PSYS-only FPGA"

endchoice

config VIDEO_INTEL_IPU5
	tristate "Intel intel-ipu5 driver"
	depends on VIDEO_INTEL_IPUv5
	select IOMMU_API
	select IOMMU_IOVA
	select X86_DEV_DMA_OPS if X86
	select VIDEOBUF2_DMA_CONTIG
	select PHYS_ADDR_T_64BIT
	select COMMON_CLK
	---help---
	Say Y here!

choice
	prompt "intel-ipu5 hardware type"
	depends on VIDEO_INTEL_IPU5
	default VIDEO_INTEL_IPU5_FPGA

config VIDEO_INTEL_IPU5_FPGA
	bool "Compile for FPGA"

endchoice


config VIDEO_INTEL_IPU4_DEBUG
	tristate "User space interface for firmware testing"
	depends on VIDEO_INTEL_IPU4
