xref: /linux/arch/arm/mach-davinci/Kconfig (revision f54e8634d1366926c807e2af6125b33cff555fa7)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f962396cSBartosz Golaszewski
3f962396cSBartosz Golaszewskimenuconfig ARCH_DAVINCI
4f962396cSBartosz Golaszewski	bool "TI DaVinci"
5f962396cSBartosz Golaszewski	depends on ARCH_MULTI_V5
65d6f5267SArnd Bergmann	depends on CPU_LITTLE_ENDIAN
7f962396cSBartosz Golaszewski	select DAVINCI_TIMER
8f962396cSBartosz Golaszewski	select ZONE_DMA
9f962396cSBartosz Golaszewski	select PM_GENERIC_DOMAINS if PM
10f962396cSBartosz Golaszewski	select PM_GENERIC_DOMAINS_OF if PM && OF
11f962396cSBartosz Golaszewski	select REGMAP_MMIO
127afec66eSArnd Bergmann	select RESET_CONTROLLER
13*f54e8634SRandy Dunlap	select PINCTRL
14f962396cSBartosz Golaszewski	select PINCTRL_SINGLE
15f962396cSBartosz Golaszewski
167c6337e2SKevin Hilmanif ARCH_DAVINCI
177c6337e2SKevin Hilman
187c6337e2SKevin Hilmancomment "DaVinci Core Type"
197c6337e2SKevin Hilman
2055c79a40SMark A. Greerconfig ARCH_DAVINCI_DA830
2148ea89eaSSekhar Nori	bool "DA830/OMAP-L137/AM17x based system"
2255c79a40SMark A. Greer	select ARCH_DAVINCI_DA8XX
231b50b0c1SArnd Bergmann	# needed on silicon revs 1.0, 1.1:
241b50b0c1SArnd Bergmann	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
250fc3d74cSBartosz Golaszewski	select DAVINCI_CP_INTC
2655c79a40SMark A. Greer
27e1a8d7e2SSudhakar Rajashekharaconfig ARCH_DAVINCI_DA850
2848ea89eaSSekhar Nori	bool "DA850/OMAP-L138/AM18x based system"
290fc3d74cSBartosz Golaszewski	select DAVINCI_CP_INTC
30e1a8d7e2SSudhakar Rajashekhara
3155c79a40SMark A. Greerconfig ARCH_DAVINCI_DA8XX
3255c79a40SMark A. Greer	bool
33e38d92fdSKevin Hilman
345526b3f7SKevin Hilmanconfig DAVINCI_MUX
355526b3f7SKevin Hilman	bool "DAVINCI multiplexing support"
365526b3f7SKevin Hilman	depends on ARCH_DAVINCI
375526b3f7SKevin Hilman	default y
385526b3f7SKevin Hilman	help
395526b3f7SKevin Hilman	  Pin multiplexing support for DAVINCI boards. If your bootloader
405526b3f7SKevin Hilman	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
415526b3f7SKevin Hilman	  say Y.
425526b3f7SKevin Hilman
435526b3f7SKevin Hilmanconfig DAVINCI_MUX_DEBUG
445526b3f7SKevin Hilman	bool "Multiplexing debug output"
455526b3f7SKevin Hilman	depends on DAVINCI_MUX
465526b3f7SKevin Hilman	help
475526b3f7SKevin Hilman	  Makes the multiplexing functions print out a lot of debug info.
485526b3f7SKevin Hilman	  This is useful if you want to find out the correct values of the
495526b3f7SKevin Hilman	  multiplexing registers.
505526b3f7SKevin Hilman
515526b3f7SKevin Hilmanconfig DAVINCI_MUX_WARNINGS
525526b3f7SKevin Hilman	bool "Warn about pins the bootloader didn't set up"
535526b3f7SKevin Hilman	depends on DAVINCI_MUX
545526b3f7SKevin Hilman	help
555526b3f7SKevin Hilman	  Choose Y here to warn whenever driver initialization logic needs
565526b3f7SKevin Hilman	  to change the pin multiplexing setup. When there are no warnings
575526b3f7SKevin Hilman	  printed, it's safe to deselect DAVINCI_MUX for your product.
585526b3f7SKevin Hilman
597c6337e2SKevin Hilmanendif
60