3 comment "NVIDIA Tegra options"
5 config ARCH_TEGRA_2x_SOC
6 bool "Enable support for Tegra20 family"
7 depends on !ARCH_TEGRA_3x_SOC
8 select ARCH_TEGRA_HAS_PCIE
11 select ARM_SAVE_DEBUG_CONTEXT
12 select ARCH_REQUIRE_GPIOLIB
13 select USB_ARCH_HAS_EHCI if USB_SUPPORT
14 select USB_ULPI if USB_SUPPORT
15 select USB_ULPI_VIEWPORT if USB_SUPPORT
16 select ARM_ERRATA_742230 if SMP
17 select USB_ARCH_HAS_EHCI if USB_SUPPORT
18 select USB_ULPI if USB_SUPPORT
19 select USB_ULPI_VIEWPORT if USB_SUPPORT
20 select ARCH_SUPPORTS_MSI if TEGRA_PCI
21 select PCI_MSI if TEGRA_PCI
24 Support for NVIDIA Tegra AP20 and T20 processors, based on the
25 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
27 config ARCH_TEGRA_3x_SOC
28 bool "Enable support for Tegra30 family"
29 select ARCH_TEGRA_HAS_PCIE
30 select ARCH_TEGRA_HAS_SATA
31 select ARCH_TEGRA_HAS_DUAL_3D
32 select ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
35 select ARM_SAVE_DEBUG_CONTEXT
36 select GIC_SET_MULTIPLE_CPUS if SMP
37 select ARCH_REQUIRE_GPIOLIB
38 select USB_ARCH_HAS_EHCI if USB_SUPPORT
39 select USB_ULPI if USB_SUPPORT
40 select USB_ULPI_VIEWPORT if USB_SUPPORT
42 select REPORT_PRESENT_CPUS if TEGRA_AUTO_HOTPLUG
43 select ARCH_SUPPORTS_MSI if TEGRA_PCI
44 select PCI_MSI if TEGRA_PCI
45 select ARM_ERRATA_754322
46 select TEGRA_LP2_ARM_TWD if HAVE_ARM_TWD && !TEGRA_RAIL_OFF_MULTIPLE_CPUS
49 Support for NVIDIA Tegra T30 processor family, based on the
50 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
52 config ARCH_TEGRA_HAS_DUAL_3D
55 config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
58 config ARCH_TEGRA_HAS_PCIE
61 config ARCH_TEGRA_HAS_SATA
65 bool "PCIe host controller driver"
67 depends on ARCH_TEGRA_HAS_PCIE
69 Adds PCIe Host controller driver for tegra based systems
71 comment "Tegra board type"
75 depends on ARCH_TEGRA_2x_SOC
76 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
78 Support for NVIDIA Harmony development platform
82 depends on ARCH_TEGRA_2x_SOC
84 Support for NVIDIA Ventana development platform
88 depends on ARCH_TEGRA_2x_SOC
90 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
92 Support for the Kaen version of Seaboard
96 depends on ARCH_TEGRA_2x_SOC
98 Support for the Toshiba AC100/Dynabook AZ netbook
101 bool "Seaboard board"
102 depends on ARCH_TEGRA_2x_SOC
103 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
105 Support for nVidia Seaboard development platform. It will
106 also be included for some of the derivative boards that
107 have large similarities with the seaboard design.
110 bool "Generic Tegra20 board (FDT support)"
111 depends on ARCH_TEGRA_2x_SOC
114 Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
116 config MACH_TRIMSLICE
117 bool "TrimSlice board"
118 depends on ARCH_TEGRA_2x_SOC
121 Support for CompuLab TrimSlice platform
125 depends on ARCH_TEGRA_2x_SOC
128 Support for the Wario version of Seaboard
132 depends on ARCH_TEGRA_2x_SOC
135 Support for the nVidia Ventana development platform
144 config MACH_TEGRA_ENTERPRISE
145 bool "Enterprise board"
146 depends on ARCH_TEGRA_3x_SOC
147 select MACH_HAS_SND_SOC_TEGRA_MAX98088 if SND_SOC
148 select TEGRA_SLOW_CSITE
150 Support for NVIDIA Enterprise development platform
153 prompt "Tegra platform type"
154 default TEGRA_SILICON_PLATFORM
156 config TEGRA_SILICON_PLATFORM
159 This enables support for a Tegra silicon platform.
161 config TEGRA_SIMULATION_PLATFORM
164 This enables support for a Tegra simulation platform.
165 Select this only if you are an NVIDIA developer working
166 on a simulation platform.
168 config TEGRA_FPGA_PLATFORM
171 This enables support for a Tegra FPGA platform.
172 Select this only if you are an NVIDIA developer working
177 prompt "Low-level debug console UART"
178 default TEGRA_DEBUG_UART_NONE
180 config TEGRA_DEBUG_UART_NONE
183 config TEGRA_DEBUG_UARTA
187 config TEGRA_DEBUG_UARTB
191 config TEGRA_DEBUG_UARTC
195 config TEGRA_DEBUG_UARTD
199 config TEGRA_DEBUG_UARTE
204 config TEGRA_SYSTEM_DMA
205 bool "Enable system DMA driver for NVIDIA Tegra SoCs"
208 Adds system DMA functionality for NVIDIA Tegra SoCs, used by
209 several Tegra device drivers
212 tristate "Enable PWM driver"
215 Enable support for the Tegra PWM controller(s).
217 config TEGRA_EMC_SCALING_ENABLE
218 bool "Enable scaling the memory frequency"
219 depends on TEGRA_SILICON_PLATFORM
222 config TEGRA_CPU_DVFS
223 bool "Enable voltage scaling on Tegra CPU"
224 depends on TEGRA_SILICON_PLATFORM
227 config TEGRA_CORE_DVFS
228 bool "Enable voltage scaling on Tegra core"
229 depends on TEGRA_SILICON_PLATFORM
230 depends on TEGRA_CPU_DVFS
233 config TEGRA_IOVMM_GART
234 bool "Enable I/O virtual memory manager for GART"
235 depends on ARCH_TEGRA_2x_SOC
239 Enables support for remapping discontiguous physical memory
240 shared with the operating system into contiguous I/O virtual
241 space through the GART (Graphics Address Relocation Table)
242 hardware included on Tegra SoCs.
244 config TEGRA_IOVMM_SMMU
245 bool "Enable I/O virtual memory manager for SMMU"
246 depends on ARCH_TEGRA_3x_SOC
250 Enables support for remapping discontiguous physical memory
251 shared with the operating system into contiguous I/O virtual
252 space through the SMMU (System Memory Management Unit)
253 hardware included on Tegra SoCs.
255 config TEGRA_SMMU_BASE_AT_E0000000
256 bool "Force SMMU IOVA base to 0xe0000000"
257 depends on TEGRA_IOVMM_SMMU
260 Forces SMMU IOVA base address to 0xe0000000 for debug purposes
261 only. Select n for production systems.
263 config TEGRA_IOVMM_SMMU_SYSFS
264 bool "Enable SMMU register access for debugging"
265 depends on TEGRA_IOVMM_SMMU
268 Enables SMMU register access through /sys/devices/smmu/* files.
273 config TEGRA_AVP_KERNEL_ON_MMU
274 bool "Use AVP MMU to relocate AVP kernel"
275 depends on ARCH_TEGRA_2x_SOC
278 Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
280 config TEGRA_AVP_KERNEL_ON_SMMU
281 bool "Use SMMU to relocate AVP kernel"
282 depends on TEGRA_IOVMM_SMMU
285 Use SMMU to relocate AVP kernel (nvrm_avp.bin).
287 config TEGRA_ARB_SEMAPHORE
290 config TEGRA_THERMAL_THROTTLE
291 bool "Enable throttling of CPU speed on overtemp"
292 depends on TEGRA_SILICON_PLATFORM
296 Also requires enabling a temperature sensor such as NCT1008.
298 config WIFI_CONTROL_FUNC
299 bool "Enable WiFi control function abstraction"
301 Enables Power/Reset/Carddetect function abstraction
303 config TEGRA_CLOCK_DEBUG_WRITE
304 bool "Enable debugfs write access to clock tree"
308 config TEGRA_CLUSTER_CONTROL
310 depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
311 default y if PM_SLEEP
313 config TEGRA_AUTO_HOTPLUG
314 bool "Enable automatic CPU hot-plugging"
315 depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE && !ARCH_TEGRA_2x_SOC
318 This option enables turning CPUs off/on and switching tegra
319 high/low power CPU clusters automatically, corresponding to
320 CPU frequency scaling.
322 config TEGRA_MC_PROFILE
323 tristate "Enable profiling memory controller utilization"
326 When enabled, provides a mechanism to perform statistical
327 sampling of the memory controller usage on a client-by-client
328 basis, and report the log through sysfs.
330 config TEGRA_EDP_LIMITS
331 bool "Enforce electrical design limits"
332 depends on TEGRA_SILICON_PLATFORM
334 default y if ARCH_TEGRA_3x_SOC
337 Limit maximum CPU frequency based on temperature and number
338 of on-line CPUs to keep CPU rail current within power supply
341 config TEGRA_EMC_TO_DDR_CLOCK
342 int "EMC to DDR clocks ratio"
343 default "2" if ARCH_TEGRA_2x_SOC
346 config TEGRA_LEGACY_AUDIO
347 bool "Enable Tegra Legacy Audio APIs"
350 Say Y if you want to add support legacy (non-ALSA) audio APIs on
351 Tegra. This will disable ALSA (ASoC) support.
353 config TEGRA_STAT_MON
354 bool "Enable H/W statistics monitor"
355 depends on ARCH_TEGRA_2x_SOC
358 Enables support for hardware statistics monitor for AVP.
361 bool "Enabling the USB hotplug"
364 config TEGRA_DYNAMIC_PWRDET
365 bool "Enable dynamic activation of IO level auto-detection"
366 depends on TEGRA_SILICON_PLATFORM
369 This option allows turning off tegra IO level auto-detection
370 when IO power is stable. If set auto-detection cells are active
371 only during power transitions, otherwise, the cells are active
374 config TEGRA_EDP_EXACT_FREQ
375 bool "Use maximum possible cpu frequency when EDP capping"
376 depends on TEGRA_EDP_LIMITS
379 When enabled the cpu will run at the exact frequency
380 specified in the EDP table when EDP capping is applied; when
381 disabled the next lower cpufreq frequency will be used.
383 config TEGRA_USB_MODEM_POWER
384 bool "Enable tegra usb modem power management"
387 This option enables support for out-of_band remote wakeup, selective
388 suspend and system suspend/resume.
390 config TEGRA_THERMAL_SYSFS
391 bool "Enable Thermal driver to use Thermal Sysfs infrastructure"
395 config TEGRA_PLLM_RESTRICTED
396 bool "Restrict PLLM usage as module clock source"
397 depends on !ARCH_TEGRA_2x_SOC
400 When enabled, PLLM usage may be restricted to modules with dividers
401 capable of dividing maximum PLLM frequency at minimum voltage. When
402 disabled, PLLM is used as a clock source with no restrictions (which
403 may effectively increase lower limit for core voltage).
405 config TEGRA_WDT_RECOVERY
406 bool "Enable suspend/resume watchdog recovery mechanism"
409 Enables watchdog recovery mechanism to protect against
410 suspend/resume hangs.
412 config TEGRA_LP2_ARM_TWD
415 config TEGRA_RAIL_OFF_MULTIPLE_CPUS
418 config TEGRA_SLOW_CSITE
419 bool "lower csite clock to 1 Mhz to reduce its power consumption"
422 When enabled, csite will be running at 1 Mhz and the performance of
423 jtag, lauterbach and other debugger will be extremely slow.
425 config TEGRA_PREINIT_CLOCKS
426 bool "Preinitialize Tegra clocks to known states"
429 Preinitialize Tegra clocks to known states before actual full-
430 scale clock initialization starts.