1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 24330f5daSKumar Galamenu "Platform support" 34330f5daSKumar Gala 455190f88SBenjamin Herrenschmidtsource "arch/powerpc/platforms/powernv/Kconfig" 54330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig" 64330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig" 7e177edcdSJohn Rigbysource "arch/powerpc/platforms/512x/Kconfig" 84330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig" 94330f5daSKumar Galasource "arch/powerpc/platforms/powermac/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" 2054b318aaSGerhard Pirchersource "arch/powerpc/platforms/amigaone/Kconfig" 21413d6ed3SHaren Mynenisource "arch/powerpc/platforms/book3s/Kconfig" 2253d143feSPaul Mackerrassource "arch/powerpc/platforms/microwatt/Kconfig" 234330f5daSKumar Gala 24d17051cbSAlexander Grafconfig KVM_GUEST 25d17051cbSAlexander Graf bool "KVM Guest support" 262e1ae9c0SLiu Yu-B13201 select EPAPR_PARAVIRT 27a7f7f624SMasahiro Yamada 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 help 372e1ae9c0SLiu Yu-B13201 Enables ePAPR para-virtualization support for guests. 382e1ae9c0SLiu Yu-B13201 392e1ae9c0SLiu Yu-B13201 In case of doubt, say Y 402e1ae9c0SLiu Yu-B13201 417ebc4903SNicholas Pigginconfig PPC_HASH_MMU_NATIVE 424330f5daSKumar Gala bool 437ebc4903SNicholas Piggin depends on PPC_BOOK3S 444330f5daSKumar Gala help 454330f5daSKumar Gala Support for running natively on the hardware, i.e. without 464330f5daSKumar Gala a hypervisor. This option is not user-selectable but should 474330f5daSKumar Gala be selected by all platforms that need it. 484330f5daSKumar Gala 4928794d34SBenjamin Herrenschmidtconfig PPC_OF_BOOT_TRAMPOLINE 5028794d34SBenjamin Herrenschmidt bool "Support booting from Open Firmware or yaboot" 51be34fff0SChristophe Leroy depends on PPC_BOOK3S_32 || PPC64 5224d33ac5SMichael Ellerman select RELOCATABLE if 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 62c6ee9619SMichael Ellermanconfig PPC_DT_CPU_FTRS 63c6ee9619SMichael Ellerman bool "Device-tree based CPU feature discovery & setup" 64c6ee9619SMichael Ellerman depends on PPC_BOOK3S_64 65c6ee9619SMichael Ellerman default y 66c6ee9619SMichael Ellerman help 67c6ee9619SMichael Ellerman This enables code to use a new device tree binding for describing CPU 68c6ee9619SMichael Ellerman compatibility and features. Saying Y here will attempt to use the new 69c6ee9619SMichael Ellerman binding if the firmware provides it. Currently only the skiboot 70c6ee9619SMichael Ellerman firmware provides this binding. 71c6ee9619SMichael Ellerman If you're not sure say Y. 72c6ee9619SMichael Ellerman 731ece355bSMilton Millerconfig PPC_SMP_MUXED_IPI 741ece355bSMilton Miller bool 751ece355bSMilton Miller help 7683fc61a5SMasanari Iida Select this option if your platform supports SMP and your 771ece355bSMilton Miller interrupt controller provides less than 4 interrupts to each 781ece355bSMilton Miller cpu. This will enable the generic code to multiplex the 4 791ece355bSMilton Miller messages on to one ipi. 801ece355bSMilton Miller 81b0bbad60SJohn Rigbyconfig IPIC 82b0bbad60SJohn Rigby bool 83b0bbad60SJohn Rigby 8498750261SKumar Galaconfig MPIC 8598750261SKumar Gala bool 8698750261SKumar Gala 8736ca09beSDongsheng.wang@freescale.comconfig MPIC_TIMER 8836ca09beSDongsheng.wang@freescale.com bool "MPIC Global Timer" 8936ca09beSDongsheng.wang@freescale.com depends on MPIC && FSL_SOC 9036ca09beSDongsheng.wang@freescale.com help 9136ca09beSDongsheng.wang@freescale.com The MPIC global timer is a hardware timer inside the 9236ca09beSDongsheng.wang@freescale.com Freescale PIC complying with OpenPIC standard. When the 9336ca09beSDongsheng.wang@freescale.com specified interval times out, the hardware timer generates 9436ca09beSDongsheng.wang@freescale.com an interrupt. The driver currently is only tested on fsl 9536ca09beSDongsheng.wang@freescale.com chip, but it can potentially support other global timers 9636ca09beSDongsheng.wang@freescale.com complying with the OpenPIC standard. 9736ca09beSDongsheng.wang@freescale.com 98a63b3bc7SDongsheng.wang@freescale.comconfig FSL_MPIC_TIMER_WAKEUP 99a63b3bc7SDongsheng.wang@freescale.com tristate "Freescale MPIC global timer wakeup driver" 100a63b3bc7SDongsheng.wang@freescale.com depends on FSL_SOC && MPIC_TIMER && PM 101a63b3bc7SDongsheng.wang@freescale.com help 102a63b3bc7SDongsheng.wang@freescale.com The driver provides a way to wake up the system by MPIC 103a63b3bc7SDongsheng.wang@freescale.com timer. 104a63b3bc7SDongsheng.wang@freescale.com e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup" 105a63b3bc7SDongsheng.wang@freescale.com 1063a93261fSAshish Kalraconfig PPC_EPAPR_HV_PIC 1073a93261fSAshish Kalra bool 10840656397SStuart Yoder select EPAPR_PARAVIRT 1093a93261fSAshish Kalra 11098750261SKumar Galaconfig MPIC_WEIRD 11198750261SKumar Gala bool 11298750261SKumar Gala 1138626816eSJia Hongtaoconfig MPIC_MSGR 1148626816eSJia Hongtao bool "MPIC message register support" 1158626816eSJia Hongtao depends on MPIC 1168626816eSJia Hongtao help 1178626816eSJia Hongtao Enables support for the MPIC message registers. These 1188626816eSJia Hongtao registers are used for inter-processor communication. 1198626816eSJia Hongtao 12098750261SKumar Galaconfig PPC_I8259 12198750261SKumar Gala bool 12298750261SKumar Gala 1234330f5daSKumar Galaconfig U3_DART 1244330f5daSKumar Gala bool 12528794d34SBenjamin Herrenschmidt depends on PPC64 1264330f5daSKumar Gala 1274330f5daSKumar Galaconfig PPC_RTAS 1284330f5daSKumar Gala bool 1294330f5daSKumar Gala 1304330f5daSKumar Galaconfig RTAS_ERROR_LOGGING 1314330f5daSKumar Gala bool 1324330f5daSKumar Gala depends on PPC_RTAS 1334330f5daSKumar Gala 1343d541c4bSBenjamin Herrenschmidtconfig PPC_RTAS_DAEMON 1353d541c4bSBenjamin Herrenschmidt bool 1363d541c4bSBenjamin Herrenschmidt depends on PPC_RTAS 1373d541c4bSBenjamin Herrenschmidt 1384330f5daSKumar Galaconfig RTAS_PROC 1394330f5daSKumar Gala bool "Proc interface to RTAS" 140b80ec3dcSMichael Ellerman depends on PPC_RTAS && PROC_FS 1414330f5daSKumar Gala default y 1424330f5daSKumar Gala 1434330f5daSKumar Galaconfig RTAS_FLASH 1444330f5daSKumar Gala tristate "Firmware flash interface" 1454330f5daSKumar Gala depends on PPC64 && RTAS_PROC 1464330f5daSKumar Gala 1474330f5daSKumar Galaconfig MMIO_NVRAM 1484330f5daSKumar Gala bool 1494330f5daSKumar Gala 1506cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS 1514330f5daSKumar Gala bool 1524330f5daSKumar Gala 1530d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD 1540d72ba93SOlof Johansson bool 1550d72ba93SOlof Johansson depends on MPIC 1560d72ba93SOlof Johansson help 1570d72ba93SOlof Johansson This option enables a MPIC driver workaround for some chips 1580d72ba93SOlof Johansson that have a bug that causes some interrupt source information 1590d72ba93SOlof Johansson to not read back properly. It is safe to use on other chips as 1600d72ba93SOlof Johansson well, but enabling it uses about 8KB of memory to keep copies 1610d72ba93SOlof Johansson of the register contents in software. 1620d72ba93SOlof Johansson 163317f06deSGavin Shanconfig EEH 164317f06deSGavin Shan bool 165317f06deSGavin Shan depends on (PPC_POWERNV || PPC_PSERIES) && PCI 166317f06deSGavin Shan default y 167317f06deSGavin Shan 1684330f5daSKumar Galaconfig PPC_MPC106 1694330f5daSKumar Gala bool 1704330f5daSKumar Gala 1714330f5daSKumar Galaconfig PPC_970_NAP 1724330f5daSKumar Gala bool 1734330f5daSKumar Gala 174948cf67cSBenjamin Herrenschmidtconfig PPC_P7_NAP 175948cf67cSBenjamin Herrenschmidt bool 176948cf67cSBenjamin Herrenschmidt 177ed0bc98fSNicholas Pigginconfig PPC_BOOK3S_IDLE 178ed0bc98fSNicholas Piggin def_bool y 179ed0bc98fSNicholas Piggin depends on (PPC_970_NAP || PPC_P7_NAP) 180ed0bc98fSNicholas Piggin 181ecd73cc5SBenjamin Herrenschmidtconfig PPC_INDIRECT_PIO 1824330f5daSKumar Gala bool 1834330f5daSKumar Gala select GENERIC_IOMAP 18421176fedSMichael Ellerman 1854330f5daSKumar Galasource "drivers/cpufreq/Kconfig" 1864330f5daSKumar Gala 187e179816cSDeepthi Dharwarmenu "CPUIdle driver" 188e179816cSDeepthi Dharwar 189e179816cSDeepthi Dharwarsource "drivers/cpuidle/Kconfig" 190e179816cSDeepthi Dharwar 191e179816cSDeepthi Dharwarendmenu 192e179816cSDeepthi Dharwar 1934330f5daSKumar Galaconfig TAU 1944330f5daSKumar Gala bool "On-chip CPU temperature sensor support" 195be34fff0SChristophe Leroy depends on PPC_BOOK3S_32 1964330f5daSKumar Gala help 1974330f5daSKumar Gala G3 and G4 processors have an on-chip temperature sensor called the 1984330f5daSKumar Gala 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die 1994330f5daSKumar Gala temperature within 2-4 degrees Celsius. This option shows the current 2004330f5daSKumar Gala on-die temperature in /proc/cpuinfo if the cpu supports it. 2014330f5daSKumar Gala 2025e3119e1SFinn Thain Unfortunately, this sensor is very inaccurate when uncalibrated, so 2035e3119e1SFinn Thain don't assume the cpu temp is actually what /proc/cpuinfo says it is. 2044330f5daSKumar Gala 2054330f5daSKumar Galaconfig TAU_INT 206e63d6fb5SFinn Thain bool "Interrupt driven TAU driver (EXPERIMENTAL)" 2074330f5daSKumar Gala depends on TAU 208a7f7f624SMasahiro Yamada help 2094330f5daSKumar Gala The TAU supports an interrupt driven mode which causes an interrupt 2104330f5daSKumar Gala whenever the temperature goes out of range. This is the fastest way 2114330f5daSKumar Gala to get notified the temp has exceeded a range. With this option off, 2124330f5daSKumar Gala a timer is used to re-check the temperature periodically. 2134330f5daSKumar Gala 214e63d6fb5SFinn Thain If in doubt, say N here. 2154330f5daSKumar Gala 2164330f5daSKumar Galaconfig TAU_AVERAGE 2174330f5daSKumar Gala bool "Average high and low temp" 2184330f5daSKumar Gala depends on TAU 219a7f7f624SMasahiro Yamada help 2204330f5daSKumar Gala The TAU hardware can compare the temperature to an upper and lower 2214330f5daSKumar Gala bound. The default behavior is to show both the upper and lower 2224330f5daSKumar Gala bound in /proc/cpuinfo. If the range is large, the temperature is 2234330f5daSKumar Gala either changing a lot, or the TAU hardware is broken (likely on some 2244330f5daSKumar Gala G4's). If the range is small (around 4 degrees), the temperature is 2254330f5daSKumar Gala relatively stable. If you say Y here, a single temperature value, 2264330f5daSKumar Gala halfway between the upper and lower bounds, will be reported in 2274330f5daSKumar Gala /proc/cpuinfo. 2284330f5daSKumar Gala 2294330f5daSKumar Gala If in doubt, say N here. 2304330f5daSKumar Gala 2315c091193SAnton Vorontsovconfig QE_GPIO 2325c091193SAnton Vorontsov bool "QE GPIO support" 2335c091193SAnton Vorontsov depends on QUICC_ENGINE 23486c55af4SLinus Walleij select GPIOLIB 235a99cc668SArnd Bergmann select OF_GPIO_MM_GPIOCHIP 2365c091193SAnton Vorontsov help 2375c091193SAnton Vorontsov Say Y here if you're going to use hardware that connects to the 2385c091193SAnton Vorontsov QE GPIOs. 2395c091193SAnton Vorontsov 240d6071f88SKumar Galaconfig CPM2 241b8b3caf3SPaul Gortmaker bool "Enable support for the CPM2 (Communications Processor Module)" 242*eb5aa213SChristophe Leroy depends on (FSL_SOC_BOOKE && PPC32) || PPC_82xx 243c374e00eSScott Wood select CPM 244eb01d42aSChristoph Hellwig select HAVE_PCI 24586c55af4SLinus Walleij select GPIOLIB 246a99cc668SArnd Bergmann select OF_GPIO_MM_GPIOCHIP 247d6071f88SKumar Gala help 248d6071f88SKumar Gala The CPM2 (Communications Processor Module) is a coprocessor on 249d6071f88SKumar Gala embedded CPUs made by Freescale. Selecting this option means that 250d6071f88SKumar Gala you wish to build a kernel for a machine with a CPM2 coprocessor 251d6071f88SKumar Gala on it (826x, 827x, 8560). 252d6071f88SKumar Gala 253b66510cbSKumar Galaconfig FSL_ULI1575 25422fdf791SPali Rohár bool "ULI1575 PCIe south bridge support" 25522fdf791SPali Rohár depends on FSL_SOC_BOOKE || PPC_86xx 256536d948aSRandy Dunlap depends on PCI 25722fdf791SPali Rohár select FSL_PCI 258fb4f0e88SKumar Gala select GENERIC_ISA_DMA 259b66510cbSKumar Gala help 260b66510cbSKumar Gala Supports for the ULI1575 PCIe south bridge that exists on some 261b66510cbSKumar Gala Freescale reference boards. The boards all use the ULI in pretty 262b66510cbSKumar Gala much the same way. 263b66510cbSKumar Gala 264c374e00eSScott Woodconfig CPM 265c374e00eSScott Wood bool 2660e6e01ffSZhao Qiang select GENERIC_ALLOCATOR 267c374e00eSScott Wood 26822258fa4SDavid Gibsonconfig OF_RTC 26922258fa4SDavid Gibson bool 27022258fa4SDavid Gibson help 271692105b8SMatt LaPlante Uses information from the OF or flattened device tree to instantiate 27222258fa4SDavid Gibson platform devices for direct mapped RTC chips like the DS1742 or DS1743. 27322258fa4SDavid Gibson 274835ea93eSArnd Bergmannconfig GEN_RTC 275835ea93eSArnd Bergmann bool "Use the platform RTC operations from user space" 276835ea93eSArnd Bergmann select RTC_CLASS 277835ea93eSArnd Bergmann select RTC_DRV_GENERIC 278835ea93eSArnd Bergmann help 279835ea93eSArnd Bergmann This option provides backwards compatibility with the old gen_rtc.ko 280835ea93eSArnd Bergmann module that was traditionally used for old PowerPC machines. 281835ea93eSArnd Bergmann Platforms should migrate to enabling the RTC_DRV_GENERIC by hand 282835ea93eSArnd Bergmann replacing their get_rtc_time/set_rtc_time callbacks with 283835ea93eSArnd Bergmann a proper RTC device driver. 284835ea93eSArnd Bergmann 285ea0105eaSAnton Vorontsovconfig MCU_MPC8349EMITX 2866ca6ca5dSFabio Baltieri bool "MPC8349E-mITX MCU driver" 28782640a6bSAl Viro depends on I2C=y && PPC_83xx 28886c55af4SLinus Walleij select GPIOLIB 289ea0105eaSAnton Vorontsov help 290ea0105eaSAnton Vorontsov Say Y here to enable soft power-off functionality on the Freescale 291ea0105eaSAnton Vorontsov boards with the MPC8349E-mITX-compatible MCU chips. This driver will 292ea0105eaSAnton Vorontsov also register MCU GPIOs with the generic GPIO API, so you'll able 293ea0105eaSAnton Vorontsov to use MCU pins as GPIOs. 294ea0105eaSAnton Vorontsov 2954330f5daSKumar Galaendmenu 296