xref: /linux/drivers/mailbox/Kconfig (revision c869c75c16b3d1ffcf64fb2fd63ba0c4a369071c)
130058677SRob Herringmenuconfig MAILBOX
230058677SRob Herring	bool "Mailbox Hardware Support"
330058677SRob Herring	help
430058677SRob Herring	  Mailbox is a framework to control hardware communication between
530058677SRob Herring	  on-chip processors through queued messages and interrupt driven
630058677SRob Herring	  signals. Say Y if your platform supports hardware mailboxes.
730058677SRob Herring
830058677SRob Herringif MAILBOX
930058677SRob Herringconfig PL320_MBOX
1030058677SRob Herring	bool "ARM PL320 Mailbox"
1130058677SRob Herring	depends on ARM_AMBA
1230058677SRob Herring	help
1330058677SRob Herring	  An implementation of the ARM PL320 Interprocessor Communication
1430058677SRob Herring	  Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to
1530058677SRob Herring	  send short messages between Highbank's A9 cores and the EnergyCore
1630058677SRob Herring	  Management Engine, primarily for cpufreq. Say Y here if you want
1730058677SRob Herring	  to use the PL320 IPCM support.
1830058677SRob Herring
19*c869c75cSSuman Annaconfig OMAP_MBOX
20*c869c75cSSuman Anna	tristate
21*c869c75cSSuman Anna	help
22*c869c75cSSuman Anna	  This option is selected by any OMAP architecture specific mailbox
23*c869c75cSSuman Anna	  driver such as CONFIG_OMAP1_MBOX or CONFIG_OMAP2PLUS_MBOX. This
24*c869c75cSSuman Anna	  enables the common OMAP mailbox framework code.
25*c869c75cSSuman Anna
26*c869c75cSSuman Annaconfig OMAP1_MBOX
27*c869c75cSSuman Anna	tristate "OMAP1 Mailbox framework support"
28*c869c75cSSuman Anna	depends on ARCH_OMAP1
29*c869c75cSSuman Anna	select OMAP_MBOX
30*c869c75cSSuman Anna	help
31*c869c75cSSuman Anna	  Mailbox implementation for OMAP chips with hardware for
32*c869c75cSSuman Anna	  interprocessor communication involving DSP in OMAP1. Say Y here
33*c869c75cSSuman Anna	  if you want to use OMAP1 Mailbox framework support.
34*c869c75cSSuman Anna
35*c869c75cSSuman Annaconfig OMAP2PLUS_MBOX
36*c869c75cSSuman Anna	tristate "OMAP2+ Mailbox framework support"
37*c869c75cSSuman Anna	depends on ARCH_OMAP2PLUS
38*c869c75cSSuman Anna	select OMAP_MBOX
39*c869c75cSSuman Anna	help
40*c869c75cSSuman Anna	  Mailbox implementation for OMAP family chips with hardware for
41*c869c75cSSuman Anna	  interprocessor communication involving DSP, IVA1.0 and IVA2 in
42*c869c75cSSuman Anna	  OMAP2/3; or IPU, IVA HD and DSP in OMAP4/5. Say Y here if you
43*c869c75cSSuman Anna	  want to use OMAP2+ Mailbox framework support.
44*c869c75cSSuman Anna
45*c869c75cSSuman Annaconfig OMAP_MBOX_KFIFO_SIZE
46*c869c75cSSuman Anna	int "Mailbox kfifo default buffer size (bytes)"
47*c869c75cSSuman Anna	depends on OMAP2PLUS_MBOX || OMAP1_MBOX
48*c869c75cSSuman Anna	default 256
49*c869c75cSSuman Anna	help
50*c869c75cSSuman Anna	  Specify the default size of mailbox's kfifo buffers (bytes).
51*c869c75cSSuman Anna	  This can also be changed at runtime (via the mbox_kfifo_size
52*c869c75cSSuman Anna	  module parameter).
5330058677SRob Herringendif
54