blob: cf6cb2a854de1cfa4dfe6d3ef2e598021fd8560a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
if ARCH_TEGRA
comment "NVIDIA Tegra options"
choice
prompt "Select Tegra processor family for target system"
config ARCH_TEGRA_2x_SOC
bool "Tegra 2 family"
select CPU_V7
select ARM_GIC
select ARCH_REQUIRE_GPIOLIB
select ARM_ERRATA_742230
select USB_ARCH_HAS_EHCI if USB_SUPPORT
select USB_ULPI if USB_SUPPORT
select USB_ULPI_VIEWPORT if USB_SUPPORT
help
Support for NVIDIA Tegra AP20 and T20 processors, based on the
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
config ARCH_TEGRA_3x_SOC
bool "Tegra 3 family"
select CPU_V7
select ARM_GIC
select ARCH_REQUIRE_GPIOLIB
select TEGRA_IOVMM
select USB_ARCH_HAS_EHCI if USB_SUPPORT
select USB_EHCI_TEGRA if USB_SUPPORT
select USB_ULPI if USB_SUPPORT
select USB_ULPI_VIEWPORT if USB_SUPPORT
help
Support for NVIDIA Tegra 3 family of SoCs, based upon the
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
endchoice
comment "Tegra board type"
config MACH_HARMONY
bool "Harmony board"
depends on ARCH_TEGRA_2x_SOC
help
Support for NVIDIA Harmony development platform
config MACH_VENTANA
bool "Ventana board"
depends on ARCH_TEGRA_2x_SOC
help
Support for NVIDIA Ventana development platform
config MACH_WHISTLER
bool "Whistler board"
depends on ARCH_TEGRA_2x_SOC
help
Support for NVIDIA Whistler development platform
config MACH_ARUBA
bool "Aruba board"
depends on ARCH_TEGRA_3x_SOC
select TEGRA_FPGA_PLATFORM
help
Support for NVIDIA Aruba2 FPGA development platform
config MACH_CARDHU
bool "Cardhu board"
depends on ARCH_TEGRA_3x_SOC
help
Support for NVIDIA Cardhu development platform
config MACH_TEGRA_ENTERPRISE
bool "Enterprise board"
depends on ARCH_TEGRA_3x_SOC
help
Support for NVIDIA Enterprise development platform
config TEGRA_VERBIER_E1187
bool "Support for NVIDIA VERBIER E1187 platform"
default n
help
This enables the NVIDIA Tegra Verbier E1187 platform support.
Select this only if you are an NVIDIA developer working on
an verbier E1187 platforms. All others must leave this unselected.
config TEGRA_FPGA_PLATFORM
bool "Support for NVIDIA Tegra FPGA platform"
default n
help
This enables the NVIDIA Tegra FPGA platform support.
Select this only if you are an NVIDIA developer working on
an FPGA platforms. All others must leave this unselected.
choice
prompt "Low-level debug console UART"
default TEGRA_DEBUG_UART_NONE
config TEGRA_DEBUG_UART_NONE
bool "None"
config TEGRA_DEBUG_UARTA
bool "UART-A"
config TEGRA_DEBUG_UARTB
bool "UART-B"
config TEGRA_DEBUG_UARTC
bool "UART-C"
config TEGRA_DEBUG_UARTD
bool "UART-D"
config TEGRA_DEBUG_UARTE
bool "UART-E"
endchoice
config TEGRA_SYSTEM_DMA
bool "Enable system DMA driver for NVIDIA Tegra SoCs"
default y
help
Adds system DMA functionality for NVIDIA Tegra SoCs, used by
several Tegra device drivers
config TEGRA_SPI_SLAVE
tristate "Nvidia Tegra SPI slave driver"
depends on ARCH_TEGRA
select TEGRA_SYSTEM_DMA
help
SPI slave driver for NVIDIA Tegra SoCs
config TEGRA_PWM
tristate "Enable PWM driver"
select HAVE_PWM
help
Enable support for the Tegra PWM controller(s).
config TEGRA_FIQ_DEBUGGER
bool "Enable the FIQ serial debugger on Tegra"
default y
select FIQ_DEBUGGER
help
Enables the FIQ serial debugger on Tegra"
source "arch/arm/mach-tegra/nv/Kconfig"
endif
config TEGRA_CARDHU_DSI
bool "Support DSI panel on Cardhu"
depends on MACH_CARDHU
select TEGRA_DSI
help
Support for DSI Panel on Nvidia Cardhu
config TEGRA_EMC_SCALING_ENABLE
bool "Enable scaling the memory frequency"
default n
config TEGRA_CPU_DVFS
bool "Enable voltage scaling on Tegra CPU"
default y
config TEGRA_CORE_DVFS
bool "Enable voltage scaling on Tegra core"
depends on TEGRA_CPU_DVFS
default y
config TEGRA_IOVMM_GART
bool "Enable I/O virtual memory manager for GART"
depends on ARCH_TEGRA_2x_SOC
default y
select TEGRA_IOVMM
help
Enables support for remapping discontiguous physical memory
shared with the operating system into contiguous I/O virtual
space through the GART hardware included on Tegra SoCs
config TEGRA_IOVMM_SMMU
bool "Enable I/O virtual memory manager for SMMU"
depends on ARCH_TEGRA_3x_SOC
default y
select TEGRA_IOVMM
help
Enables support for remapping discontiguous physical memory
shared with the operating system into contiguous I/O virtual
space through the SMMU hardware included on Tegra SoCs
config TEGRA_IOVMM
bool
config TEGRA_AVP_KERNEL_ON_MMU
bool "Use AVP MMU to relocate AVP kernel"
depends on ARCH_TEGRA_2x_SOC
default y
help
Use AVP MMU to relocate AVP kernel (nvrm_avp.bin).
config TEGRA_AVP_KERNEL_ON_SMMU
bool "Use SMMU to relocate AVP kernel"
depends on TEGRA_IOVMM_SMMU
default n
help
Use SMMU to relocate AVP kernel (nvrm_avp.bin).
This option is not implemented yet.
config TEGRA_ARB_SEMAPHORE
bool
config TEGRA_THERMAL_THROTTLE
bool "Enable throttling of CPU speed on overtemp"
depends on CPU_FREQ
default y
help
Also requires enabling a temperature sensor such as NCT1008.
config TEGRA_CLOCK_DEBUG_WRITE
bool "Enable debugfs write access to clock tree"
depends on DEBUG_FS
default n
config TEGRA_AUTO_HOTPLUG
bool "Enable automatic CPU hot-plugging"
depends on HOTPLUG_CPU && CPU_FREQ && !ARCH_CPU_PROBE_RELEASE
default y
help
This option enables turning CPUs off/on and switching tegra
high/low power CPU clusters automatically, corresponding to
CPU frequency scaling.
config TEGRA_MC_PROFILE
tristate "Enable profiling memory controller utilization"
default n
help
When enabled, provides a mechanism to perform statistical
sampling of the memory controller usage on a client-by-client
basis, and report the log through sysfs.
config TEGRA_EDP_LIMITS
bool "Enforce electrical design limits"
depends on CPU_FREQ
default n
help
Limit maximum CPU frequency based on temperature and number
of on-line CPUs to keep CPU rail current within power supply
capabilities.
config TEGRA_REG_ACCESS
bool "Enable accessing Tegra Registers from user space"
default n
help
When enabled, the /dev/tegra_reg_access node is created,
which allows accessing Tegra Registers from user space.
This is for test purpose only. This should not be enabled
in production builds.
config TEGRA_EMC_TO_DDR_CLOCK
int "EMC to DDR clocks ratio"
default "2" if ARCH_TEGRA_2x_SOC
default "1"
|