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