menu "TOUCHSCREEN PARADE"

config TOUCHSCREEN_PARADE
	tristate "Parade TrueTouch Gen5 Touchscreen Driver"
	select TOUCHSCREEN_PARADE_DEVICETREE_SUPPORT
	select TOUCHSCREEN_PARADE_I2C
	#select TOUCHSCREEN_PARADE_MT_B
	#select TOUCHSCREEN_PARADE_LOADER
	#select TOUCHSCREEN_PARADE_BINARY_FW_UPGRADE
	#select TOUCHSCREEN_PARADE_DEVICE_ACCESS
	help
	  Core driver for Parade TrueTouch(tm) Standard Product
	  Geneartion5 touchscreen controllers.

	  Say Y here if you have a Parade Gen5 touchscreen.

	  If unsure, say N.

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

config TOUCHSCREEN_PARADE_DEVICETREE_SUPPORT
	bool "Enable Device Tree support"
	default y
	help
	  Say Y here to enable support for device tree.

	  If unsure, say Y.

	  If this option is not selected a board config file must
	  be present.

config TOUCHSCREEN_PARADE_I2C
	tristate "Enable Parade TrueTouch I2C"
	default y
	help
	  Say Y here to enable I2C bus interface to Parade TrueTouch(tm)
	  Standard Product touchscreen controller.

	  If unsure, say Y.

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

choice
	bool "Parade TrueTouch MultiTouch Protocol"
	depends on TOUCHSCREEN_PARADE
	default TOUCHSCREEN_PARADE_MT_B
	help
	  This option controls which MultiTouch protocol will be used to
	  report the touch events. Protocol B reduces the amount of data
	  that is sent to userspace.

	  If unsure select Protocol B.

config TOUCHSCREEN_PARADE_MT_A
	bool "Protocol A"
	help
	  Select to enable MultiTouch touch reporting using protocol A
	  on Parade TrueTouch(tm) Standard Product touchscreen
	  controller.

	  If unsure select Protocol B.

config TOUCHSCREEN_PARADE_MT_B
	bool "Protocol B"
	help
	  Select to enable MultiTouch touch reporting using protocol B
	  on Parade TrueTouch(tm) Standard Product touchscreen
	  controller.

	  If unsure select Protocol B.

endchoice

config TOUCHSCREEN_PARADE_LOADER
	tristate "Parade TrueTouch MultiTouch Loader"
	depends on TOUCHSCREEN_PARADE
	help
	  Say Y here to enable Parade TrueTouch(tm) Standard Product
	  touchscreen controller FW Loader module.

	  This module enables support for Firmware upgrade.

	  If unsure, say Y.

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

config TOUCHSCREEN_PARADE_BINARY_FW_UPGRADE
	bool "FW upgrade from binary file"
	depends on TOUCHSCREEN_PARADE_LOADER
	help
	  Say Y here to include Parade TrueTouch(tm) Standard Product
	  device Firmware into kernel as binary blob.

	  This should be enabled for manual FW upgrade support.

	  If unsure, say Y.

config TOUCHSCREEN_PARADE_PLATFORM_TTCONFIG_UPGRADE
	bool "TT Configuration upgrade from header file"
	depends on TOUCHSCREEN_PARADE_LOADER
	help
	  Say Y here to include Parade TrueTouch(tm) Standard Product
	  device TrueTouch Configuration into kernel itself.

	  Need proper header file for this.

	  If unsure, say N.

config TOUCHSCREEN_PARADE_MANUAL_TTCONFIG_UPGRADE
	bool "TT Configuration upgrade via SysFs"
	depends on TOUCHSCREEN_PARADE_LOADER
	help
	  Say Y here to provide a SysFs interface to upgrade TrueTouch
	  Configuration with a binary configuration file.

	  Need proper binary version of config file for this
	  feature.

	  If unsure, say Y.

config TOUCHSCREEN_PARADE_DEVICE_ACCESS
	tristate "Parade TrueTouch Gen5 MultiTouch Device Access"
	depends on TOUCHSCREEN_PARADE
	help
	  Say Y here to enable Parade TrueTouch(tm) Standard Product
	  Generation5 touchscreen controller device access module.

	  This modules adds an interface to access touchscreen
	  controller using driver sysfs nodes.

	  If unsure, say N.

endmenu

