xref: /openbmc/linux/arch/arm/mach-davinci/Kconfig (revision 2af4fcc0d3574482c73c34274eea63bac5518d48)
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	depends on AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT
22	depends on ATAGS
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	depends on AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT
31	depends on ATAGS
32	select ARCH_DAVINCI_DA8XX
33	select DAVINCI_CP_INTC
34
35config ARCH_DAVINCI_DA8XX
36	bool
37
38comment "DaVinci Board Type"
39
40config MACH_DA8XX_DT
41	bool "Support DA8XX platforms using device tree"
42	default y
43	depends on ARCH_DAVINCI_DA850
44	select PINCTRL
45	help
46	  Say y here to include support for TI DaVinci DA850 based using
47	  Flattened Device Tree. More information at Documentation/devicetree
48
49config DAVINCI_MUX
50	bool "DAVINCI multiplexing support"
51	depends on ARCH_DAVINCI
52	default y
53	help
54	  Pin multiplexing support for DAVINCI boards. If your bootloader
55	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
56	  say Y.
57
58config DAVINCI_MUX_DEBUG
59	bool "Multiplexing debug output"
60	depends on DAVINCI_MUX
61	help
62	  Makes the multiplexing functions print out a lot of debug info.
63	  This is useful if you want to find out the correct values of the
64	  multiplexing registers.
65
66config DAVINCI_MUX_WARNINGS
67	bool "Warn about pins the bootloader didn't set up"
68	depends on DAVINCI_MUX
69	help
70	  Choose Y here to warn whenever driver initialization logic needs
71	  to change the pin multiplexing setup. When there are no warnings
72	  printed, it's safe to deselect DAVINCI_MUX for your product.
73
74endif
75