18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciconfig PPC_CELL
38c2ecf20Sopenharmony_ci	bool
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciconfig PPC_CELL_COMMON
68c2ecf20Sopenharmony_ci	bool
78c2ecf20Sopenharmony_ci	select PPC_CELL
88c2ecf20Sopenharmony_ci	select PPC_DCR_MMIO
98c2ecf20Sopenharmony_ci	select PPC_INDIRECT_PIO
108c2ecf20Sopenharmony_ci	select PPC_INDIRECT_MMIO
118c2ecf20Sopenharmony_ci	select PPC_NATIVE
128c2ecf20Sopenharmony_ci	select PPC_RTAS
138c2ecf20Sopenharmony_ci	select IRQ_EDGE_EOI_HANDLER
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig PPC_CELL_NATIVE
168c2ecf20Sopenharmony_ci	bool
178c2ecf20Sopenharmony_ci	select PPC_CELL_COMMON
188c2ecf20Sopenharmony_ci	select MPIC
198c2ecf20Sopenharmony_ci	select PPC_IO_WORKAROUNDS
208c2ecf20Sopenharmony_ci	select IBM_EMAC_EMAC4 if IBM_EMAC
218c2ecf20Sopenharmony_ci	select IBM_EMAC_RGMII if IBM_EMAC
228c2ecf20Sopenharmony_ci	select IBM_EMAC_ZMII if IBM_EMAC #test only
238c2ecf20Sopenharmony_ci	select IBM_EMAC_TAH if IBM_EMAC  #test only
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig PPC_IBM_CELL_BLADE
268c2ecf20Sopenharmony_ci	bool "IBM Cell Blade"
278c2ecf20Sopenharmony_ci	depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
288c2ecf20Sopenharmony_ci	select PPC_CELL_NATIVE
298c2ecf20Sopenharmony_ci	select PPC_OF_PLATFORM_PCI
308c2ecf20Sopenharmony_ci	select FORCE_PCI
318c2ecf20Sopenharmony_ci	select MMIO_NVRAM
328c2ecf20Sopenharmony_ci	select PPC_UDBG_16550
338c2ecf20Sopenharmony_ci	select UDBG_RTAS_CONSOLE
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig AXON_MSI
368c2ecf20Sopenharmony_ci	bool
378c2ecf20Sopenharmony_ci	depends on PPC_IBM_CELL_BLADE && PCI_MSI
388c2ecf20Sopenharmony_ci	default y
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_cimenu "Cell Broadband Engine options"
418c2ecf20Sopenharmony_ci	depends on PPC_CELL
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig SPU_FS
448c2ecf20Sopenharmony_ci	tristate "SPU file system"
458c2ecf20Sopenharmony_ci	default m
468c2ecf20Sopenharmony_ci	depends on PPC_CELL
478c2ecf20Sopenharmony_ci	depends on COREDUMP
488c2ecf20Sopenharmony_ci	select SPU_BASE
498c2ecf20Sopenharmony_ci	help
508c2ecf20Sopenharmony_ci	  The SPU file system is used to access Synergistic Processing
518c2ecf20Sopenharmony_ci	  Units on machines implementing the Broadband Processor
528c2ecf20Sopenharmony_ci	  Architecture.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciconfig SPU_BASE
558c2ecf20Sopenharmony_ci	bool
568c2ecf20Sopenharmony_ci	select PPC_COPRO_BASE
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig CBE_RAS
598c2ecf20Sopenharmony_ci	bool "RAS features for bare metal Cell BE"
608c2ecf20Sopenharmony_ci	depends on PPC_CELL_NATIVE
618c2ecf20Sopenharmony_ci	default y
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig PPC_IBM_CELL_RESETBUTTON
648c2ecf20Sopenharmony_ci	bool "IBM Cell Blade Pinhole reset button"
658c2ecf20Sopenharmony_ci	depends on CBE_RAS && PPC_IBM_CELL_BLADE
668c2ecf20Sopenharmony_ci	default y
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  Support Pinhole Resetbutton on IBM Cell blades.
698c2ecf20Sopenharmony_ci	  This adds a method to trigger system reset via front panel pinhole button.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig PPC_IBM_CELL_POWERBUTTON
728c2ecf20Sopenharmony_ci	tristate "IBM Cell Blade power button"
738c2ecf20Sopenharmony_ci	depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
748c2ecf20Sopenharmony_ci	default y
758c2ecf20Sopenharmony_ci	help
768c2ecf20Sopenharmony_ci	  Support Powerbutton on IBM Cell blades.
778c2ecf20Sopenharmony_ci	  This will enable the powerbutton as an input device.
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciconfig CBE_THERM
808c2ecf20Sopenharmony_ci	tristate "CBE thermal support"
818c2ecf20Sopenharmony_ci	default m
828c2ecf20Sopenharmony_ci	depends on CBE_RAS && SPU_BASE
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ciconfig PPC_PMI
858c2ecf20Sopenharmony_ci	tristate
868c2ecf20Sopenharmony_ci	default y
878c2ecf20Sopenharmony_ci	depends on CPU_FREQ_CBE_PMI || PPC_IBM_CELL_POWERBUTTON
888c2ecf20Sopenharmony_ci	help
898c2ecf20Sopenharmony_ci	  PMI (Platform Management Interrupt) is a way to
908c2ecf20Sopenharmony_ci	  communicate with the BMC (Baseboard Management Controller).
918c2ecf20Sopenharmony_ci	  It is used in some IBM Cell blades.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciconfig CBE_CPUFREQ_SPU_GOVERNOR
948c2ecf20Sopenharmony_ci	tristate "CBE frequency scaling based on SPU usage"
958c2ecf20Sopenharmony_ci	depends on SPU_FS && CPU_FREQ
968c2ecf20Sopenharmony_ci	default m
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  This governor checks for spu usage to adjust the cpu frequency.
998c2ecf20Sopenharmony_ci	  If no spu is running on a given cpu, that cpu will be throttled to
1008c2ecf20Sopenharmony_ci	  the minimal possible frequency.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ciendmenu
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciconfig OPROFILE_CELL
1058c2ecf20Sopenharmony_ci	def_bool y
1068c2ecf20Sopenharmony_ci	depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
1078c2ecf20Sopenharmony_ci
108