xref: /linux/arch/powerpc/platforms/Kconfig (revision 933ee7119fb14156f46dc8bce8218f62db13c568)
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"
22a1d0d98dSDavid Gibsonsource "arch/powerpc/platforms/wsp/Kconfig"
234330f5daSKumar Gala
24d17051cbSAlexander Grafconfig KVM_GUEST
25d17051cbSAlexander Graf	bool "KVM Guest support"
26643ba4e3SAnton Blanchard	default n
272e1ae9c0SLiu Yu-B13201	select EPAPR_PARAVIRT
28d17051cbSAlexander Graf	---help---
29d17051cbSAlexander Graf	  This option enables various optimizations for running under the KVM
30d17051cbSAlexander Graf	  hypervisor. Overhead for the kernel when not running inside KVM should
31d17051cbSAlexander Graf	  be minimal.
32d17051cbSAlexander Graf
33d17051cbSAlexander Graf	  In case of doubt, say Y
34d17051cbSAlexander Graf
352e1ae9c0SLiu Yu-B13201config EPAPR_PARAVIRT
362e1ae9c0SLiu Yu-B13201	bool "ePAPR para-virtualization support"
372e1ae9c0SLiu Yu-B13201	default n
382e1ae9c0SLiu Yu-B13201	help
392e1ae9c0SLiu Yu-B13201	  Enables ePAPR para-virtualization support for guests.
402e1ae9c0SLiu Yu-B13201
412e1ae9c0SLiu Yu-B13201	  In case of doubt, say Y
422e1ae9c0SLiu Yu-B13201
434330f5daSKumar Galaconfig PPC_NATIVE
444330f5daSKumar Gala	bool
4528794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
464330f5daSKumar Gala	help
474330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
484330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
494330f5daSKumar Gala	  be selected by all platforms that need it.
504330f5daSKumar Gala
5128794d34SBenjamin Herrenschmidtconfig PPC_OF_BOOT_TRAMPOLINE
5228794d34SBenjamin Herrenschmidt	bool "Support booting from Open Firmware or yaboot"
5328794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
5428794d34SBenjamin Herrenschmidt	default y
5528794d34SBenjamin Herrenschmidt	help
5628794d34SBenjamin Herrenschmidt	  Support from booting from Open Firmware or yaboot using an
5728794d34SBenjamin Herrenschmidt	  Open Firmware client interface. This enables the kernel to
58f65e51d7SSylvestre Ledru	  communicate with open firmware to retrieve system information
5928794d34SBenjamin Herrenschmidt	  such as the device tree.
6028794d34SBenjamin Herrenschmidt
6128794d34SBenjamin Herrenschmidt	  In case of doubt, say Y
6228794d34SBenjamin Herrenschmidt
634330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
644330f5daSKumar Gala	bool "RTAS based debug console"
654330f5daSKumar Gala	depends on PPC_RTAS
664330f5daSKumar Gala	default n
674330f5daSKumar Gala
681ece355bSMilton Millerconfig PPC_SMP_MUXED_IPI
691ece355bSMilton Miller	bool
701ece355bSMilton Miller	help
711ece355bSMilton Miller	  Select this opton if your platform supports SMP and your
721ece355bSMilton Miller	  interrupt controller provides less than 4 interrupts to each
731ece355bSMilton Miller	  cpu.	This will enable the generic code to multiplex the 4
741ece355bSMilton Miller	  messages on to one ipi.
751ece355bSMilton Miller
764330f5daSKumar Galaconfig PPC_UDBG_BEAT
774330f5daSKumar Gala	bool "BEAT based debug console"
784330f5daSKumar Gala	depends on PPC_CELLEB
794330f5daSKumar Gala	default n
804330f5daSKumar Gala
81b0bbad60SJohn Rigbyconfig IPIC
82b0bbad60SJohn Rigby	bool
83b0bbad60SJohn Rigby	default n
84b0bbad60SJohn Rigby
8598750261SKumar Galaconfig MPIC
8698750261SKumar Gala	bool
8798750261SKumar Gala	default n
8898750261SKumar Gala
893a93261fSAshish Kalraconfig PPC_EPAPR_HV_PIC
903a93261fSAshish Kalra	bool
913a93261fSAshish Kalra	default n
9240656397SStuart Yoder	select EPAPR_PARAVIRT
933a93261fSAshish Kalra
9498750261SKumar Galaconfig MPIC_WEIRD
9598750261SKumar Gala	bool
9698750261SKumar Gala	default n
9798750261SKumar Gala
988626816eSJia Hongtaoconfig MPIC_MSGR
998626816eSJia Hongtao	bool "MPIC message register support"
1008626816eSJia Hongtao	depends on MPIC
1018626816eSJia Hongtao	default n
1028626816eSJia Hongtao	help
1038626816eSJia Hongtao	  Enables support for the MPIC message registers.  These
1048626816eSJia Hongtao	  registers are used for inter-processor communication.
1058626816eSJia Hongtao
10698750261SKumar Galaconfig PPC_I8259
10798750261SKumar Gala	bool
10898750261SKumar Gala	default n
10998750261SKumar Gala
1104330f5daSKumar Galaconfig U3_DART
1114330f5daSKumar Gala	bool
11228794d34SBenjamin Herrenschmidt	depends on PPC64
1134330f5daSKumar Gala	default n
1144330f5daSKumar Gala
1154330f5daSKumar Galaconfig PPC_RTAS
1164330f5daSKumar Gala	bool
1174330f5daSKumar Gala	default n
1184330f5daSKumar Gala
1194330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
1204330f5daSKumar Gala	bool
1214330f5daSKumar Gala	depends on PPC_RTAS
1224330f5daSKumar Gala	default n
1234330f5daSKumar Gala
1243d541c4bSBenjamin Herrenschmidtconfig PPC_RTAS_DAEMON
1253d541c4bSBenjamin Herrenschmidt	bool
1263d541c4bSBenjamin Herrenschmidt	depends on PPC_RTAS
1273d541c4bSBenjamin Herrenschmidt	default n
1283d541c4bSBenjamin Herrenschmidt
1294330f5daSKumar Galaconfig RTAS_PROC
1304330f5daSKumar Gala	bool "Proc interface to RTAS"
1314330f5daSKumar Gala	depends on PPC_RTAS
1324330f5daSKumar Gala	default y
1334330f5daSKumar Gala
1344330f5daSKumar Galaconfig RTAS_FLASH
1354330f5daSKumar Gala	tristate "Firmware flash interface"
1364330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
1374330f5daSKumar Gala
1384330f5daSKumar Galaconfig MMIO_NVRAM
1394330f5daSKumar Gala	bool
1404330f5daSKumar Gala	default n
1414330f5daSKumar Gala
1426cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1434330f5daSKumar Gala	bool
144314b389bSAndreas Schwab	default n
1454330f5daSKumar Gala
1460d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD
1470d72ba93SOlof Johansson	bool
1480d72ba93SOlof Johansson	depends on MPIC
1490d72ba93SOlof Johansson	help
1500d72ba93SOlof Johansson	  This option enables a MPIC driver workaround for some chips
1510d72ba93SOlof Johansson	  that have a bug that causes some interrupt source information
1520d72ba93SOlof Johansson	  to not read back properly. It is safe to use on other chips as
1530d72ba93SOlof Johansson	  well, but enabling it uses about 8KB of memory to keep copies
1540d72ba93SOlof Johansson	  of the register contents in software.
1550d72ba93SOlof Johansson
1564330f5daSKumar Galaconfig IBMVIO
1573d066d77SStephen Rothwell	depends on PPC_PSERIES
1584330f5daSKumar Gala	bool
1594330f5daSKumar Gala	default y
1604330f5daSKumar Gala
1614330f5daSKumar Galaconfig IBMEBUS
1624330f5daSKumar Gala	depends on PPC_PSERIES
1634330f5daSKumar Gala	bool "Support for GX bus based adapters"
1644330f5daSKumar Gala	help
1654330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1664330f5daSKumar Gala
1674330f5daSKumar Galaconfig PPC_MPC106
1684330f5daSKumar Gala	bool
1694330f5daSKumar Gala	default n
1704330f5daSKumar Gala
1714330f5daSKumar Galaconfig PPC_970_NAP
1724330f5daSKumar Gala	bool
1734330f5daSKumar Gala	default n
1744330f5daSKumar Gala
175948cf67cSBenjamin Herrenschmidtconfig PPC_P7_NAP
176948cf67cSBenjamin Herrenschmidt	bool
177948cf67cSBenjamin Herrenschmidt	default n
178948cf67cSBenjamin Herrenschmidt
1794330f5daSKumar Galaconfig PPC_INDIRECT_IO
1804330f5daSKumar Gala	bool
1814330f5daSKumar Gala	select GENERIC_IOMAP
18221176fedSMichael Ellerman
18321176fedSMichael Ellermanconfig PPC_INDIRECT_PIO
18421176fedSMichael Ellerman	bool
18521176fedSMichael Ellerman	select PPC_INDIRECT_IO
18621176fedSMichael Ellerman
18721176fedSMichael Ellermanconfig PPC_INDIRECT_MMIO
18821176fedSMichael Ellerman	bool
18921176fedSMichael Ellerman	select PPC_INDIRECT_IO
1904330f5daSKumar Gala
1913cc30d07SMichael Ellermanconfig PPC_IO_WORKAROUNDS
1923cc30d07SMichael Ellerman	bool
1933cc30d07SMichael Ellerman
1944330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
1954330f5daSKumar Gala
196c146c958SOlof Johanssonmenu "CPU Frequency drivers"
197c146c958SOlof Johansson	depends on CPU_FREQ
198c146c958SOlof Johansson
1994330f5daSKumar Galaconfig CPU_FREQ_PMAC
2004330f5daSKumar Gala	bool "Support for Apple PowerBooks"
201c146c958SOlof Johansson	depends on ADB_PMU && PPC32
2024330f5daSKumar Gala	select CPU_FREQ_TABLE
2034330f5daSKumar Gala	help
2044330f5daSKumar Gala	  This adds support for frequency switching on Apple PowerBooks,
2054330f5daSKumar Gala	  this currently includes some models of iBook & Titanium
2064330f5daSKumar Gala	  PowerBook.
2074330f5daSKumar Gala
2084330f5daSKumar Galaconfig CPU_FREQ_PMAC64
2094330f5daSKumar Gala	bool "Support for some Apple G5s"
210c146c958SOlof Johansson	depends on PPC_PMAC && PPC64
2114330f5daSKumar Gala	select CPU_FREQ_TABLE
2124330f5daSKumar Gala	help
2134330f5daSKumar Gala	  This adds support for frequency switching on Apple iMac G5,
2144330f5daSKumar Gala	  and some of the more recent desktop G5 machines as well.
2152e0c3370SOlof Johansson
2162e0c3370SOlof Johanssonconfig PPC_PASEMI_CPUFREQ
2172e0c3370SOlof Johansson	bool "Support for PA Semi PWRficient"
218c146c958SOlof Johansson	depends on PPC_PASEMI
2192e0c3370SOlof Johansson	default y
2202e0c3370SOlof Johansson	select CPU_FREQ_TABLE
2212e0c3370SOlof Johansson	help
2222e0c3370SOlof Johansson	  This adds the support for frequency switching on PA Semi
2232e0c3370SOlof Johansson	  PWRficient processors.
2242e0c3370SOlof Johansson
225164a460dSKumar Galaendmenu
2264330f5daSKumar Gala
227e179816cSDeepthi Dharwarmenu "CPUIdle driver"
228e179816cSDeepthi Dharwar
229e179816cSDeepthi Dharwarsource "drivers/cpuidle/Kconfig"
230e179816cSDeepthi Dharwar
231e179816cSDeepthi Dharwarendmenu
232e179816cSDeepthi Dharwar
2334330f5daSKumar Galaconfig PPC601_SYNC_FIX
2344330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
235*933ee711SPaul Bolle	depends on 6xx && PPC_PMAC
2364330f5daSKumar Gala	help
2374330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
2384330f5daSKumar Gala	  mean that extra synchronization instructions are required near
2394330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
2404330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
2414330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
2424330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
2434330f5daSKumar Gala	  on some systems with the PPC601 chip.
2444330f5daSKumar Gala
2454330f5daSKumar Gala	  If in doubt, say Y here.
2464330f5daSKumar Gala
2474330f5daSKumar Galaconfig TAU
2484330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
24928794d34SBenjamin Herrenschmidt	depends on 6xx
2504330f5daSKumar Gala	help
2514330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2524330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2534330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2544330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2554330f5daSKumar Gala
2564330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2574330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2584330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2594330f5daSKumar Gala
2604330f5daSKumar Galaconfig TAU_INT
2614330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2624330f5daSKumar Gala	depends on TAU
2634330f5daSKumar Gala	---help---
2644330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2654330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2664330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2674330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2684330f5daSKumar Gala
2694330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2704330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2714330f5daSKumar Gala	  lockups.
2724330f5daSKumar Gala
2734330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2744330f5daSKumar Gala	  debugging, leave this option off.
2754330f5daSKumar Gala
2764330f5daSKumar Galaconfig TAU_AVERAGE
2774330f5daSKumar Gala	bool "Average high and low temp"
2784330f5daSKumar Gala	depends on TAU
2794330f5daSKumar Gala	---help---
2804330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2814330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2824330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2834330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2844330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2854330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2864330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2874330f5daSKumar Gala	  /proc/cpuinfo.
2884330f5daSKumar Gala
2894330f5daSKumar Gala	  If in doubt, say N here.
2904330f5daSKumar Gala
29198750261SKumar Galaconfig QUICC_ENGINE
2924e330bcfSTimur Tabi	bool "Freescale QUICC Engine (QE) Support"
29347fe819eSKumar Gala	depends on FSL_SOC && PPC32
2941088a209SSylvain Munaut	select PPC_LIB_RHEAP
295bc556ba9STimur Tabi	select CRC32
29698750261SKumar Gala	help
29798750261SKumar Gala	  The QUICC Engine (QE) is a new generation of communications
29898750261SKumar Gala	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
29998750261SKumar Gala	  Selecting this option means that you wish to build a kernel
30098750261SKumar Gala	  for a machine with a QE coprocessor.
30198750261SKumar Gala
3025c091193SAnton Vorontsovconfig QE_GPIO
3035c091193SAnton Vorontsov	bool "QE GPIO support"
3045c091193SAnton Vorontsov	depends on QUICC_ENGINE
3055c091193SAnton Vorontsov	select GENERIC_GPIO
3065c091193SAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
3075c091193SAnton Vorontsov	help
3085c091193SAnton Vorontsov	  Say Y here if you're going to use hardware that connects to the
3095c091193SAnton Vorontsov	  QE GPIOs.
3105c091193SAnton Vorontsov
311d6071f88SKumar Galaconfig CPM2
312b8b3caf3SPaul Gortmaker	bool "Enable support for the CPM2 (Communications Processor Module)"
3135753c082SKumar Gala	depends on (FSL_SOC_BOOKE && PPC32) || 8260
314c374e00eSScott Wood	select CPM
3151088a209SSylvain Munaut	select PPC_LIB_RHEAP
316b500563bSJohn Rigby	select PPC_PCI_CHOICE
317e193325eSLaurent Pinchart	select ARCH_REQUIRE_GPIOLIB
318e193325eSLaurent Pinchart	select GENERIC_GPIO
319d6071f88SKumar Gala	help
320d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
321d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
322d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
323d6071f88SKumar Gala	  on it (826x, 827x, 8560).
324d6071f88SKumar Gala
325dbdf04c4SMaxim Shchetyninconfig AXON_RAM
326dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
327ebf0f334SMichael Ellerman	depends on PPC_IBM_CELL_BLADE && BLOCK
328dbdf04c4SMaxim Shchetynin	default m
329dbdf04c4SMaxim Shchetynin	help
330dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
331dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
332dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
333dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
334dbdf04c4SMaxim Shchetynin
335b66510cbSKumar Galaconfig FSL_ULI1575
336b66510cbSKumar Gala	bool
337b66510cbSKumar Gala	default n
338fb4f0e88SKumar Gala	select GENERIC_ISA_DMA
339b66510cbSKumar Gala	help
340b66510cbSKumar Gala	  Supports for the ULI1575 PCIe south bridge that exists on some
341b66510cbSKumar Gala	  Freescale reference boards. The boards all use the ULI in pretty
342b66510cbSKumar Gala	  much the same way.
343b66510cbSKumar Gala
344c374e00eSScott Woodconfig CPM
345c374e00eSScott Wood	bool
34680776554SLaurent Pinchart	select PPC_CLOCK
347c374e00eSScott Wood
34822258fa4SDavid Gibsonconfig OF_RTC
34922258fa4SDavid Gibson	bool
35022258fa4SDavid Gibson	help
351692105b8SMatt LaPlante	  Uses information from the OF or flattened device tree to instantiate
35222258fa4SDavid Gibson	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.
35322258fa4SDavid Gibson
3543d64de9cSAnton Vorontsovconfig SIMPLE_GPIO
3553d64de9cSAnton Vorontsov	bool "Support for simple, memory-mapped GPIO controllers"
3563d64de9cSAnton Vorontsov	depends on PPC
3573d64de9cSAnton Vorontsov	select GENERIC_GPIO
3583d64de9cSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
3593d64de9cSAnton Vorontsov	help
3603d64de9cSAnton Vorontsov	  Say Y here to support simple, memory-mapped GPIO controllers.
3613d64de9cSAnton Vorontsov	  These are usually BCSRs used to control board's switches, LEDs,
3623d64de9cSAnton Vorontsov	  chip-selects, Ethernet/USB PHY's power and various other small
3633d64de9cSAnton Vorontsov	  on-board peripherals.
3643d64de9cSAnton Vorontsov
365ea0105eaSAnton Vorontsovconfig MCU_MPC8349EMITX
3666ca6ca5dSFabio Baltieri	bool "MPC8349E-mITX MCU driver"
36782640a6bSAl Viro	depends on I2C=y && PPC_83xx
368ea0105eaSAnton Vorontsov	select GENERIC_GPIO
369ea0105eaSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
370ea0105eaSAnton Vorontsov	help
371ea0105eaSAnton Vorontsov	  Say Y here to enable soft power-off functionality on the Freescale
372ea0105eaSAnton Vorontsov	  boards with the MPC8349E-mITX-compatible MCU chips. This driver will
373ea0105eaSAnton Vorontsov	  also register MCU GPIOs with the generic GPIO API, so you'll able
374ea0105eaSAnton Vorontsov	  to use MCU pins as GPIOs.
375ea0105eaSAnton Vorontsov
37664f16502SRoderick Colenbranderconfig XILINX_PCI
37764f16502SRoderick Colenbrander	bool "Xilinx PCI host bridge support"
37864f16502SRoderick Colenbrander	depends on PCI && XILINX_VIRTEX
37964f16502SRoderick Colenbrander
3804330f5daSKumar Galaendmenu
381