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
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
43 Support for NVIDIA Tegra T30 processor family, based on the
44 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
46 config ARCH_TEGRA_HAS_DUAL_3D
49 config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
52 config ARCH_TEGRA_HAS_PCIE
55 config ARCH_TEGRA_HAS_SATA
59 bool "PCIe host controller driver"
61 depends on ARCH_TEGRA_HAS_PCIE
63 Adds PCIe Host controller driver for tegra based systems
65 comment "Tegra board type"
69 depends on ARCH_TEGRA_2x_SOC
70 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
72 Support for NVIDIA Harmony development platform
76 depends on ARCH_TEGRA_2x_SOC
78 Support for NVIDIA Ventana development platform
82 depends on ARCH_TEGRA_2x_SOC
84 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
86 Support for the Kaen version of Seaboard
90 depends on ARCH_TEGRA_2x_SOC
92 Support for the Toshiba AC100/Dynabook AZ netbook
96 depends on ARCH_TEGRA_2x_SOC
97 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
99 Support for nVidia Seaboard development platform. It will
100 also be included for some of the derivative boards that
101 have large similarities with the seaboard design.
104 bool "Generic Tegra20 board (FDT support)"
105 depends on ARCH_TEGRA_2x_SOC
108 Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
110 config MACH_TRIMSLICE
111 bool "TrimSlice board"
112 depends on ARCH_TEGRA_2x_SOC
115 Support for CompuLab TrimSlice platform
119 depends on ARCH_TEGRA_2x_SOC
122 Support for the Wario version of Seaboard
126 depends on ARCH_TEGRA_2x_SOC
129 Support for the nVidia Ventana development platform
140 prompt "Tegra platform type"
141 default TEGRA_SILICON_PLATFORM
143 config TEGRA_SILICON_PLATFORM
146 This enables support for a Tegra silicon platform.
148 config TEGRA_SIMULATION_PLATFORM
151 This enables support for a Tegra simulation platform.
152 Select this only if you are an NVIDIA developer working
153 on a simulation platform.
155 config TEGRA_FPGA_PLATFORM
158 This enables support for a Tegra FPGA platform.
159 Select this only if you are an NVIDIA developer working
164 prompt "Low-level debug console UART"
165 default TEGRA_DEBUG_UART_NONE
167 config TEGRA_DEBUG_UART_NONE
170 config TEGRA_DEBUG_UARTA
174 config TEGRA_DEBUG_UARTB
178 config TEGRA_DEBUG_UARTC
182 config TEGRA_DEBUG_UARTD
186 config TEGRA_DEBUG_UARTE
191 config TEGRA_SYSTEM_DMA
192 bool "Enable system DMA driver for NVIDIA Tegra SoCs"
195 Adds system DMA functionality for NVIDIA Tegra SoCs, used by
196 several Tegra device drivers
199 tristate "Enable PWM driver"
202 Enable support for the Tegra PWM controller(s).
204 config TEGRA_EMC_SCALING_ENABLE
205 bool "Enable scaling the memory frequency"
206 depends on TEGRA_SILICON_PLATFORM
209 config TEGRA_CPU_DVFS
210 bool "Enable voltage scaling on Tegra CPU"
211 depends on TEGRA_SILICON_PLATFORM
214 config TEGRA_CORE_DVFS
215 bool "Enable voltage scaling on Tegra core"
216 depends on TEGRA_SILICON_PLATFORM
217 depends on TEGRA_CPU_DVFS
220 config TEGRA_IOVMM_GART
221 bool "Enable I/O virtual memory manager for GART"
222 depends on ARCH_TEGRA_2x_SOC
226 Enables support for remapping discontiguous physical memory
227 shared with the operating system into contiguous I/O virtual
228 space through the GART (Graphics Address Relocation Table)
229 hardware included on Tegra SoCs.
231 config TEGRA_IOVMM_SMMU
232 bool "Enable I/O virtual memory manager for SMMU"
233 depends on ARCH_TEGRA_3x_SOC
237 Enables support for remapping discontiguous physical memory
238 shared with the operating system into contiguous I/O virtual
239 space through the SMMU (System Memory Management Unit)
240 hardware included on Tegra SoCs.
242 config TEGRA_SMMU_BASE_AT_E0000000
243 bool "Force SMMU IOVA base to 0xe0000000"
244 depends on TEGRA_IOVMM_SMMU
247 Forces SMMU IOVA base address to 0xe0000000 for debug purposes
248 only. Select n for production systems.
250 config TEGRA_IOVMM_SMMU_SYSFS
251 bool "Enable SMMU register access for debugging"
252 depends on TEGRA_IOVMM_SMMU
255 Enables SMMU register access through /sys/devices/smmu/* files.
260 config TEGRA_AVP_KERNEL_ON_MMU
261 bool "Use AVP MMU to relocate AVP kernel"
262 depends on ARCH_TEGRA_2x_SOC
265 Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
267 config TEGRA_AVP_KERNEL_ON_SMMU
268 bool "Use SMMU to relocate AVP kernel"
269 depends on TEGRA_IOVMM_SMMU
272 Use SMMU to relocate AVP kernel (nvrm_avp.bin).
274 config TEGRA_ARB_SEMAPHORE
277 config TEGRA_THERMAL_THROTTLE
278 bool "Enable throttling of CPU speed on overtemp"
279 depends on TEGRA_SILICON_PLATFORM
283 Also requires enabling a temperature sensor such as NCT1008.
285 config WIFI_CONTROL_FUNC
286 bool "Enable WiFi control function abstraction"
288 Enables Power/Reset/Carddetect function abstraction
290 config TEGRA_CLOCK_DEBUG_WRITE
291 bool "Enable debugfs write access to clock tree"
295 config TEGRA_CLUSTER_CONTROL
297 depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
298 default y if PM_SLEEP
300 config TEGRA_AUTO_HOTPLUG
301 bool "Enable automatic CPU hot-plugging"
302 depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE && !ARCH_TEGRA_2x_SOC
305 This option enables turning CPUs off/on and switching tegra
306 high/low power CPU clusters automatically, corresponding to
307 CPU frequency scaling.
309 config TEGRA_MC_PROFILE
310 tristate "Enable profiling memory controller utilization"
313 When enabled, provides a mechanism to perform statistical
314 sampling of the memory controller usage on a client-by-client
315 basis, and report the log through sysfs.
317 config TEGRA_EDP_LIMITS
318 bool "Enforce electrical design limits"
319 depends on TEGRA_SILICON_PLATFORM
321 default y if ARCH_TEGRA_3x_SOC
324 Limit maximum CPU frequency based on temperature and number
325 of on-line CPUs to keep CPU rail current within power supply
328 config TEGRA_INTERNAL_TSENSOR_EDP_SUPPORT
329 bool "Enable EDP and thermal throttling using internal TSensor"
330 depends on TEGRA_EDP_LIMITS && ARCH_TEGRA_3x_SOC
332 When enabled, uses internal tsensor to support EDP and
333 thermal throttling on tegra platform
335 config TEGRA_EMC_TO_DDR_CLOCK
336 int "EMC to DDR clocks ratio"
337 default "2" if ARCH_TEGRA_2x_SOC
340 config TEGRA_LEGACY_AUDIO
341 bool "Enable Tegra Legacy Audio APIs"
344 Say Y if you want to add support legacy (non-ALSA) audio APIs on
345 Tegra. This will disable ALSA (ASoC) support.
347 config TEGRA_STAT_MON
348 bool "Enable H/W statistics monitor"
349 depends on ARCH_TEGRA_2x_SOC
352 Enables support for hardware statistics monitor for AVP.
354 config TEGRA_DYNAMIC_PWRDET
355 bool "Enable dynamic activation of IO level auto-detection"
356 depends on TEGRA_SILICON_PLATFORM
359 This option allows turning off tegra IO level auto-detection
360 when IO power is stable. If set auto-detection cells are active
361 only during power transitions, otherwise, the cells are active
364 config TEGRA_EDP_EXACT_FREQ
365 bool "Use maximum possible cpu frequency when EDP capping"
366 depends on TEGRA_EDP_LIMITS
369 When enabled the cpu will run at the exact frequency
370 specified in the EDP table when EDP capping is applied; when
371 disabled the next lower cpufreq frequency will be used.
373 config TEGRA_USB_MODEM_POWER
374 bool "Enable tegra usb modem power management"
377 This option enables support for out-of_band remote wakeup, selective
378 suspend and system suspend/resume.
380 config TEGRA_THERMAL_SYSFS
381 bool "Enable Thermal driver to use Thermal Sysfs infrastructure"
385 config TEGRA_PLLM_RESTRICTED
386 bool "Restrict PLLM usage as module clock source"
387 depends on !ARCH_TEGRA_2x_SOC
390 When enabled, PLLM usage may be restricted to modules with dividers
391 capable of dividing maximum PLLM frequency at minimum voltage. When
392 disabled, PLLM is used as a clock source with no restrictions (which
393 may effectively increase lower limit for core voltage).
395 config TEGRA_WDT_RECOVERY
396 bool "Enable suspend/resume watchdog recovery mechanism"
399 Enables watchdog recovery mechanism to protect against
400 suspend/resume hangs.