powerpc: Add skeleton PowerNV platform
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / powerpc / platforms / Kconfig
blob6de27d275728946aa3ebf94aa7cc8bc37442b558
1 menu "Platform support"
3 source "arch/powerpc/platforms/powernv/Kconfig"
4 source "arch/powerpc/platforms/pseries/Kconfig"
5 source "arch/powerpc/platforms/iseries/Kconfig"
6 source "arch/powerpc/platforms/chrp/Kconfig"
7 source "arch/powerpc/platforms/512x/Kconfig"
8 source "arch/powerpc/platforms/52xx/Kconfig"
9 source "arch/powerpc/platforms/powermac/Kconfig"
10 source "arch/powerpc/platforms/prep/Kconfig"
11 source "arch/powerpc/platforms/maple/Kconfig"
12 source "arch/powerpc/platforms/pasemi/Kconfig"
13 source "arch/powerpc/platforms/ps3/Kconfig"
14 source "arch/powerpc/platforms/cell/Kconfig"
15 source "arch/powerpc/platforms/8xx/Kconfig"
16 source "arch/powerpc/platforms/82xx/Kconfig"
17 source "arch/powerpc/platforms/83xx/Kconfig"
18 source "arch/powerpc/platforms/85xx/Kconfig"
19 source "arch/powerpc/platforms/86xx/Kconfig"
20 source "arch/powerpc/platforms/embedded6xx/Kconfig"
21 source "arch/powerpc/platforms/44x/Kconfig"
22 source "arch/powerpc/platforms/40x/Kconfig"
23 source "arch/powerpc/platforms/amigaone/Kconfig"
24 source "arch/powerpc/platforms/wsp/Kconfig"
26 config KVM_GUEST
27         bool "KVM Guest support"
28         default n
29         ---help---
30           This option enables various optimizations for running under the KVM
31           hypervisor. Overhead for the kernel when not running inside KVM should
32           be minimal.
34           In case of doubt, say Y
36 config PPC_NATIVE
37         bool
38         depends on 6xx || PPC64
39         help
40           Support for running natively on the hardware, i.e. without
41           a hypervisor. This option is not user-selectable but should
42           be selected by all platforms that need it.
44 config PPC_OF_BOOT_TRAMPOLINE
45         bool "Support booting from Open Firmware or yaboot"
46         depends on 6xx || PPC64
47         default y
48         help
49           Support from booting from Open Firmware or yaboot using an
50           Open Firmware client interface. This enables the kernel to
51           communicate with open firmware to retrieve system information
52           such as the device tree.
54           In case of doubt, say Y
56 config UDBG_RTAS_CONSOLE
57         bool "RTAS based debug console"
58         depends on PPC_RTAS
59         default n
61 config PPC_SMP_MUXED_IPI
62         bool
63         help
64           Select this opton if your platform supports SMP and your
65           interrupt controller provides less than 4 interrupts to each
66           cpu.  This will enable the generic code to multiplex the 4
67           messages on to one ipi.
69 config PPC_UDBG_BEAT
70         bool "BEAT based debug console"
71         depends on PPC_CELLEB
72         default n
74 config IPIC
75         bool
76         default n
78 config MPIC
79         bool
80         default n
82 config PPC_EPAPR_HV_PIC
83         bool
84         default n
86 config MPIC_WEIRD
87         bool
88         default n
90 config PPC_I8259
91         bool
92         default n
94 config U3_DART
95         bool
96         depends on PPC64
97         default n
99 config PPC_RTAS
100         bool
101         default n
103 config RTAS_ERROR_LOGGING
104         bool
105         depends on PPC_RTAS
106         default n
108 config PPC_RTAS_DAEMON
109         bool
110         depends on PPC_RTAS
111         default n
113 config RTAS_PROC
114         bool "Proc interface to RTAS"
115         depends on PPC_RTAS
116         default y
118 config RTAS_FLASH
119         tristate "Firmware flash interface"
120         depends on PPC64 && RTAS_PROC
122 config MMIO_NVRAM
123         bool
124         default n
126 config MPIC_U3_HT_IRQS
127         bool
128         default n
130 config MPIC_BROKEN_REGREAD
131         bool
132         depends on MPIC
133         help
134           This option enables a MPIC driver workaround for some chips
135           that have a bug that causes some interrupt source information
136           to not read back properly. It is safe to use on other chips as
137           well, but enabling it uses about 8KB of memory to keep copies
138           of the register contents in software.
140 config IBMVIO
141         depends on PPC_PSERIES || PPC_ISERIES
142         bool
143         default y
145 config IBMEBUS
146         depends on PPC_PSERIES
147         bool "Support for GX bus based adapters"
148         help
149           Bus device driver for GX bus based adapters.
151 config PPC_MPC106
152         bool
153         default n
155 config PPC_970_NAP
156         bool
157         default n
159 config PPC_P7_NAP
160         bool
161         default n
163 config PPC_INDIRECT_IO
164         bool
165         select GENERIC_IOMAP
167 config PPC_INDIRECT_PIO
168         bool
169         select PPC_INDIRECT_IO
171 config PPC_INDIRECT_MMIO
172         bool
173         select PPC_INDIRECT_IO
175 config PPC_IO_WORKAROUNDS
176         bool
178 config GENERIC_IOMAP
179         bool
181 source "drivers/cpufreq/Kconfig"
183 menu "CPU Frequency drivers"
184         depends on CPU_FREQ
186 config CPU_FREQ_PMAC
187         bool "Support for Apple PowerBooks"
188         depends on ADB_PMU && PPC32
189         select CPU_FREQ_TABLE
190         help
191           This adds support for frequency switching on Apple PowerBooks,
192           this currently includes some models of iBook & Titanium
193           PowerBook.
195 config CPU_FREQ_PMAC64
196         bool "Support for some Apple G5s"
197         depends on PPC_PMAC && PPC64
198         select CPU_FREQ_TABLE
199         help
200           This adds support for frequency switching on Apple iMac G5,
201           and some of the more recent desktop G5 machines as well.
203 config PPC_PASEMI_CPUFREQ
204         bool "Support for PA Semi PWRficient"
205         depends on PPC_PASEMI
206         default y
207         select CPU_FREQ_TABLE
208         help
209           This adds the support for frequency switching on PA Semi
210           PWRficient processors.
212 endmenu
214 config PPC601_SYNC_FIX
215         bool "Workarounds for PPC601 bugs"
216         depends on 6xx && (PPC_PREP || PPC_PMAC)
217         help
218           Some versions of the PPC601 (the first PowerPC chip) have bugs which
219           mean that extra synchronization instructions are required near
220           certain instructions, typically those that make major changes to the
221           CPU state.  These extra instructions reduce performance slightly.
222           If you say N here, these extra instructions will not be included,
223           resulting in a kernel which will run faster but may not run at all
224           on some systems with the PPC601 chip.
226           If in doubt, say Y here.
228 config TAU
229         bool "On-chip CPU temperature sensor support"
230         depends on 6xx
231         help
232           G3 and G4 processors have an on-chip temperature sensor called the
233           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
234           temperature within 2-4 degrees Celsius. This option shows the current
235           on-die temperature in /proc/cpuinfo if the cpu supports it.
237           Unfortunately, on some chip revisions, this sensor is very inaccurate
238           and in many cases, does not work at all, so don't assume the cpu
239           temp is actually what /proc/cpuinfo says it is.
241 config TAU_INT
242         bool "Interrupt driven TAU driver (DANGEROUS)"
243         depends on TAU
244         ---help---
245           The TAU supports an interrupt driven mode which causes an interrupt
246           whenever the temperature goes out of range. This is the fastest way
247           to get notified the temp has exceeded a range. With this option off,
248           a timer is used to re-check the temperature periodically.
250           However, on some cpus it appears that the TAU interrupt hardware
251           is buggy and can cause a situation which would lead unexplained hard
252           lockups.
254           Unless you are extending the TAU driver, or enjoy kernel/hardware
255           debugging, leave this option off.
257 config TAU_AVERAGE
258         bool "Average high and low temp"
259         depends on TAU
260         ---help---
261           The TAU hardware can compare the temperature to an upper and lower
262           bound.  The default behavior is to show both the upper and lower
263           bound in /proc/cpuinfo. If the range is large, the temperature is
264           either changing a lot, or the TAU hardware is broken (likely on some
265           G4's). If the range is small (around 4 degrees), the temperature is
266           relatively stable.  If you say Y here, a single temperature value,
267           halfway between the upper and lower bounds, will be reported in
268           /proc/cpuinfo.
270           If in doubt, say N here.
272 config QUICC_ENGINE
273         bool "Freescale QUICC Engine (QE) Support"
274         depends on FSL_SOC && PPC32
275         select PPC_LIB_RHEAP
276         select CRC32
277         help
278           The QUICC Engine (QE) is a new generation of communications
279           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
280           Selecting this option means that you wish to build a kernel
281           for a machine with a QE coprocessor.
283 config QE_GPIO
284         bool "QE GPIO support"
285         depends on QUICC_ENGINE
286         select GENERIC_GPIO
287         select ARCH_REQUIRE_GPIOLIB
288         help
289           Say Y here if you're going to use hardware that connects to the
290           QE GPIOs.
292 config CPM2
293         bool "Enable support for the CPM2 (Communications Processor Module)"
294         depends on (FSL_SOC_BOOKE && PPC32) || 8260
295         select CPM
296         select PPC_LIB_RHEAP
297         select PPC_PCI_CHOICE
298         select ARCH_REQUIRE_GPIOLIB
299         select GENERIC_GPIO
300         help
301           The CPM2 (Communications Processor Module) is a coprocessor on
302           embedded CPUs made by Freescale.  Selecting this option means that
303           you wish to build a kernel for a machine with a CPM2 coprocessor
304           on it (826x, 827x, 8560).
306 config AXON_RAM
307         tristate "Axon DDR2 memory device driver"
308         depends on PPC_IBM_CELL_BLADE && BLOCK
309         default m
310         help
311           It registers one block device per Axon's DDR2 memory bank found
312           on a system. Block devices are called axonram?, their major and
313           minor numbers are available in /proc/devices, /proc/partitions or
314           in /sys/block/axonram?/dev.
316 config FSL_ULI1575
317         bool
318         default n
319         select GENERIC_ISA_DMA
320         help
321           Supports for the ULI1575 PCIe south bridge that exists on some
322           Freescale reference boards. The boards all use the ULI in pretty
323           much the same way.
325 config CPM
326         bool
327         select PPC_CLOCK
329 config OF_RTC
330         bool
331         help
332           Uses information from the OF or flattened device tree to instantiate
333           platform devices for direct mapped RTC chips like the DS1742 or DS1743.
335 source "arch/powerpc/sysdev/bestcomm/Kconfig"
337 config MPC8xxx_GPIO
338         bool "MPC512x/MPC8xxx GPIO support"
339         depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
340                    FSL_SOC_BOOKE || PPC_86xx
341         select GENERIC_GPIO
342         select ARCH_REQUIRE_GPIOLIB
343         help
344           Say Y here if you're going to use hardware that connects to the
345           MPC512x/831x/834x/837x/8572/8610 GPIOs.
347 config SIMPLE_GPIO
348         bool "Support for simple, memory-mapped GPIO controllers"
349         depends on PPC
350         select GENERIC_GPIO
351         select ARCH_REQUIRE_GPIOLIB
352         help
353           Say Y here to support simple, memory-mapped GPIO controllers.
354           These are usually BCSRs used to control board's switches, LEDs,
355           chip-selects, Ethernet/USB PHY's power and various other small
356           on-board peripherals.
358 config MCU_MPC8349EMITX
359         tristate "MPC8349E-mITX MCU driver"
360         depends on I2C && PPC_83xx
361         select GENERIC_GPIO
362         select ARCH_REQUIRE_GPIOLIB
363         help
364           Say Y here to enable soft power-off functionality on the Freescale
365           boards with the MPC8349E-mITX-compatible MCU chips. This driver will
366           also register MCU GPIOs with the generic GPIO API, so you'll able
367           to use MCU pins as GPIOs.
369 config XILINX_PCI
370         bool "Xilinx PCI host bridge support"
371         depends on PCI && XILINX_VIRTEX
373 endmenu