blob: 4fd64d3f5c4429206b8c838ca99387e6668aee11 [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
Benjamin Herrenschmidt55190f82011-09-19 17:44:52 +00003source "arch/powerpc/platforms/powernv/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05004source "arch/powerpc/platforms/pseries/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05005source "arch/powerpc/platforms/chrp/Kconfig"
John Rigbye177edc2008-01-29 04:28:53 +11006source "arch/powerpc/platforms/512x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05007source "arch/powerpc/platforms/52xx/Kconfig"
8source "arch/powerpc/platforms/powermac/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05009source "arch/powerpc/platforms/maple/Kconfig"
10source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050011source "arch/powerpc/platforms/ps3/Kconfig"
12source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050013source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050014source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050015source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050016source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050017source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050018source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100019source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050020source "arch/powerpc/platforms/40x/Kconfig"
Gerhard Pircher54b318a2009-02-10 12:20:49 +000021source "arch/powerpc/platforms/amigaone/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050022
Alexander Grafd17051c2010-07-29 14:47:57 +020023config KVM_GUEST
24 bool "KVM Guest support"
Anton Blanchard643ba4e2011-08-04 17:23:58 +000025 default n
Liu Yu-B132012e1ae9c2012-03-15 10:52:13 +000026 select EPAPR_PARAVIRT
Alexander Grafd17051c2010-07-29 14:47:57 +020027 ---help---
28 This option enables various optimizations for running under the KVM
29 hypervisor. Overhead for the kernel when not running inside KVM should
30 be minimal.
31
32 In case of doubt, say Y
33
Liu Yu-B132012e1ae9c2012-03-15 10:52:13 +000034config EPAPR_PARAVIRT
35 bool "ePAPR para-virtualization support"
36 default n
37 help
38 Enables ePAPR para-virtualization support for guests.
39
40 In case of doubt, say Y
41
Kumar Gala4330f5d2007-03-16 09:32:17 -050042config PPC_NATIVE
43 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000044 depends on 6xx || PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050045 help
46 Support for running natively on the hardware, i.e. without
47 a hypervisor. This option is not user-selectable but should
48 be selected by all platforms that need it.
49
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000050config PPC_OF_BOOT_TRAMPOLINE
51 bool "Support booting from Open Firmware or yaboot"
52 depends on 6xx || PPC64
53 default y
54 help
55 Support from booting from Open Firmware or yaboot using an
56 Open Firmware client interface. This enables the kernel to
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -070057 communicate with open firmware to retrieve system information
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000058 such as the device tree.
59
60 In case of doubt, say Y
61
Michael Ellermanc6ee96192017-06-08 16:29:59 +100062config PPC_DT_CPU_FTRS
63 bool "Device-tree based CPU feature discovery & setup"
64 depends on PPC_BOOK3S_64
65 default y
66 help
67 This enables code to use a new device tree binding for describing CPU
68 compatibility and features. Saying Y here will attempt to use the new
69 binding if the firmware provides it. Currently only the skiboot
70 firmware provides this binding.
71 If you're not sure say Y.
72
Kumar Gala4330f5d2007-03-16 09:32:17 -050073config UDBG_RTAS_CONSOLE
74 bool "RTAS based debug console"
75 depends on PPC_RTAS
76 default n
77
Milton Miller1ece3552011-05-10 19:29:42 +000078config PPC_SMP_MUXED_IPI
79 bool
80 help
81 Select this opton if your platform supports SMP and your
82 interrupt controller provides less than 4 interrupts to each
83 cpu. This will enable the generic code to multiplex the 4
84 messages on to one ipi.
85
John Rigbyb0bbad62008-01-17 17:05:31 -070086config IPIC
87 bool
88 default n
89
Kumar Gala98750262007-04-12 18:01:34 -050090config MPIC
91 bool
92 default n
93
Dongsheng.wang@freescale.com36ca09b2013-04-09 10:22:30 +080094config MPIC_TIMER
95 bool "MPIC Global Timer"
96 depends on MPIC && FSL_SOC
97 default n
98 help
99 The MPIC global timer is a hardware timer inside the
100 Freescale PIC complying with OpenPIC standard. When the
101 specified interval times out, the hardware timer generates
102 an interrupt. The driver currently is only tested on fsl
103 chip, but it can potentially support other global timers
104 complying with the OpenPIC standard.
105
Dongsheng.wang@freescale.coma63b3bc2013-04-09 10:22:32 +0800106config FSL_MPIC_TIMER_WAKEUP
107 tristate "Freescale MPIC global timer wakeup driver"
108 depends on FSL_SOC && MPIC_TIMER && PM
109 default n
110 help
111 The driver provides a way to wake up the system by MPIC
112 timer.
113 e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"
114
Ashish Kalra3a932612011-05-19 08:54:28 -0500115config PPC_EPAPR_HV_PIC
116 bool
117 default n
Stuart Yoder40656392012-07-03 05:48:54 +0000118 select EPAPR_PARAVIRT
Ashish Kalra3a932612011-05-19 08:54:28 -0500119
Kumar Gala98750262007-04-12 18:01:34 -0500120config MPIC_WEIRD
121 bool
122 default n
123
Jia Hongtao86268162012-02-17 10:49:03 +0800124config MPIC_MSGR
125 bool "MPIC message register support"
126 depends on MPIC
127 default n
128 help
129 Enables support for the MPIC message registers. These
130 registers are used for inter-processor communication.
131
Kumar Gala98750262007-04-12 18:01:34 -0500132config PPC_I8259
133 bool
134 default n
135
Kumar Gala4330f5d2007-03-16 09:32:17 -0500136config U3_DART
137 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000138 depends on PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500139 default n
140
141config PPC_RTAS
142 bool
143 default n
144
145config RTAS_ERROR_LOGGING
146 bool
147 depends on PPC_RTAS
148 default n
149
Benjamin Herrenschmidt3d541c42009-09-24 19:30:05 +0000150config PPC_RTAS_DAEMON
151 bool
152 depends on PPC_RTAS
153 default n
154
Kumar Gala4330f5d2007-03-16 09:32:17 -0500155config RTAS_PROC
156 bool "Proc interface to RTAS"
Michael Ellermanb80ec3d2013-05-06 18:43:39 +0000157 depends on PPC_RTAS && PROC_FS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500158 default y
159
160config RTAS_FLASH
161 tristate "Firmware flash interface"
162 depends on PPC64 && RTAS_PROC
163
Kumar Gala4330f5d2007-03-16 09:32:17 -0500164config MMIO_NVRAM
165 bool
166 default n
167
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000168config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500169 bool
Andreas Schwab314b3892010-08-23 07:36:41 +0000170 default n
Kumar Gala4330f5d2007-03-16 09:32:17 -0500171
Olof Johansson0d72ba92007-09-08 05:13:19 +1000172config MPIC_BROKEN_REGREAD
173 bool
174 depends on MPIC
175 help
176 This option enables a MPIC driver workaround for some chips
177 that have a bug that causes some interrupt source information
178 to not read back properly. It is safe to use on other chips as
179 well, but enabling it uses about 8KB of memory to keep copies
180 of the register contents in software.
181
Gavin Shan317f06d2013-06-20 13:20:52 +0800182config EEH
183 bool
184 depends on (PPC_POWERNV || PPC_PSERIES) && PCI
185 default y
186
Kumar Gala4330f5d2007-03-16 09:32:17 -0500187config PPC_MPC106
188 bool
189 default n
190
191config PPC_970_NAP
192 bool
193 default n
194
Benjamin Herrenschmidt948cf672011-01-24 18:42:41 +1100195config PPC_P7_NAP
196 bool
197 default n
198
Benjamin Herrenschmidtecd73cc2013-07-15 13:03:08 +1000199config PPC_INDIRECT_PIO
Kumar Gala4330f5d2007-03-16 09:32:17 -0500200 bool
201 select GENERIC_IOMAP
Michael Ellerman21176fe2011-04-11 21:25:01 +0000202
Michael Ellerman21176fe2011-04-11 21:25:01 +0000203config PPC_INDIRECT_MMIO
204 bool
Kumar Gala4330f5d2007-03-16 09:32:17 -0500205
Michael Ellerman3cc30d02011-04-11 21:25:01 +0000206config PPC_IO_WORKAROUNDS
207 bool
208
Kumar Gala4330f5d2007-03-16 09:32:17 -0500209source "drivers/cpufreq/Kconfig"
210
Deepthi Dharware1798162011-11-30 02:46:55 +0000211menu "CPUIdle driver"
212
213source "drivers/cpuidle/Kconfig"
214
215endmenu
216
Kumar Gala4330f5d2007-03-16 09:32:17 -0500217config PPC601_SYNC_FIX
218 bool "Workarounds for PPC601 bugs"
Paul Bolle933ee712013-03-27 00:47:03 +0000219 depends on 6xx && PPC_PMAC
Kumar Gala4330f5d2007-03-16 09:32:17 -0500220 help
221 Some versions of the PPC601 (the first PowerPC chip) have bugs which
222 mean that extra synchronization instructions are required near
223 certain instructions, typically those that make major changes to the
224 CPU state. These extra instructions reduce performance slightly.
225 If you say N here, these extra instructions will not be included,
226 resulting in a kernel which will run faster but may not run at all
227 on some systems with the PPC601 chip.
228
229 If in doubt, say Y here.
230
231config TAU
232 bool "On-chip CPU temperature sensor support"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000233 depends on 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -0500234 help
235 G3 and G4 processors have an on-chip temperature sensor called the
236 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
237 temperature within 2-4 degrees Celsius. This option shows the current
238 on-die temperature in /proc/cpuinfo if the cpu supports it.
239
240 Unfortunately, on some chip revisions, this sensor is very inaccurate
241 and in many cases, does not work at all, so don't assume the cpu
242 temp is actually what /proc/cpuinfo says it is.
243
244config TAU_INT
245 bool "Interrupt driven TAU driver (DANGEROUS)"
246 depends on TAU
247 ---help---
248 The TAU supports an interrupt driven mode which causes an interrupt
249 whenever the temperature goes out of range. This is the fastest way
250 to get notified the temp has exceeded a range. With this option off,
251 a timer is used to re-check the temperature periodically.
252
253 However, on some cpus it appears that the TAU interrupt hardware
254 is buggy and can cause a situation which would lead unexplained hard
255 lockups.
256
257 Unless you are extending the TAU driver, or enjoy kernel/hardware
258 debugging, leave this option off.
259
260config TAU_AVERAGE
261 bool "Average high and low temp"
262 depends on TAU
263 ---help---
264 The TAU hardware can compare the temperature to an upper and lower
265 bound. The default behavior is to show both the upper and lower
266 bound in /proc/cpuinfo. If the range is large, the temperature is
267 either changing a lot, or the TAU hardware is broken (likely on some
268 G4's). If the range is small (around 4 degrees), the temperature is
269 relatively stable. If you say Y here, a single temperature value,
270 halfway between the upper and lower bounds, will be reported in
271 /proc/cpuinfo.
272
273 If in doubt, say N here.
274
Anton Vorontsov5c091192008-10-03 23:40:36 +0400275config QE_GPIO
276 bool "QE GPIO support"
277 depends on QUICC_ENGINE
Linus Walleij86c55af2016-04-19 13:21:02 +0200278 select GPIOLIB
Anton Vorontsov5c091192008-10-03 23:40:36 +0400279 help
280 Say Y here if you're going to use hardware that connects to the
281 QE GPIOs.
282
Kumar Galad6071f82007-04-12 16:53:32 -0500283config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500284 bool "Enable support for the CPM2 (Communications Processor Module)"
Kumar Gala5753c082009-10-16 18:31:48 -0500285 depends on (FSL_SOC_BOOKE && PPC32) || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500286 select CPM
John Rigbyb5005632008-06-26 11:07:56 -0600287 select PPC_PCI_CHOICE
Linus Walleij86c55af2016-04-19 13:21:02 +0200288 select GPIOLIB
Kumar Galad6071f82007-04-12 16:53:32 -0500289 help
290 The CPM2 (Communications Processor Module) is a coprocessor on
291 embedded CPUs made by Freescale. Selecting this option means that
292 you wish to build a kernel for a machine with a CPM2 coprocessor
293 on it (826x, 827x, 8560).
294
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200295config AXON_RAM
296 tristate "Axon DDR2 memory device driver"
Michael Ellermanebf0f332009-03-12 02:16:27 +0000297 depends on PPC_IBM_CELL_BLADE && BLOCK
Dan Williams60fcd552017-01-25 15:25:11 -0800298 select DAX
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200299 default m
300 help
301 It registers one block device per Axon's DDR2 memory bank found
302 on a system. Block devices are called axonram?, their major and
303 minor numbers are available in /proc/devices, /proc/partitions or
304 in /sys/block/axonram?/dev.
305
Kumar Galab66510c2007-08-16 23:55:55 -0500306config FSL_ULI1575
307 bool
308 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500309 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500310 help
311 Supports for the ULI1575 PCIe south bridge that exists on some
312 Freescale reference boards. The boards all use the ULI in pretty
313 much the same way.
314
Scott Woodc374e002007-07-16 11:43:43 -0500315config CPM
316 bool
Zhao Qiang0e6e01f2015-11-30 10:48:54 +0800317 select GENERIC_ALLOCATOR
Scott Woodc374e002007-07-16 11:43:43 -0500318
David Gibson22258fa2008-01-11 14:25:34 +1100319config OF_RTC
320 bool
321 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100322 Uses information from the OF or flattened device tree to instantiate
David Gibson22258fa2008-01-11 14:25:34 +1100323 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
324
Arnd Bergmann835ea932016-05-30 20:58:01 +0200325config GEN_RTC
326 bool "Use the platform RTC operations from user space"
327 select RTC_CLASS
328 select RTC_DRV_GENERIC
329 help
330 This option provides backwards compatibility with the old gen_rtc.ko
331 module that was traditionally used for old PowerPC machines.
332 Platforms should migrate to enabling the RTC_DRV_GENERIC by hand
333 replacing their get_rtc_time/set_rtc_time callbacks with
334 a proper RTC device driver.
335
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300336config SIMPLE_GPIO
337 bool "Support for simple, memory-mapped GPIO controllers"
338 depends on PPC
Linus Walleij86c55af2016-04-19 13:21:02 +0200339 select GPIOLIB
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300340 help
341 Say Y here to support simple, memory-mapped GPIO controllers.
342 These are usually BCSRs used to control board's switches, LEDs,
343 chip-selects, Ethernet/USB PHY's power and various other small
344 on-board peripherals.
345
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300346config MCU_MPC8349EMITX
Fabio Baltieri6ca6ca52011-08-15 16:19:30 +0200347 bool "MPC8349E-mITX MCU driver"
Al Viro82640a62011-11-08 21:10:29 -0500348 depends on I2C=y && PPC_83xx
Linus Walleij86c55af2016-04-19 13:21:02 +0200349 select GPIOLIB
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300350 help
351 Say Y here to enable soft power-off functionality on the Freescale
352 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
353 also register MCU GPIOs with the generic GPIO API, so you'll able
354 to use MCU pins as GPIOs.
355
Roderick Colenbrander64f16502009-06-06 10:14:22 -0600356config XILINX_PCI
357 bool "Xilinx PCI host bridge support"
358 depends on PCI && XILINX_VIRTEX
359
Kumar Gala4330f5d2007-03-16 09:32:17 -0500360endmenu