summaryrefslogtreecommitdiffstats
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-05-13 15:50:29 -0600
committerSimon Glass <sjg@chromium.org>2016-05-26 20:48:31 -0600
commit6238935d018042d332aa7e90eae3addfeb11abdc (patch)
tree7a540c904e57691a459d144af393d361e340fc22 /include/dm/uclass-id.h
parent11636258981a083957c19f3979796fde5e7e8080 (diff)
downloadtalos-obmc-uboot-6238935d018042d332aa7e90eae3addfeb11abdc.tar.gz
talos-obmc-uboot-6238935d018042d332aa7e90eae3addfeb11abdc.zip
Add a mailbox driver framework/uclass
A mailbox is a hardware mechanism for transferring small message and/or notifications between the CPU on which U-Boot runs and some other device such as an auxilliary CPU running firmware or a hardware module. This patch defines a standard API that connects mailbox clients to mailbox providers (drivers). Initially, DT is the only supported method for connecting the two. The DT binding specification (mailbox.txt) was taken from Linux kernel v4.5's Documentation/devicetree/bindings/mailbox/mailbox.txt. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index f9ff45e010..0777cbe27e 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -44,6 +44,7 @@ enum uclass_id {
UCLASS_KEYBOARD, /* Keyboard input device */
UCLASS_LED, /* Light-emitting diode (LED) */
UCLASS_LPC, /* x86 'low pin count' interface */
+ UCLASS_MAILBOX, /* Mailbox controller */
UCLASS_MASS_STORAGE, /* Mass storage device */
UCLASS_MISC, /* Miscellaneous device */
UCLASS_MMC, /* SD / MMC card or chip */
OpenPOWER on IntegriCloud