menu "Pixelworks platform options"
	depends on ARCH_PIXELWORKS

config SS_IPC_TIMER
	bool
	select CLKSRC_MMIO
	select HAVE_SCHED_CLOCK


choice
	prompt "Pixelworks SoC type"

config ARCH_PIXELWORKS_TOPAZ
	bool "Pixelworks Topaz SoC"
	select CPU_ARM926T
	select ARM_TIMER_SP804
	select COMMON_CLK
	help
	 Include support for PWC878, PWC868, PW878, PW868 and similar.

config ARCH_PIXELWORKS_TOPAZEH
	bool "Pixelworks Topazeh SoC"
	select CPU_V6K
	select SS_IPC_TIMER
	select MIGHT_HAVE_CACHE_L2X0
	select COMMON_CLK
	select CLKSRC_OF
	help
	 Include support for Topazeh.

endchoice

choice
	prompt "Pixelworks Topaz platform type"
	depends on ARCH_PIXELWORKS_TOPAZ

config MACH_PIXELWORKS_TOPAZ_EVAL
	bool "PWC878 evaluation board"

endchoice

choice
	prompt "Pixelworks Topazeh platform type"
	depends on ARCH_PIXELWORKS_TOPAZEH

config MACH_PIXELWORKS_TOPAZEH_FPGA
	bool "Topazeh FPGA"

config MACH_PIXELWORKS_TOPAZEH_EVAL
       bool "Topazeh Evaluation Board"

endchoice

config PIXELWORKS_USIRQ
       tristate "Pixelworks userspace irq handling ioctl API"
       help
         Enable ioctl API which allows to handle interrupts
         in userspace.

config PIXELWORKS_GPIO
	tristate "Pixelworks GPIO ioctl API"
	help
	  Control GPIOs from usersapce using Pixelworks' ioctl API,

config PIXELWORKS_WATCHDOG
       tristate "Pixelworks Watchdog Timer Driver"
       depends on WATCHDOG
       help
        Driver for Pixelworks watchdog timer.

config PIXELWORKS_2WIRESLAVE
       tristate "Pixelworks 2wire slave Driver"
       help
        Driver for Pixelworks 2wire slave.

config PIXELWORKS_I2S
       tristate "Pixelworks I2S PCM audio Driver"
       depends on SND
       select SND_HWDEP
       help
        Driver for Pixelworks I2S delay and PCM record + playback.

endmenu
