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
145 depends on ARCH_TEGRA_3x_SOC
146 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
148 Support for NVIDIA Cardhu development platform
152 config TEGRA_VERBIER_E1187
153 bool "Support for NVIDIA VERBIER E1187 platform"
156 This enables the NVIDIA Tegra Verbier E1187 platform support.
157 Select this only if you are an NVIDIA developer working on
158 an verbier E1187 platforms. All others must leave this unselected.
161 prompt "Tegra platform type"
162 default TEGRA_SILICON_PLATFORM
164 config TEGRA_SILICON_PLATFORM
167 This enables support for a Tegra silicon platform.
169 config TEGRA_SIMULATION_PLATFORM
172 This enables support for a Tegra simulation platform.
173 Select this only if you are an NVIDIA developer working
174 on a simulation platform.
176 config TEGRA_FPGA_PLATFORM
179 This enables support for a Tegra FPGA platform.
180 Select this only if you are an NVIDIA developer working
185 prompt "Low-level debug console UART"
186 default TEGRA_DEBUG_UART_NONE
188 config TEGRA_DEBUG_UART_NONE
191 config TEGRA_DEBUG_UARTA
195 config TEGRA_DEBUG_UARTB
199 config TEGRA_DEBUG_UARTC
203 config TEGRA_DEBUG_UARTD
207 config TEGRA_DEBUG_UARTE
212 config TEGRA_SYSTEM_DMA
213 bool "Enable system DMA driver for NVIDIA Tegra SoCs"
216 Adds system DMA functionality for NVIDIA Tegra SoCs, used by
217 several Tegra device drivers
220 tristate "Enable PWM driver"
223 Enable support for the Tegra PWM controller(s).
225 config TEGRA_CARDHU_DSI
226 bool "Support DSI panel on Cardhu"
227 depends on MACH_CARDHU
230 Support for DSI Panel on Nvidia Cardhu
232 config TEGRA_EMC_SCALING_ENABLE
233 bool "Enable scaling the memory frequency"
234 depends on TEGRA_SILICON_PLATFORM
237 config TEGRA_CPU_DVFS
238 bool "Enable voltage scaling on Tegra CPU"
239 depends on TEGRA_SILICON_PLATFORM
242 config TEGRA_CORE_DVFS
243 bool "Enable voltage scaling on Tegra core"
244 depends on TEGRA_SILICON_PLATFORM
245 depends on TEGRA_CPU_DVFS
248 config TEGRA_IOVMM_GART
249 bool "Enable I/O virtual memory manager for GART"
250 depends on ARCH_TEGRA_2x_SOC
254 Enables support for remapping discontiguous physical memory
255 shared with the operating system into contiguous I/O virtual
256 space through the GART (Graphics Address Relocation Table)
257 hardware included on Tegra SoCs.
259 config TEGRA_IOVMM_SMMU
260 bool "Enable I/O virtual memory manager for SMMU"
261 depends on ARCH_TEGRA_3x_SOC
265 Enables support for remapping discontiguous physical memory
266 shared with the operating system into contiguous I/O virtual
267 space through the SMMU (System Memory Management Unit)
268 hardware included on Tegra SoCs.
270 config TEGRA_SMMU_BASE_AT_E0000000
271 bool "Force SMMU IOVA base to 0xe0000000"
272 depends on TEGRA_IOVMM_SMMU
275 Forces SMMU IOVA base address to 0xe0000000 for debug purposes
276 only. Select n for production systems.
278 config TEGRA_IOVMM_SMMU_SYSFS
279 bool "Enable SMMU register access for debugging"
280 depends on TEGRA_IOVMM_SMMU
283 Enables SMMU register access through /sys/devices/smmu/* files.
288 config TEGRA_AVP_KERNEL_ON_MMU
289 bool "Use AVP MMU to relocate AVP kernel"
290 depends on ARCH_TEGRA_2x_SOC
293 Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
295 config TEGRA_AVP_KERNEL_ON_SMMU
296 bool "Use SMMU to relocate AVP kernel"
297 depends on TEGRA_IOVMM_SMMU
300 Use SMMU to relocate AVP kernel (nvrm_avp.bin).
302 config TEGRA_ARB_SEMAPHORE
305 config TEGRA_THERMAL_THROTTLE
306 bool "Enable throttling of CPU speed on overtemp"
307 depends on TEGRA_SILICON_PLATFORM
311 Also requires enabling a temperature sensor such as NCT1008.
313 config WIFI_CONTROL_FUNC
314 bool "Enable WiFi control function abstraction"
316 Enables Power/Reset/Carddetect function abstraction
318 config TEGRA_CLOCK_DEBUG_WRITE
319 bool "Enable debugfs write access to clock tree"
323 config TEGRA_CLUSTER_CONTROL
325 depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
326 default y if PM_SLEEP
328 config TEGRA_AUTO_HOTPLUG
329 bool "Enable automatic CPU hot-plugging"
330 depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE && !ARCH_TEGRA_2x_SOC
333 This option enables turning CPUs off/on and switching tegra
334 high/low power CPU clusters automatically, corresponding to
335 CPU frequency scaling.
337 config TEGRA_MC_PROFILE
338 tristate "Enable profiling memory controller utilization"
341 When enabled, provides a mechanism to perform statistical
342 sampling of the memory controller usage on a client-by-client
343 basis, and report the log through sysfs.
345 config TEGRA_EDP_LIMITS
346 bool "Enforce electrical design limits"
347 depends on TEGRA_SILICON_PLATFORM
349 default y if ARCH_TEGRA_3x_SOC
352 Limit maximum CPU frequency based on temperature and number
353 of on-line CPUs to keep CPU rail current within power supply
356 config TEGRA_EMC_TO_DDR_CLOCK
357 int "EMC to DDR clocks ratio"
358 default "2" if ARCH_TEGRA_2x_SOC
361 config TEGRA_LEGACY_AUDIO
362 bool "Enable Tegra Legacy Audio APIs"
365 Say Y if you want to add support legacy (non-ALSA) audio APIs on
366 Tegra. This will disable ALSA (ASoC) support.
368 config TEGRA_STAT_MON
369 bool "Enable H/W statistics monitor"
370 depends on ARCH_TEGRA_2x_SOC
373 Enables support for hardware statistics monitor for AVP.
376 bool "Enabling the USB hotplug"
379 config TEGRA_DYNAMIC_PWRDET
380 bool "Enable dynamic activation of IO level auto-detection"
381 depends on TEGRA_SILICON_PLATFORM
384 This option allows turning off tegra IO level auto-detection
385 when IO power is stable. If set auto-detection cells are active
386 only during power transitions, otherwise, the cells are active
389 config TEGRA_EDP_EXACT_FREQ
390 bool "Use maximum possible cpu frequency when EDP capping"
391 depends on TEGRA_EDP_LIMITS
394 When enabled the cpu will run at the exact frequency
395 specified in the EDP table when EDP capping is applied; when
396 disabled the next lower cpufreq frequency will be used.
398 config TEGRA_USB_MODEM_POWER
399 bool "Enable tegra usb modem power management"
402 This option enables support for out-of_band remote wakeup, selective
403 suspend and system suspend/resume.
405 config TEGRA_THERMAL_SYSFS
406 bool "Enable Thermal driver to use Thermal Sysfs infrastructure"
410 config TEGRA_PLLM_RESTRICTED
411 bool "Restrict PLLM usage as module clock source"
412 depends on !ARCH_TEGRA_2x_SOC
415 When enabled, PLLM usage may be restricted to modules with dividers
416 capable of dividing maximum PLLM frequency at minimum voltage. When
417 disabled, PLLM is used as a clock source with no restrictions (which
418 may effectively increase lower limit for core voltage).
420 config TEGRA_WDT_RECOVERY
421 bool "Enable suspend/resume watchdog recovery mechanism"
424 Enables watchdog recovery mechanism to protect against
425 suspend/resume hangs.
427 config TEGRA_LP2_ARM_TWD
430 config TEGRA_RAIL_OFF_MULTIPLE_CPUS
433 config TEGRA_SLOW_CSITE
434 bool "lower csite clock to 1 Mhz to reduce its power consumption"
437 When enabled, csite will be running at 1 Mhz and the performance of
438 jtag, lauterbach and other debugger will be extremely slow.
440 config TEGRA_PREINIT_CLOCKS
441 bool "Preinitialize Tegra clocks to known states"
444 Preinitialize Tegra clocks to known states before actual full-
445 scale clock initialization starts.