xref: /linux/arch/powerpc/platforms/Kconfig (revision 86c55af4a49ea27ad7b329de55222f16b26659e3)
14330f5daSKumar Galamenu "Platform support"
24330f5daSKumar Gala
355190f88SBenjamin Herrenschmidtsource "arch/powerpc/platforms/powernv/Kconfig"
44330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig"
54330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig"
6e177edcdSJohn Rigbysource "arch/powerpc/platforms/512x/Kconfig"
74330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig"
84330f5daSKumar Galasource "arch/powerpc/platforms/powermac/Kconfig"
94330f5daSKumar Galasource "arch/powerpc/platforms/maple/Kconfig"
104330f5daSKumar Galasource "arch/powerpc/platforms/pasemi/Kconfig"
1198750261SKumar Galasource "arch/powerpc/platforms/ps3/Kconfig"
1298750261SKumar Galasource "arch/powerpc/platforms/cell/Kconfig"
13c8a55f3dSKumar Galasource "arch/powerpc/platforms/8xx/Kconfig"
14d6071f88SKumar Galasource "arch/powerpc/platforms/82xx/Kconfig"
15b5a48346SKumar Galasource "arch/powerpc/platforms/83xx/Kconfig"
16db947808SKumar Galasource "arch/powerpc/platforms/85xx/Kconfig"
174a89f7faSKumar Galasource "arch/powerpc/platforms/86xx/Kconfig"
1898750261SKumar Galasource "arch/powerpc/platforms/embedded6xx/Kconfig"
19f6dfc805SDavid Gibsonsource "arch/powerpc/platforms/44x/Kconfig"
20545c069cSJosh Boyersource "arch/powerpc/platforms/40x/Kconfig"
2154b318aaSGerhard Pirchersource "arch/powerpc/platforms/amigaone/Kconfig"
224330f5daSKumar Gala
23d17051cbSAlexander Grafconfig KVM_GUEST
24d17051cbSAlexander Graf	bool "KVM Guest support"
25643ba4e3SAnton Blanchard	default n
262e1ae9c0SLiu Yu-B13201	select EPAPR_PARAVIRT
27d17051cbSAlexander Graf	---help---
28d17051cbSAlexander Graf	  This option enables various optimizations for running under the KVM
29d17051cbSAlexander Graf	  hypervisor. Overhead for the kernel when not running inside KVM should
30d17051cbSAlexander Graf	  be minimal.
31d17051cbSAlexander Graf
32d17051cbSAlexander Graf	  In case of doubt, say Y
33d17051cbSAlexander Graf
342e1ae9c0SLiu Yu-B13201config EPAPR_PARAVIRT
352e1ae9c0SLiu Yu-B13201	bool "ePAPR para-virtualization support"
362e1ae9c0SLiu Yu-B13201	default n
372e1ae9c0SLiu Yu-B13201	help
382e1ae9c0SLiu Yu-B13201	  Enables ePAPR para-virtualization support for guests.
392e1ae9c0SLiu Yu-B13201
402e1ae9c0SLiu Yu-B13201	  In case of doubt, say Y
412e1ae9c0SLiu Yu-B13201
424330f5daSKumar Galaconfig PPC_NATIVE
434330f5daSKumar Gala	bool
4428794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
454330f5daSKumar Gala	help
464330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
474330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
484330f5daSKumar Gala	  be selected by all platforms that need it.
494330f5daSKumar Gala
5028794d34SBenjamin Herrenschmidtconfig PPC_OF_BOOT_TRAMPOLINE
5128794d34SBenjamin Herrenschmidt	bool "Support booting from Open Firmware or yaboot"
5228794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
5328794d34SBenjamin Herrenschmidt	default y
5428794d34SBenjamin Herrenschmidt	help
5528794d34SBenjamin Herrenschmidt	  Support from booting from Open Firmware or yaboot using an
5628794d34SBenjamin Herrenschmidt	  Open Firmware client interface. This enables the kernel to
57f65e51d7SSylvestre Ledru	  communicate with open firmware to retrieve system information
5828794d34SBenjamin Herrenschmidt	  such as the device tree.
5928794d34SBenjamin Herrenschmidt
6028794d34SBenjamin Herrenschmidt	  In case of doubt, say Y
6128794d34SBenjamin Herrenschmidt
624330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
634330f5daSKumar Gala	bool "RTAS based debug console"
644330f5daSKumar Gala	depends on PPC_RTAS
654330f5daSKumar Gala	default n
664330f5daSKumar Gala
671ece355bSMilton Millerconfig PPC_SMP_MUXED_IPI
681ece355bSMilton Miller	bool
691ece355bSMilton Miller	help
701ece355bSMilton Miller	  Select this opton if your platform supports SMP and your
711ece355bSMilton Miller	  interrupt controller provides less than 4 interrupts to each
721ece355bSMilton Miller	  cpu.	This will enable the generic code to multiplex the 4
731ece355bSMilton Miller	  messages on to one ipi.
741ece355bSMilton Miller
75b0bbad60SJohn Rigbyconfig IPIC
76b0bbad60SJohn Rigby	bool
77b0bbad60SJohn Rigby	default n
78b0bbad60SJohn Rigby
7998750261SKumar Galaconfig MPIC
8098750261SKumar Gala	bool
8198750261SKumar Gala	default n
8298750261SKumar Gala
8336ca09beSDongsheng.wang@freescale.comconfig MPIC_TIMER
8436ca09beSDongsheng.wang@freescale.com	bool "MPIC Global Timer"
8536ca09beSDongsheng.wang@freescale.com	depends on MPIC && FSL_SOC
8636ca09beSDongsheng.wang@freescale.com	default n
8736ca09beSDongsheng.wang@freescale.com	help
8836ca09beSDongsheng.wang@freescale.com	  The MPIC global timer is a hardware timer inside the
8936ca09beSDongsheng.wang@freescale.com	  Freescale PIC complying with OpenPIC standard. When the
9036ca09beSDongsheng.wang@freescale.com	  specified interval times out, the hardware timer generates
9136ca09beSDongsheng.wang@freescale.com	  an interrupt. The driver currently is only tested on fsl
9236ca09beSDongsheng.wang@freescale.com	  chip, but it can potentially support other global timers
9336ca09beSDongsheng.wang@freescale.com	  complying with the OpenPIC standard.
9436ca09beSDongsheng.wang@freescale.com
95a63b3bc7SDongsheng.wang@freescale.comconfig FSL_MPIC_TIMER_WAKEUP
96a63b3bc7SDongsheng.wang@freescale.com	tristate "Freescale MPIC global timer wakeup driver"
97a63b3bc7SDongsheng.wang@freescale.com	depends on FSL_SOC &&  MPIC_TIMER && PM
98a63b3bc7SDongsheng.wang@freescale.com	default n
99a63b3bc7SDongsheng.wang@freescale.com	help
100a63b3bc7SDongsheng.wang@freescale.com	  The driver provides a way to wake up the system by MPIC
101a63b3bc7SDongsheng.wang@freescale.com	  timer.
102a63b3bc7SDongsheng.wang@freescale.com	  e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"
103a63b3bc7SDongsheng.wang@freescale.com
1043a93261fSAshish Kalraconfig PPC_EPAPR_HV_PIC
1053a93261fSAshish Kalra	bool
1063a93261fSAshish Kalra	default n
10740656397SStuart Yoder	select EPAPR_PARAVIRT
1083a93261fSAshish Kalra
10998750261SKumar Galaconfig MPIC_WEIRD
11098750261SKumar Gala	bool
11198750261SKumar Gala	default n
11298750261SKumar Gala
1138626816eSJia Hongtaoconfig MPIC_MSGR
1148626816eSJia Hongtao	bool "MPIC message register support"
1158626816eSJia Hongtao	depends on MPIC
1168626816eSJia Hongtao	default n
1178626816eSJia Hongtao	help
1188626816eSJia Hongtao	  Enables support for the MPIC message registers.  These
1198626816eSJia Hongtao	  registers are used for inter-processor communication.
1208626816eSJia Hongtao
12198750261SKumar Galaconfig PPC_I8259
12298750261SKumar Gala	bool
12398750261SKumar Gala	default n
12498750261SKumar Gala
1254330f5daSKumar Galaconfig U3_DART
1264330f5daSKumar Gala	bool
12728794d34SBenjamin Herrenschmidt	depends on PPC64
1284330f5daSKumar Gala	default n
1294330f5daSKumar Gala
1304330f5daSKumar Galaconfig PPC_RTAS
1314330f5daSKumar Gala	bool
1324330f5daSKumar Gala	default n
1334330f5daSKumar Gala
1344330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
1354330f5daSKumar Gala	bool
1364330f5daSKumar Gala	depends on PPC_RTAS
1374330f5daSKumar Gala	default n
1384330f5daSKumar Gala
1393d541c4bSBenjamin Herrenschmidtconfig PPC_RTAS_DAEMON
1403d541c4bSBenjamin Herrenschmidt	bool
1413d541c4bSBenjamin Herrenschmidt	depends on PPC_RTAS
1423d541c4bSBenjamin Herrenschmidt	default n
1433d541c4bSBenjamin Herrenschmidt
1444330f5daSKumar Galaconfig RTAS_PROC
1454330f5daSKumar Gala	bool "Proc interface to RTAS"
146b80ec3dcSMichael Ellerman	depends on PPC_RTAS && PROC_FS
1474330f5daSKumar Gala	default y
1484330f5daSKumar Gala
1494330f5daSKumar Galaconfig RTAS_FLASH
1504330f5daSKumar Gala	tristate "Firmware flash interface"
1514330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
1524330f5daSKumar Gala
1534330f5daSKumar Galaconfig MMIO_NVRAM
1544330f5daSKumar Gala	bool
1554330f5daSKumar Gala	default n
1564330f5daSKumar Gala
1576cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1584330f5daSKumar Gala	bool
159314b389bSAndreas Schwab	default n
1604330f5daSKumar Gala
1610d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD
1620d72ba93SOlof Johansson	bool
1630d72ba93SOlof Johansson	depends on MPIC
1640d72ba93SOlof Johansson	help
1650d72ba93SOlof Johansson	  This option enables a MPIC driver workaround for some chips
1660d72ba93SOlof Johansson	  that have a bug that causes some interrupt source information
1670d72ba93SOlof Johansson	  to not read back properly. It is safe to use on other chips as
1680d72ba93SOlof Johansson	  well, but enabling it uses about 8KB of memory to keep copies
1690d72ba93SOlof Johansson	  of the register contents in software.
1700d72ba93SOlof Johansson
1714330f5daSKumar Galaconfig IBMVIO
1723d066d77SStephen Rothwell	depends on PPC_PSERIES
1734330f5daSKumar Gala	bool
1744330f5daSKumar Gala	default y
1754330f5daSKumar Gala
1764330f5daSKumar Galaconfig IBMEBUS
1774330f5daSKumar Gala	depends on PPC_PSERIES
1784330f5daSKumar Gala	bool "Support for GX bus based adapters"
1794330f5daSKumar Gala	help
1804330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1814330f5daSKumar Gala
182317f06deSGavin Shanconfig EEH
183317f06deSGavin Shan	bool
184317f06deSGavin Shan	depends on (PPC_POWERNV || PPC_PSERIES) && PCI
185317f06deSGavin Shan	default y
186317f06deSGavin Shan
1874330f5daSKumar Galaconfig PPC_MPC106
1884330f5daSKumar Gala	bool
1894330f5daSKumar Gala	default n
1904330f5daSKumar Gala
1914330f5daSKumar Galaconfig PPC_970_NAP
1924330f5daSKumar Gala	bool
1934330f5daSKumar Gala	default n
1944330f5daSKumar Gala
195948cf67cSBenjamin Herrenschmidtconfig PPC_P7_NAP
196948cf67cSBenjamin Herrenschmidt	bool
197948cf67cSBenjamin Herrenschmidt	default n
198948cf67cSBenjamin Herrenschmidt
199ecd73cc5SBenjamin Herrenschmidtconfig PPC_INDIRECT_PIO
2004330f5daSKumar Gala	bool
2014330f5daSKumar Gala	select GENERIC_IOMAP
20221176fedSMichael Ellerman
20321176fedSMichael Ellermanconfig PPC_INDIRECT_MMIO
20421176fedSMichael Ellerman	bool
2054330f5daSKumar Gala
2063cc30d07SMichael Ellermanconfig PPC_IO_WORKAROUNDS
2073cc30d07SMichael Ellerman	bool
2083cc30d07SMichael Ellerman
2094330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
2104330f5daSKumar Gala
211e179816cSDeepthi Dharwarmenu "CPUIdle driver"
212e179816cSDeepthi Dharwar
213e179816cSDeepthi Dharwarsource "drivers/cpuidle/Kconfig"
214e179816cSDeepthi Dharwar
215e179816cSDeepthi Dharwarendmenu
216e179816cSDeepthi Dharwar
2174330f5daSKumar Galaconfig PPC601_SYNC_FIX
2184330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
219933ee711SPaul Bolle	depends on 6xx && PPC_PMAC
2204330f5daSKumar Gala	help
2214330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
2224330f5daSKumar Gala	  mean that extra synchronization instructions are required near
2234330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
2244330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
2254330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
2264330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
2274330f5daSKumar Gala	  on some systems with the PPC601 chip.
2284330f5daSKumar Gala
2294330f5daSKumar Gala	  If in doubt, say Y here.
2304330f5daSKumar Gala
2314330f5daSKumar Galaconfig TAU
2324330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
23328794d34SBenjamin Herrenschmidt	depends on 6xx
2344330f5daSKumar Gala	help
2354330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2364330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2374330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2384330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2394330f5daSKumar Gala
2404330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2414330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2424330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2434330f5daSKumar Gala
2444330f5daSKumar Galaconfig TAU_INT
2454330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2464330f5daSKumar Gala	depends on TAU
2474330f5daSKumar Gala	---help---
2484330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2494330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2504330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2514330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2524330f5daSKumar Gala
2534330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2544330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2554330f5daSKumar Gala	  lockups.
2564330f5daSKumar Gala
2574330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2584330f5daSKumar Gala	  debugging, leave this option off.
2594330f5daSKumar Gala
2604330f5daSKumar Galaconfig TAU_AVERAGE
2614330f5daSKumar Gala	bool "Average high and low temp"
2624330f5daSKumar Gala	depends on TAU
2634330f5daSKumar Gala	---help---
2644330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2654330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2664330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2674330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2684330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2694330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2704330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2714330f5daSKumar Gala	  /proc/cpuinfo.
2724330f5daSKumar Gala
2734330f5daSKumar Gala	  If in doubt, say N here.
2744330f5daSKumar Gala
2755c091193SAnton Vorontsovconfig QE_GPIO
2765c091193SAnton Vorontsov	bool "QE GPIO support"
2775c091193SAnton Vorontsov	depends on QUICC_ENGINE
278*86c55af4SLinus Walleij	select GPIOLIB
2795c091193SAnton Vorontsov	help
2805c091193SAnton Vorontsov	  Say Y here if you're going to use hardware that connects to the
2815c091193SAnton Vorontsov	  QE GPIOs.
2825c091193SAnton Vorontsov
283d6071f88SKumar Galaconfig CPM2
284b8b3caf3SPaul Gortmaker	bool "Enable support for the CPM2 (Communications Processor Module)"
2855753c082SKumar Gala	depends on (FSL_SOC_BOOKE && PPC32) || 8260
286c374e00eSScott Wood	select CPM
287b500563bSJohn Rigby	select PPC_PCI_CHOICE
288*86c55af4SLinus Walleij	select GPIOLIB
289d6071f88SKumar Gala	help
290d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
291d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
292d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
293d6071f88SKumar Gala	  on it (826x, 827x, 8560).
294d6071f88SKumar Gala
295dbdf04c4SMaxim Shchetyninconfig AXON_RAM
296dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
297ebf0f334SMichael Ellerman	depends on PPC_IBM_CELL_BLADE && BLOCK
298dbdf04c4SMaxim Shchetynin	default m
299dbdf04c4SMaxim Shchetynin	help
300dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
301dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
302dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
303dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
304dbdf04c4SMaxim Shchetynin
305b66510cbSKumar Galaconfig FSL_ULI1575
306b66510cbSKumar Gala	bool
307b66510cbSKumar Gala	default n
308fb4f0e88SKumar Gala	select GENERIC_ISA_DMA
309b66510cbSKumar Gala	help
310b66510cbSKumar Gala	  Supports for the ULI1575 PCIe south bridge that exists on some
311b66510cbSKumar Gala	  Freescale reference boards. The boards all use the ULI in pretty
312b66510cbSKumar Gala	  much the same way.
313b66510cbSKumar Gala
314c374e00eSScott Woodconfig CPM
315c374e00eSScott Wood	bool
3160e6e01ffSZhao Qiang	select GENERIC_ALLOCATOR
317c374e00eSScott Wood
31822258fa4SDavid Gibsonconfig OF_RTC
31922258fa4SDavid Gibson	bool
32022258fa4SDavid Gibson	help
321692105b8SMatt LaPlante	  Uses information from the OF or flattened device tree to instantiate
32222258fa4SDavid Gibson	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.
32322258fa4SDavid Gibson
3243d64de9cSAnton Vorontsovconfig SIMPLE_GPIO
3253d64de9cSAnton Vorontsov	bool "Support for simple, memory-mapped GPIO controllers"
3263d64de9cSAnton Vorontsov	depends on PPC
327*86c55af4SLinus Walleij	select GPIOLIB
3283d64de9cSAnton Vorontsov	help
3293d64de9cSAnton Vorontsov	  Say Y here to support simple, memory-mapped GPIO controllers.
3303d64de9cSAnton Vorontsov	  These are usually BCSRs used to control board's switches, LEDs,
3313d64de9cSAnton Vorontsov	  chip-selects, Ethernet/USB PHY's power and various other small
3323d64de9cSAnton Vorontsov	  on-board peripherals.
3333d64de9cSAnton Vorontsov
334ea0105eaSAnton Vorontsovconfig MCU_MPC8349EMITX
3356ca6ca5dSFabio Baltieri	bool "MPC8349E-mITX MCU driver"
33682640a6bSAl Viro	depends on I2C=y && PPC_83xx
337*86c55af4SLinus Walleij	select GPIOLIB
338ea0105eaSAnton Vorontsov	help
339ea0105eaSAnton Vorontsov	  Say Y here to enable soft power-off functionality on the Freescale
340ea0105eaSAnton Vorontsov	  boards with the MPC8349E-mITX-compatible MCU chips. This driver will
341ea0105eaSAnton Vorontsov	  also register MCU GPIOs with the generic GPIO API, so you'll able
342ea0105eaSAnton Vorontsov	  to use MCU pins as GPIOs.
343ea0105eaSAnton Vorontsov
34464f16502SRoderick Colenbranderconfig XILINX_PCI
34564f16502SRoderick Colenbrander	bool "Xilinx PCI host bridge support"
34664f16502SRoderick Colenbrander	depends on PCI && XILINX_VIRTEX
34764f16502SRoderick Colenbrander
3484330f5daSKumar Galaendmenu
349