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