summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorCyril Bur <cyrilbur@gmail.com>2017-02-08 10:36:23 +1100
committerJoel Stanley <joel@jms.id.au>2019-03-20 15:13:32 +1030
commit9947eaa9c223f1ac1b6b2d844958a7a67b132275 (patch)
tree356bb89cb8ba9093ac0f56095fae360e5a641f66 /drivers/misc/Kconfig
parentfe628d8df1bc09574da3156d77aed22da83164d4 (diff)
downloadblackbird-obmc-linux-9947eaa9c223f1ac1b6b2d844958a7a67b132275.tar.gz
blackbird-obmc-linux-9947eaa9c223f1ac1b6b2d844958a7a67b132275.zip
misc: Add ASPEED mbox driver
This provides access to the mbox registers on the ast2400 and ast2500 SoCs. This driver allows arbitrary reads and writes to the 16 data registers as the other end may have configured the mbox hardware to provide an interrupt when a specific register gets written to. OpenBMC-Staging-Count: 6 [joel: move to drivers/misc as this isn't a mailbox driver] Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index f417b06e11c5..ad9fb2edf172 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -501,6 +501,13 @@ config ASPEED_LPC_SNOOP
allows the BMC to listen on and save the data written by
the host to an arbitrary LPC I/O port.
+config ASPEED_LPC_MBOX
+ tristate "Aspeed LPC Mailbox Controller"
+ depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON
+ ---help---
+ Expose the ASPEED LPC MBOX registers found on Aspeed SOCs (AST2400
+ and AST2500) to userspace.
+
config PCI_ENDPOINT_TEST
depends on PCI
select CRC32
OpenPOWER on IntegriCloud