]> git.sur5r.net Git - u-boot/commit
Add a mailbox driver framework/uclass
authorStephen Warren <swarren@nvidia.com>
Fri, 13 May 2016 21:50:29 +0000 (15:50 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:48:31 +0000 (20:48 -0600)
commit6238935d018042d332aa7e90eae3addfeb11abdc
tree7a540c904e57691a459d144af393d361e340fc22
parent11636258981a083957c19f3979796fde5e7e8080
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>
doc/device-tree-bindings/mailbox/mailbox.txt [new file with mode: 0644]
drivers/Kconfig
drivers/Makefile
drivers/mailbox/Kconfig [new file with mode: 0644]
drivers/mailbox/Makefile [new file with mode: 0644]
drivers/mailbox/mailbox-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/mailbox_client.h [new file with mode: 0644]
include/mailbox_uclass.h [new file with mode: 0644]