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 ARCH_REQUIRE_GPIOLIB
12 select USB_ARCH_HAS_EHCI if USB_SUPPORT
13 select USB_ULPI if USB_SUPPORT
14 select USB_ULPI_VIEWPORT if USB_SUPPORT
15 select ARM_ERRATA_742230 if SMP
16 select USB_ARCH_HAS_EHCI if USB_SUPPORT
17 select USB_ULPI if USB_SUPPORT
18 select USB_ULPI_VIEWPORT if USB_SUPPORT
19 select ARCH_SUPPORTS_MSI if TEGRA_PCI
20 select PCI_MSI if TEGRA_PCI
22 Support for NVIDIA Tegra AP20 and T20 processors, based on the
23 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
25 config ARCH_TEGRA_3x_SOC
26 bool "Enable support for Tegra30 family"
27 select ARCH_TEGRA_HAS_PCIE
28 select ARCH_TEGRA_HAS_SATA
29 select ARCH_TEGRA_HAS_DUAL_3D
30 select ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
33 select GIC_SET_MULTIPLE_CPUS if SMP
34 select ARCH_REQUIRE_GPIOLIB
35 select USB_ARCH_HAS_EHCI if USB_SUPPORT
36 select USB_ULPI if USB_SUPPORT
37 select USB_ULPI_VIEWPORT if USB_SUPPORT
39 select REPORT_PRESENT_CPUS if TEGRA_AUTO_HOTPLUG
40 select ARCH_SUPPORTS_MSI if TEGRA_PCI
41 select PCI_MSI if TEGRA_PCI
42 select ARM_ERRATA_754322
44 Support for NVIDIA Tegra T30 processor family, based on the
45 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
47 config ARCH_TEGRA_HAS_DUAL_3D
50 config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
53 config ARCH_TEGRA_HAS_PCIE
56 config ARCH_TEGRA_HAS_SATA
60 bool "PCIe host controller driver"
62 depends on ARCH_TEGRA_HAS_PCIE
64 Adds PCIe Host controller driver for tegra based systems
66 comment "Tegra board type"
70 depends on ARCH_TEGRA_2x_SOC
71 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
73 Support for NVIDIA Harmony development platform
77 depends on ARCH_TEGRA_2x_SOC
79 Support for NVIDIA Ventana development platform
83 depends on ARCH_TEGRA_2x_SOC
85 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
87 Support for the Kaen version of Seaboard
91 depends on ARCH_TEGRA_2x_SOC
93 Support for the Toshiba AC100/Dynabook AZ netbook
97 depends on ARCH_TEGRA_2x_SOC
98 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
100 Support for nVidia Seaboard development platform. It will
101 also be included for some of the derivative boards that
102 have large similarities with the seaboard design.
105 bool "Generic Tegra20 board (FDT support)"
106 depends on ARCH_TEGRA_2x_SOC
109 Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
111 config MACH_TRIMSLICE
112 bool "TrimSlice board"
113 depends on ARCH_TEGRA_2x_SOC
116 Support for CompuLab TrimSlice platform
120 depends on ARCH_TEGRA_2x_SOC
123 Support for the Wario version of Seaboard
127 depends on ARCH_TEGRA_2x_SOC
130 Support for the nVidia Ventana development platform
141 prompt "Tegra platform type"
142 default TEGRA_SILICON_PLATFORM
144 config TEGRA_SILICON_PLATFORM
147 This enables support for a Tegra silicon platform.
149 config TEGRA_SIMULATION_PLATFORM
152 This enables support for a Tegra simulation platform.
153 Select this only if you are an NVIDIA developer working
154 on a simulation platform.
156 config TEGRA_FPGA_PLATFORM
159 This enables support for a Tegra FPGA platform.
160 Select this only if you are an NVIDIA developer working
165 prompt "Low-level debug console UART"
166 default TEGRA_DEBUG_UART_NONE
168 config TEGRA_DEBUG_UART_NONE
171 config TEGRA_DEBUG_UARTA
175 config TEGRA_DEBUG_UARTB
179 config TEGRA_DEBUG_UARTC
183 config TEGRA_DEBUG_UARTD
187 config TEGRA_DEBUG_UARTE
192 config TEGRA_SYSTEM_DMA
193 bool "Enable system DMA driver for NVIDIA Tegra SoCs"
196 Adds system DMA functionality for NVIDIA Tegra SoCs, used by
197 several Tegra device drivers
200 tristate "Enable PWM driver"
203 Enable support for the Tegra PWM controller(s).
205 config TEGRA_EMC_SCALING_ENABLE
206 bool "Enable scaling the memory frequency"
207 depends on TEGRA_SILICON_PLATFORM
210 config TEGRA_CPU_DVFS
211 bool "Enable voltage scaling on Tegra CPU"
212 depends on TEGRA_SILICON_PLATFORM
215 config TEGRA_CORE_DVFS
216 bool "Enable voltage scaling on Tegra core"
217 depends on TEGRA_SILICON_PLATFORM
218 depends on TEGRA_CPU_DVFS
221 config TEGRA_IOVMM_GART
222 bool "Enable I/O virtual memory manager for GART"
223 depends on ARCH_TEGRA_2x_SOC
227 Enables support for remapping discontiguous physical memory
228 shared with the operating system into contiguous I/O virtual
229 space through the GART (Graphics Address Relocation Table)
230 hardware included on Tegra SoCs.
232 config TEGRA_IOVMM_SMMU
233 bool "Enable I/O virtual memory manager for SMMU"
234 depends on ARCH_TEGRA_3x_SOC
238 Enables support for remapping discontiguous physical memory
239 shared with the operating system into contiguous I/O virtual
240 space through the SMMU (System Memory Management Unit)
241 hardware included on Tegra SoCs.
243 config TEGRA_SMMU_BASE_AT_E0000000
244 bool "Force SMMU IOVA base to 0xe0000000"
245 depends on TEGRA_IOVMM_SMMU
248 Forces SMMU IOVA base address to 0xe0000000 for debug purposes
249 only. Select n for production systems.
251 config TEGRA_IOVMM_SMMU_SYSFS
252 bool "Enable SMMU register access for debugging"
253 depends on TEGRA_IOVMM_SMMU
256 Enables SMMU register access through /sys/devices/smmu/* files.
261 config TEGRA_AVP_KERNEL_ON_MMU
262 bool "Use AVP MMU to relocate AVP kernel"
263 depends on ARCH_TEGRA_2x_SOC
266 Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
268 config TEGRA_AVP_KERNEL_ON_SMMU
269 bool "Use SMMU to relocate AVP kernel"
270 depends on TEGRA_IOVMM_SMMU
273 Use SMMU to relocate AVP kernel (nvrm_avp.bin).
275 config TEGRA_ARB_SEMAPHORE
278 config TEGRA_THERMAL_THROTTLE
279 bool "Enable throttling of CPU speed on overtemp"
280 depends on TEGRA_SILICON_PLATFORM
284 Also requires enabling a temperature sensor such as NCT1008.
286 config WIFI_CONTROL_FUNC
287 bool "Enable WiFi control function abstraction"
289 Enables Power/Reset/Carddetect function abstraction
291 config TEGRA_CLOCK_DEBUG_WRITE
292 bool "Enable debugfs write access to clock tree"
296 config TEGRA_CLUSTER_CONTROL
298 depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
299 default y if PM_SLEEP
301 config TEGRA_AUTO_HOTPLUG
302 bool "Enable automatic CPU hot-plugging"
303 depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE && !ARCH_TEGRA_2x_SOC
306 This option enables turning CPUs off/on and switching tegra
307 high/low power CPU clusters automatically, corresponding to
308 CPU frequency scaling.
310 config TEGRA_MC_PROFILE
311 tristate "Enable profiling memory controller utilization"
314 When enabled, provides a mechanism to perform statistical
315 sampling of the memory controller usage on a client-by-client
316 basis, and report the log through sysfs.
318 config TEGRA_EDP_LIMITS
319 bool "Enforce electrical design limits"
320 depends on TEGRA_SILICON_PLATFORM
322 default y if ARCH_TEGRA_3x_SOC
325 Limit maximum CPU frequency based on temperature and number
326 of on-line CPUs to keep CPU rail current within power supply
329 config TEGRA_INTERNAL_TSENSOR_EDP_SUPPORT
330 bool "Enable EDP and thermal throttling using internal TSensor"
331 depends on TEGRA_EDP_LIMITS && ARCH_TEGRA_3x_SOC
333 When enabled, uses internal tsensor to support EDP and
334 thermal throttling on tegra platform
336 config TEGRA_EMC_TO_DDR_CLOCK
337 int "EMC to DDR clocks ratio"
338 default "2" if ARCH_TEGRA_2x_SOC
341 config TEGRA_LEGACY_AUDIO
342 bool "Enable Tegra Legacy Audio APIs"
345 Say Y if you want to add support legacy (non-ALSA) audio APIs on
346 Tegra. This will disable ALSA (ASoC) support.
348 config TEGRA_STAT_MON
349 bool "Enable H/W statistics monitor"
350 depends on ARCH_TEGRA_2x_SOC
353 Enables support for hardware statistics monitor for AVP.
355 config TEGRA_DYNAMIC_PWRDET
356 bool "Enable dynamic activation of IO level auto-detection"
357 depends on TEGRA_SILICON_PLATFORM
360 This option allows turning off tegra IO level auto-detection
361 when IO power is stable. If set auto-detection cells are active
362 only during power transitions, otherwise, the cells are active
365 config TEGRA_EDP_EXACT_FREQ
366 bool "Use maximum possible cpu frequency when EDP capping"
367 depends on TEGRA_EDP_LIMITS
370 When enabled the cpu will run at the exact frequency
371 specified in the EDP table when EDP capping is applied; when
372 disabled the next lower cpufreq frequency will be used.
374 config TEGRA_USB_MODEM_POWER
375 bool "Enable tegra usb modem power management"
378 This option enables support for out-of_band remote wakeup, selective
379 suspend and system suspend/resume.
381 config TEGRA_THERMAL_SYSFS
382 bool "Enable Thermal driver to use Thermal Sysfs infrastructure"
386 config TEGRA_PLLM_RESTRICTED
387 bool "Restrict PLLM usage as module clock source"
388 depends on !ARCH_TEGRA_2x_SOC
391 When enabled, PLLM usage may be restricted to modules with dividers
392 capable of dividing maximum PLLM frequency at minimum voltage. When
393 disabled, PLLM is used as a clock source with no restrictions (which
394 may effectively increase lower limit for core voltage).
396 config TEGRA_WDT_RECOVERY
397 bool "Enable suspend/resume watchdog recovery mechanism"
400 Enables watchdog recovery mechanism to protect against
401 suspend/resume hangs.
404 config TEGRA_SLOW_CSITE
405 bool "lower csite clock to 1 Mhz to reduce its power consumption"
408 When enabled, csite will be running at 1 Mhz and the performance of
409 jtag, lauterbach and other debugger will be extremely slow.