1# SPDX-License-Identifier: GPL-2.0
2
3menuconfig ARCH_DAVINCI
4	bool "TI DaVinci"
5	depends on ARCH_MULTI_V5
6	depends on CPU_LITTLE_ENDIAN
7	select ARCH_DAVINCI_DA850
8	select CPU_ARM926T
9	select DAVINCI_TIMER
10	select ZONE_DMA
11	select PM_GENERIC_DOMAINS if PM
12	select PM_GENERIC_DOMAINS_OF if PM && OF
13	select REGMAP_MMIO
14	select RESET_CONTROLLER
15	select PINCTRL
16	select PINCTRL_SINGLE
17
18if ARCH_DAVINCI
19
20comment "DaVinci Core Type"
21
22config ARCH_DAVINCI_DA830
23	bool "DA830/OMAP-L137/AM17x based system"
24	select ARCH_DAVINCI_DA8XX
25	# needed on silicon revs 1.0, 1.1:
26	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
27	select DAVINCI_CP_INTC
28
29config ARCH_DAVINCI_DA850
30	bool "DA850/OMAP-L138/AM18x based system"
31	select ARCH_DAVINCI_DA8XX
32	select DAVINCI_CP_INTC
33
34config ARCH_DAVINCI_DA8XX
35	bool
36
37config DAVINCI_MUX
38	bool "DAVINCI multiplexing support"
39	depends on ARCH_DAVINCI
40	default y
41	help
42	  Pin multiplexing support for DAVINCI boards. If your bootloader
43	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
44	  say Y.
45
46config DAVINCI_MUX_DEBUG
47	bool "Multiplexing debug output"
48	depends on DAVINCI_MUX
49	help
50	  Makes the multiplexing functions print out a lot of debug info.
51	  This is useful if you want to find out the correct values of the
52	  multiplexing registers.
53
54config DAVINCI_MUX_WARNINGS
55	bool "Warn about pins the bootloader didn't set up"
56	depends on DAVINCI_MUX
57	help
58	  Choose Y here to warn whenever driver initialization logic needs
59	  to change the pin multiplexing setup. When there are no warnings
60	  printed, it's safe to deselect DAVINCI_MUX for your product.
61
62endif
63