config HEADSETDET
	tristate "Headset Detection"
	depends on MFD_DP52
	select SWITCH
	help
	  Say Y here to enable Headset detection support.

choice
	prompt "Headset detection method"
	depends on HEADSETDET
	default HSDET_INTERRUPT

config HSDET_POLLING
	bool "Headset detection works in polling mode"
	help
	  Headset detection algorithm is working from thread

config HSDET_INTERRUPT
	bool "Headset detection works in interrupt mode"
	help
	  Headset detection algorithm works from interrupt (on cradle only)

endchoice
