# SPDX-License-Identifier: GPL-2.0-only
menuconfig CAN_PHYTIUM
	tristate "Phytium CAN support"
	help
	  Say Y here if you want support for Phytium CAN controller framework.
	  This is common support for devices that embed the Phytium CAN IP.

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

if CAN_PHYTIUM

config CAN_PHYTIUM_PLATFORM
	tristate "Phytium CAN support for io-mapped devices"
	depends on HAS_IOMEM
	help
	  Say Y here is you want to support for IO Mapped Phytium CAN controller.
	  This support is for devices that have the Phytium CAN controller IP
	  embedded into the device and the IP is IO Mapped to the processor.

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

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

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