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
43 select TEGRA_LP2_ARM_TWD if HAVE_ARM_TWD
45 Support for NVIDIA Tegra T30 processor family, based on the
46 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
48 config ARCH_TEGRA_HAS_DUAL_3D
51 config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
54 config ARCH_TEGRA_HAS_PCIE
57 config ARCH_TEGRA_HAS_SATA
61 bool "PCIe host controller driver"
63 depends on ARCH_TEGRA_HAS_PCIE
65 Adds PCIe Host controller driver for tegra based systems
67 comment "Tegra board type"
71 depends on ARCH_TEGRA_2x_SOC
72 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
74 Support for NVIDIA Harmony development platform
78 depends on ARCH_TEGRA_2x_SOC
80 Support for NVIDIA Ventana development platform
84 depends on ARCH_TEGRA_2x_SOC
86 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
88 Support for the Kaen version of Seaboard
92 depends on ARCH_TEGRA_2x_SOC
94 Support for the Toshiba AC100/Dynabook AZ netbook
98 depends on ARCH_TEGRA_2x_SOC
99 select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
101 Support for nVidia Seaboard development platform. It will
102 also be included for some of the derivative boards that
103 have large similarities with the seaboard design.
106 bool "Generic Tegra20 board (FDT support)"
107 depends on ARCH_TEGRA_2x_SOC
110 Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
112 config MACH_TRIMSLICE
113 bool "TrimSlice board"
114 depends on ARCH_TEGRA_2x_SOC
117 Support for CompuLab TrimSlice platform
121 depends on ARCH_TEGRA_2x_SOC
124 Support for the Wario version of Seaboard
128 depends on ARCH_TEGRA_2x_SOC
131 Support for the nVidia Ventana development platform
142 prompt "Tegra platform type"
143 default TEGRA_SILICON_PLATFORM
145 config TEGRA_SILICON_PLATFORM
148 This enables support for a Tegra silicon platform.
150 config TEGRA_SIMULATION_PLATFORM
153 This enables support for a Tegra simulation platform.
154 Select this only if you are an NVIDIA developer working
155 on a simulation platform.
157 config TEGRA_FPGA_PLATFORM
160 This enables support for a Tegra FPGA platform.
161 Select this only if you are an NVIDIA developer working
166 prompt "Low-level debug console UART"
167 default TEGRA_DEBUG_UART_NONE
169 config TEGRA_DEBUG_UART_NONE
172 config TEGRA_DEBUG_UARTA
176 config TEGRA_DEBUG_UARTB
180 config TEGRA_DEBUG_UARTC
184 config TEGRA_DEBUG_UARTD
188 config TEGRA_DEBUG_UARTE
193 config TEGRA_SYSTEM_DMA
194 bool "Enable system DMA driver for NVIDIA Tegra SoCs"
197 Adds system DMA functionality for NVIDIA Tegra SoCs, used by
198 several Tegra device drivers
201 tristate "Enable PWM driver"
204 Enable support for the Tegra PWM controller(s).
206 config TEGRA_EMC_SCALING_ENABLE
207 bool "Enable scaling the memory frequency"
208 depends on TEGRA_SILICON_PLATFORM
211 config TEGRA_CPU_DVFS
212 bool "Enable voltage scaling on Tegra CPU"
213 depends on TEGRA_SILICON_PLATFORM
216 config TEGRA_CORE_DVFS
217 bool "Enable voltage scaling on Tegra core"
218 depends on TEGRA_SILICON_PLATFORM
219 depends on TEGRA_CPU_DVFS
222 config TEGRA_IOVMM_GART
223 bool "Enable I/O virtual memory manager for GART"
224 depends on ARCH_TEGRA_2x_SOC
228 Enables support for remapping discontiguous physical memory
229 shared with the operating system into contiguous I/O virtual
230 space through the GART (Graphics Address Relocation Table)
231 hardware included on Tegra SoCs.
233 config TEGRA_IOVMM_SMMU
234 bool "Enable I/O virtual memory manager for SMMU"
235 depends on ARCH_TEGRA_3x_SOC
239 Enables support for remapping discontiguous physical memory
240 shared with the operating system into contiguous I/O virtual
241 space through the SMMU (System Memory Management Unit)
242 hardware included on Tegra SoCs.
244 config TEGRA_SMMU_BASE_AT_E0000000
245 bool "Force SMMU IOVA base to 0xe0000000"
246 depends on TEGRA_IOVMM_SMMU
249 Forces SMMU IOVA base address to 0xe0000000 for debug purposes
250 only. Select n for production systems.
252 config TEGRA_IOVMM_SMMU_SYSFS
253 bool "Enable SMMU register access for debugging"
254 depends on TEGRA_IOVMM_SMMU
257 Enables SMMU register access through /sys/devices/smmu/* files.
262 config TEGRA_AVP_KERNEL_ON_MMU
263 bool "Use AVP MMU to relocate AVP kernel"
264 depends on ARCH_TEGRA_2x_SOC
267 Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
269 config TEGRA_AVP_KERNEL_ON_SMMU
270 bool "Use SMMU to relocate AVP kernel"
271 depends on TEGRA_IOVMM_SMMU
274 Use SMMU to relocate AVP kernel (nvrm_avp.bin).
276 config TEGRA_ARB_SEMAPHORE
279 config TEGRA_THERMAL_THROTTLE
280 bool "Enable throttling of CPU speed on overtemp"
281 depends on TEGRA_SILICON_PLATFORM
285 Also requires enabling a temperature sensor such as NCT1008.
287 config WIFI_CONTROL_FUNC
288 bool "Enable WiFi control function abstraction"
290 Enables Power/Reset/Carddetect function abstraction
292 config TEGRA_CLOCK_DEBUG_WRITE
293 bool "Enable debugfs write access to clock tree"
297 config TEGRA_CLUSTER_CONTROL
299 depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
300 default y if PM_SLEEP
302 config TEGRA_AUTO_HOTPLUG
303 bool "Enable automatic CPU hot-plugging"
304 depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE && !ARCH_TEGRA_2x_SOC
307 This option enables turning CPUs off/on and switching tegra
308 high/low power CPU clusters automatically, corresponding to
309 CPU frequency scaling.
311 config TEGRA_MC_PROFILE
312 tristate "Enable profiling memory controller utilization"
315 When enabled, provides a mechanism to perform statistical
316 sampling of the memory controller usage on a client-by-client
317 basis, and report the log through sysfs.
319 config TEGRA_EDP_LIMITS
320 bool "Enforce electrical design limits"
321 depends on TEGRA_SILICON_PLATFORM
323 default y if ARCH_TEGRA_3x_SOC
326 Limit maximum CPU frequency based on temperature and number
327 of on-line CPUs to keep CPU rail current within power supply
330 config TEGRA_INTERNAL_TSENSOR_EDP_SUPPORT
331 bool "Enable EDP and thermal throttling using internal TSensor"
332 depends on TEGRA_EDP_LIMITS && ARCH_TEGRA_3x_SOC
334 When enabled, uses internal tsensor to support EDP and
335 thermal throttling on tegra platform
337 config TEGRA_EMC_TO_DDR_CLOCK
338 int "EMC to DDR clocks ratio"
339 default "2" if ARCH_TEGRA_2x_SOC
342 config TEGRA_LEGACY_AUDIO
343 bool "Enable Tegra Legacy Audio APIs"
346 Say Y if you want to add support legacy (non-ALSA) audio APIs on
347 Tegra. This will disable ALSA (ASoC) support.
349 config TEGRA_STAT_MON
350 bool "Enable H/W statistics monitor"
351 depends on ARCH_TEGRA_2x_SOC
354 Enables support for hardware statistics monitor for AVP.
356 config TEGRA_DYNAMIC_PWRDET
357 bool "Enable dynamic activation of IO level auto-detection"
358 depends on TEGRA_SILICON_PLATFORM
361 This option allows turning off tegra IO level auto-detection
362 when IO power is stable. If set auto-detection cells are active
363 only during power transitions, otherwise, the cells are active
366 config TEGRA_EDP_EXACT_FREQ
367 bool "Use maximum possible cpu frequency when EDP capping"
368 depends on TEGRA_EDP_LIMITS
371 When enabled the cpu will run at the exact frequency
372 specified in the EDP table when EDP capping is applied; when
373 disabled the next lower cpufreq frequency will be used.
375 config TEGRA_USB_MODEM_POWER
376 bool "Enable tegra usb modem power management"
379 This option enables support for out-of_band remote wakeup, selective
380 suspend and system suspend/resume.
382 config TEGRA_THERMAL_SYSFS
383 bool "Enable Thermal driver to use Thermal Sysfs infrastructure"
387 config TEGRA_PLLM_RESTRICTED
388 bool "Restrict PLLM usage as module clock source"
389 depends on !ARCH_TEGRA_2x_SOC
392 When enabled, PLLM usage may be restricted to modules with dividers
393 capable of dividing maximum PLLM frequency at minimum voltage. When
394 disabled, PLLM is used as a clock source with no restrictions (which
395 may effectively increase lower limit for core voltage).
397 config TEGRA_WDT_RECOVERY
398 bool "Enable suspend/resume watchdog recovery mechanism"
401 Enables watchdog recovery mechanism to protect against
402 suspend/resume hangs.
404 config TEGRA_LP2_ARM_TWD
408 config TEGRA_SLOW_CSITE
409 bool "lower csite clock to 1 Mhz to reduce its power consumption"
412 When enabled, csite will be running at 1 Mhz and the performance of
413 jtag, lauterbach and other debugger will be extremely slow.