162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig PPC_CELL
362306a36Sopenharmony_ci	select PPC_64S_HASH_MMU if PPC64
462306a36Sopenharmony_ci	bool
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig PPC_CELL_COMMON
762306a36Sopenharmony_ci	bool
862306a36Sopenharmony_ci	select PPC_CELL
962306a36Sopenharmony_ci	select PPC_DCR_MMIO
1062306a36Sopenharmony_ci	select PPC_INDIRECT_PIO
1162306a36Sopenharmony_ci	select PPC_INDIRECT_MMIO
1262306a36Sopenharmony_ci	select PPC_HASH_MMU_NATIVE
1362306a36Sopenharmony_ci	select PPC_RTAS
1462306a36Sopenharmony_ci	select IRQ_EDGE_EOI_HANDLER
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig PPC_CELL_NATIVE
1762306a36Sopenharmony_ci	bool
1862306a36Sopenharmony_ci	select PPC_CELL_COMMON
1962306a36Sopenharmony_ci	select MPIC
2062306a36Sopenharmony_ci	select PPC_IO_WORKAROUNDS
2162306a36Sopenharmony_ci	select IBM_EMAC_EMAC4 if IBM_EMAC
2262306a36Sopenharmony_ci	select IBM_EMAC_RGMII if IBM_EMAC
2362306a36Sopenharmony_ci	select IBM_EMAC_ZMII if IBM_EMAC #test only
2462306a36Sopenharmony_ci	select IBM_EMAC_TAH if IBM_EMAC  #test only
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig PPC_IBM_CELL_BLADE
2762306a36Sopenharmony_ci	bool "IBM Cell Blade"
2862306a36Sopenharmony_ci	depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
2962306a36Sopenharmony_ci	select PPC_CELL_NATIVE
3062306a36Sopenharmony_ci	select PPC_OF_PLATFORM_PCI
3162306a36Sopenharmony_ci	select FORCE_PCI
3262306a36Sopenharmony_ci	select MMIO_NVRAM
3362306a36Sopenharmony_ci	select PPC_UDBG_16550
3462306a36Sopenharmony_ci	select UDBG_RTAS_CONSOLE
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig AXON_MSI
3762306a36Sopenharmony_ci	bool
3862306a36Sopenharmony_ci	depends on PPC_IBM_CELL_BLADE && PCI_MSI
3962306a36Sopenharmony_ci	select IRQ_DOMAIN_NOMAP
4062306a36Sopenharmony_ci	default y
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_cimenu "Cell Broadband Engine options"
4362306a36Sopenharmony_ci	depends on PPC_CELL
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig SPU_FS
4662306a36Sopenharmony_ci	tristate "SPU file system"
4762306a36Sopenharmony_ci	default m
4862306a36Sopenharmony_ci	depends on PPC_CELL
4962306a36Sopenharmony_ci	depends on COREDUMP
5062306a36Sopenharmony_ci	select SPU_BASE
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  The SPU file system is used to access Synergistic Processing
5362306a36Sopenharmony_ci	  Units on machines implementing the Broadband Processor
5462306a36Sopenharmony_ci	  Architecture.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciconfig SPU_BASE
5762306a36Sopenharmony_ci	bool
5862306a36Sopenharmony_ci	select PPC_COPRO_BASE
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig CBE_RAS
6162306a36Sopenharmony_ci	bool "RAS features for bare metal Cell BE"
6262306a36Sopenharmony_ci	depends on PPC_CELL_NATIVE
6362306a36Sopenharmony_ci	default y
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciconfig PPC_IBM_CELL_RESETBUTTON
6662306a36Sopenharmony_ci	bool "IBM Cell Blade Pinhole reset button"
6762306a36Sopenharmony_ci	depends on CBE_RAS && PPC_IBM_CELL_BLADE
6862306a36Sopenharmony_ci	default y
6962306a36Sopenharmony_ci	help
7062306a36Sopenharmony_ci	  Support Pinhole Resetbutton on IBM Cell blades.
7162306a36Sopenharmony_ci	  This adds a method to trigger system reset via front panel pinhole button.
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ciconfig PPC_IBM_CELL_POWERBUTTON
7462306a36Sopenharmony_ci	tristate "IBM Cell Blade power button"
7562306a36Sopenharmony_ci	depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
7662306a36Sopenharmony_ci	default y
7762306a36Sopenharmony_ci	help
7862306a36Sopenharmony_ci	  Support Powerbutton on IBM Cell blades.
7962306a36Sopenharmony_ci	  This will enable the powerbutton as an input device.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciconfig CBE_THERM
8262306a36Sopenharmony_ci	tristate "CBE thermal support"
8362306a36Sopenharmony_ci	default m
8462306a36Sopenharmony_ci	depends on CBE_RAS && SPU_BASE
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciconfig PPC_PMI
8762306a36Sopenharmony_ci	tristate
8862306a36Sopenharmony_ci	default y
8962306a36Sopenharmony_ci	depends on CPU_FREQ_CBE_PMI || PPC_IBM_CELL_POWERBUTTON
9062306a36Sopenharmony_ci	help
9162306a36Sopenharmony_ci	  PMI (Platform Management Interrupt) is a way to
9262306a36Sopenharmony_ci	  communicate with the BMC (Baseboard Management Controller).
9362306a36Sopenharmony_ci	  It is used in some IBM Cell blades.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig CBE_CPUFREQ_SPU_GOVERNOR
9662306a36Sopenharmony_ci	tristate "CBE frequency scaling based on SPU usage"
9762306a36Sopenharmony_ci	depends on SPU_FS && CPU_FREQ
9862306a36Sopenharmony_ci	default m
9962306a36Sopenharmony_ci	help
10062306a36Sopenharmony_ci	  This governor checks for spu usage to adjust the cpu frequency.
10162306a36Sopenharmony_ci	  If no spu is running on a given cpu, that cpu will be throttled to
10262306a36Sopenharmony_ci	  the minimal possible frequency.
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ciendmenu
105