summaryrefslogtreecommitdiff
path: root/nuttx/configs/samv71-xult/Kconfig
blob: b6cddcc034cd086ab8bd52963a20e50994676940 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_BOARD_SAMV71_XULT

config SAMV71XULT_MXTXPLND
	bool "MaXTouch Xplained connected"
	default n

if SAMV71XULT_MXTXPLND

choice
	prompt "MaXTouch Xplained connection"
	default SAMV71XULT_MXTXPLND_EXT1

config SAMV71XULT_MXTXPLND_EXT1
	bool "Connected on EXT1 (2x10 pin)"

config SAMV71XULT_MXTXPLND_EXT2
	bool "Connected on EXT2 (2x10 pin)"

config SAMV71XULT_MXTXPLND_LCD
	bool "Connected on LCD (50-pin)"

endchoice # MaXTouch Xplained connection

if INPUT_MXT

config SAMV71XULT_MXT_I2CFREQUENCY
	int "maXTouch I2C frequency"
	default 400000

config SAMV71XULT_MXT_DEVMINOR
	int "/dev/input minor number"
	default 0

endif # INPUT_MXT
endif # SAMV71XULT_MXTXPLND

config SAMV71XULT_HSMCI0_AUTOMOUNT
	bool "HSMCI0 automounter"
	default n
	depends on FS_AUTOMOUNTER && SAMA5_HSMCI0

if SAMV71XULT_HSMCI0_AUTOMOUNT

config SAMV71XULT_HSMCI0_AUTOMOUNT_FSTYPE
	string "HSMCI0 file system type"
	default "vfat"

config SAMV71XULT_HSMCI0_AUTOMOUNT_BLKDEV
	string "HSMCI0 block device"
	default "/dev/mmcsd0"

config SAMV71XULT_HSMCI0_AUTOMOUNT_MOUNTPOINT
	string "HSMCI0 mount point"
	default "/mnt/sdcard0"

config SAMV71XULT_HSMCI0_AUTOMOUNT_DDELAY
	int "HSMCI0 debounce delay (milliseconds)"
	default 1000

config SAMV71XULT_HSMCI0_AUTOMOUNT_UDELAY
	int "HSMCI0 unmount retry delay (milliseconds)"
	default 2000

endif # SAMV71XULT_HSMCI0_AUTOMOUNT

if AUDIO_WM8904

config SAMV71XULT_WM8904_I2CFREQUENCY
	int "WM8904 I2C Frequency"
	default 400000
	range 1 400000
	---help---
		This option selects the I2C frequency to use when communicating with
		the WM8904 device.  The default, 400KHz, is the maximum supported by
		the WM8904.  If you have problems communicating with the WM8904,
		then you might want to try lowering this rate.

choice
	prompt "WM8904 MCLK source"
	default SAMV71XULT_WM8904_SRCMAIN

config SAMV71XULT_WM8904_SRCMAIN
	bool "Main Clock (12MHz)"

config SAMV71XULT_WM8904_SRCSCK
	bool "Slow XTAL (32.768KHz)"
	select SAMV71XULT_SLOWCLOCK

endchoice # WM8904 MCLK source
endif # AUDIO_WM8904

endif # ARCH_BOARD_SAMV71_XULT