xref: /linux/arch/arm/mach-davinci/Kconfig (revision 06d07429858317ded2db7986113a9e0129cd599b)
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
740974ee4SArnd Bergmann	select CPU_ARM926T
8f962396cSBartosz Golaszewski	select DAVINCI_TIMER
9f962396cSBartosz Golaszewski	select ZONE_DMA
10f962396cSBartosz Golaszewski	select PM_GENERIC_DOMAINS if PM
11f962396cSBartosz Golaszewski	select PM_GENERIC_DOMAINS_OF if PM && OF
12f962396cSBartosz Golaszewski	select REGMAP_MMIO
137afec66eSArnd Bergmann	select RESET_CONTROLLER
14*f54e8634SRandy Dunlap	select PINCTRL
15f962396cSBartosz Golaszewski	select PINCTRL_SINGLE
16f962396cSBartosz Golaszewski
177c6337e2SKevin Hilmanif ARCH_DAVINCI
187c6337e2SKevin Hilman
197c6337e2SKevin Hilmancomment "DaVinci Core Type"
207c6337e2SKevin Hilman
2155c79a40SMark A. Greerconfig ARCH_DAVINCI_DA830
2248ea89eaSSekhar Nori	bool "DA830/OMAP-L137/AM17x based system"
2355c79a40SMark A. Greer	select ARCH_DAVINCI_DA8XX
241b50b0c1SArnd Bergmann	# needed on silicon revs 1.0, 1.1:
251b50b0c1SArnd Bergmann	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
260fc3d74cSBartosz Golaszewski	select DAVINCI_CP_INTC
2755c79a40SMark A. Greer
28e1a8d7e2SSudhakar Rajashekharaconfig ARCH_DAVINCI_DA850
2948ea89eaSSekhar Nori	bool "DA850/OMAP-L138/AM18x based system"
300fc3d74cSBartosz Golaszewski	select DAVINCI_CP_INTC
31e1a8d7e2SSudhakar Rajashekhara
3255c79a40SMark A. Greerconfig ARCH_DAVINCI_DA8XX
3355c79a40SMark A. Greer	bool
34e38d92fdSKevin Hilman
355526b3f7SKevin Hilmanconfig DAVINCI_MUX
365526b3f7SKevin Hilman	bool "DAVINCI multiplexing support"
375526b3f7SKevin Hilman	depends on ARCH_DAVINCI
385526b3f7SKevin Hilman	default y
395526b3f7SKevin Hilman	help
405526b3f7SKevin Hilman	  Pin multiplexing support for DAVINCI boards. If your bootloader
415526b3f7SKevin Hilman	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
425526b3f7SKevin Hilman	  say Y.
435526b3f7SKevin Hilman
445526b3f7SKevin Hilmanconfig DAVINCI_MUX_DEBUG
455526b3f7SKevin Hilman	bool "Multiplexing debug output"
465526b3f7SKevin Hilman	depends on DAVINCI_MUX
475526b3f7SKevin Hilman	help
485526b3f7SKevin Hilman	  Makes the multiplexing functions print out a lot of debug info.
495526b3f7SKevin Hilman	  This is useful if you want to find out the correct values of the
505526b3f7SKevin Hilman	  multiplexing registers.
515526b3f7SKevin Hilman
525526b3f7SKevin Hilmanconfig DAVINCI_MUX_WARNINGS
535526b3f7SKevin Hilman	bool "Warn about pins the bootloader didn't set up"
545526b3f7SKevin Hilman	depends on DAVINCI_MUX
555526b3f7SKevin Hilman	help
565526b3f7SKevin Hilman	  Choose Y here to warn whenever driver initialization logic needs
575526b3f7SKevin Hilman	  to change the pin multiplexing setup. When there are no warnings
585526b3f7SKevin Hilman	  printed, it's safe to deselect DAVINCI_MUX for your product.
595526b3f7SKevin Hilman
607c6337e2SKevin Hilmanendif
61