# SPDX-License-Identifier: GPL-2.0-only
#
# Misc strange devices
#

menu "Misc devices"



config FT_LPC
	bool "select LPC for phytium platform"
	depends on ARCH_PHYTIUM
	default y
	select IRQ_DOMAIN
	select GENERIC_IRQ_CHIP
	help
	  This option enables LPC for phytium platform.

config FT_MCUINFO
	bool "Get mcuinfo for phytium platform"
	depends on ARCH_PHYTIUM
	help
	  This option enables to get mcuinfo for phytium platform.
	  for instance, Get MAC address from EEPROM.

config LS_SPIFLASH
        tristate "LS SPI FLASH SUPPORT"
        depends on SPI && (CPU_LOONGSON3 || CPU_LOONGSON64)
        default y
        help
        SPI flash driver for the Loongson platform

config PHYTIUM_POWER_MONITOR
	tristate "Phytium power monitor support"
	depends on ARCH_PHYTIUM
	default m
	help
	  Select this option will enable the power monitor driver in
	  Phytium platform, allowing user to obtain power information
	  in SoC through procfs, such as power consumption, voltage.

	  If unsure, say N.

source "drivers/misc/eeprom/Kconfig"
endmenu
