xref: /openbmc/linux/arch/powerpc/platforms/ps3/Kconfig (revision 7626e78d)
172e77a1bSKumar Galaconfig PPC_PS3
272e77a1bSKumar Gala	bool "Sony PS3 (incomplete)"
372e77a1bSKumar Gala	depends on PPC_MULTIPLATFORM && PPC64
472e77a1bSKumar Gala	select PPC_CELL
572e77a1bSKumar Gala	select USB_ARCH_HAS_OHCI
672e77a1bSKumar Gala	select USB_OHCI_LITTLE_ENDIAN
772e77a1bSKumar Gala	select USB_OHCI_BIG_ENDIAN_MMIO
872e77a1bSKumar Gala	select USB_ARCH_HAS_EHCI
972e77a1bSKumar Gala	select USB_EHCI_BIG_ENDIAN_MMIO
1072e77a1bSKumar Gala	help
1172e77a1bSKumar Gala	  This option enables support for the Sony PS3 game console
1272e77a1bSKumar Gala	  and other platforms using the PS3 hypervisor.
1372e77a1bSKumar Gala	  Support for this platform is not yet complete, so
1472e77a1bSKumar Gala	  enabling this will not result in a bootable kernel on a
1572e77a1bSKumar Gala	  PS3 system.
1672e77a1bSKumar Gala
17f58a9d17SGeoff Levandmenu "PS3 Platform Options"
18f58a9d17SGeoff Levand	depends on PPC_PS3
19f58a9d17SGeoff Levand
203f555c70SGeert Uytterhoevenconfig PS3_ADVANCED
213f555c70SGeert Uytterhoeven	depends on PPC_PS3
223f555c70SGeert Uytterhoeven	bool "PS3 Advanced configuration options"
233f555c70SGeert Uytterhoeven	help
243f555c70SGeert Uytterhoeven	  This gives you access to some advanced options for the PS3. The
253f555c70SGeert Uytterhoeven	  defaults should be fine for most users, but these options may make
263f555c70SGeert Uytterhoeven	  it possible to better control the kernel configuration if you know
273f555c70SGeert Uytterhoeven	  what you are doing.
283f555c70SGeert Uytterhoeven
293f555c70SGeert Uytterhoeven	  Note that the answer to this question won't directly affect the
303f555c70SGeert Uytterhoeven	  kernel: saying N will just cause the configurator to skip all
313f555c70SGeert Uytterhoeven	  the questions about these options.
323f555c70SGeert Uytterhoeven
333f555c70SGeert Uytterhoeven	  Most users should say N to this question.
343f555c70SGeert Uytterhoeven
35f58a9d17SGeoff Levandconfig PS3_HTAB_SIZE
36f58a9d17SGeoff Levand	depends on PPC_PS3
373f555c70SGeert Uytterhoeven	int "PS3 Platform pagetable size" if PS3_ADVANCED
38f58a9d17SGeoff Levand	range 18 20
39f58a9d17SGeoff Levand	default 20
40f58a9d17SGeoff Levand	help
41f58a9d17SGeoff Levand	  This option is only for experts who may have the desire to fine
42f58a9d17SGeoff Levand	  tune the pagetable size on their system.  The value here is
43f58a9d17SGeoff Levand	  expressed as the log2 of the page table size.  Valid values are
44f58a9d17SGeoff Levand	  18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.
45f58a9d17SGeoff Levand
46f58a9d17SGeoff Levand	  If unsure, choose the default (20) with the confidence that your
47f58a9d17SGeoff Levand	  system will have optimal runtime performance.
48f58a9d17SGeoff Levand
49f58a9d17SGeoff Levandconfig PS3_DYNAMIC_DMA
50f58a9d17SGeoff Levand	depends on PPC_PS3 && EXPERIMENTAL
51f58a9d17SGeoff Levand	bool "PS3 Platform dynamic DMA page table management"
52f58a9d17SGeoff Levand	default n
53f58a9d17SGeoff Levand	help
54f58a9d17SGeoff Levand	  This option will enable kernel support to take advantage of the
55f58a9d17SGeoff Levand	  per device dynamic DMA page table management provided by the Cell
56f58a9d17SGeoff Levand	  processor's IO Controller.  This support incurs some runtime
57f58a9d17SGeoff Levand	  overhead and also slightly increases kernel memory usage.  The
58f58a9d17SGeoff Levand	  current implementation should be considered experimental.
59f58a9d17SGeoff Levand
60f58a9d17SGeoff Levand	  This support is mainly for Linux kernel development.  If unsure,
61f58a9d17SGeoff Levand	  say N.
62f58a9d17SGeoff Levand
63261efc3fSGeoff Levandconfig PS3_USE_LPAR_ADDR
64261efc3fSGeoff Levand	depends on PPC_PS3 && EXPERIMENTAL
65261efc3fSGeoff Levand	bool "PS3 use lpar address space"
66261efc3fSGeoff Levand	default y
67261efc3fSGeoff Levand	help
68261efc3fSGeoff Levand	  This option is solely for experimentation by experts.  Disables
69261efc3fSGeoff Levand	  translation of lpar addresses.  SPE support currently won't work
70261efc3fSGeoff Levand	  without this set to y.
71261efc3fSGeoff Levand
72261efc3fSGeoff Levand	  If you have any doubt, choose the default y.
73261efc3fSGeoff Levand
7474e95d5dSGeoff Levandconfig PS3_VUART
7574e95d5dSGeoff Levand	depends on PPC_PS3
767626e78dSGeoff Levand	tristate
7774e95d5dSGeoff Levand
7811227fd1SGeert Uytterhoevenconfig PS3_PS3AV
797626e78dSGeoff Levand	depends on PPC_PS3
803f555c70SGeert Uytterhoeven	tristate "PS3 AV settings driver" if PS3_ADVANCED
817626e78dSGeoff Levand	select PS3_VUART
8211227fd1SGeert Uytterhoeven	default y
8311227fd1SGeert Uytterhoeven	help
8411227fd1SGeert Uytterhoeven	  Include support for the PS3 AV Settings driver.
8511227fd1SGeert Uytterhoeven
8611227fd1SGeert Uytterhoeven	  This support is required for graphics and sound. In
8711227fd1SGeert Uytterhoeven	  general, all users will say Y or M.
8811227fd1SGeert Uytterhoeven
89fde5efd0SGeoff Levandconfig PS3_SYS_MANAGER
907626e78dSGeoff Levand	depends on PPC_PS3
917626e78dSGeoff Levand	tristate "PS3 System Manager driver" if PS3_ADVANCED
927626e78dSGeoff Levand	select PS3_VUART
937626e78dSGeoff Levand	default m
94fde5efd0SGeoff Levand	help
95fde5efd0SGeoff Levand	  Include support for the PS3 System Manager.
96fde5efd0SGeoff Levand
97fde5efd0SGeoff Levand	  This support is required for system control.  In
987626e78dSGeoff Levand	  general, all users will say Y or M.
99fde5efd0SGeoff Levand
100f58a9d17SGeoff Levandendmenu
101