From 9c384189f5407565141f1a950d8350e56d86b4dd Mon Sep 17 00:00:00 2001 From: Leo Yan Date: Mon, 15 Feb 2016 21:50:24 +0800 Subject: mailbox: Hi6220: add mailbox driver Add driver for Hi6220 mailbox, the mailbox communicates with MCU; for sending data, it can support two methods for low level implementation: one is to use interrupt as acknowledge, another is automatic mode which without any acknowledge. These two methods have been supported in the driver. For receiving data, it will depend on the interrupt to notify the channel has incoming message. Now mailbox driver is used to send message to MCU to control dynamic voltage and frequency scaling for CPU, GPU and DDR. Signed-off-by: Leo Yan Signed-off-by: Jassi Brar --- drivers/mailbox/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/mailbox/Makefile') diff --git a/drivers/mailbox/Makefile b/drivers/mailbox/Makefile index b602ef85ba48..2310e991ff55 100644 --- a/drivers/mailbox/Makefile +++ b/drivers/mailbox/Makefile @@ -19,3 +19,5 @@ obj-$(CONFIG_BCM2835_MBOX) += bcm2835-mailbox.o obj-$(CONFIG_STI_MBOX) += mailbox-sti.o obj-$(CONFIG_XGENE_SLIMPRO_MBOX) += mailbox-xgene-slimpro.o + +obj-$(CONFIG_HI6220_MBOX) += hi6220-mailbox.o -- cgit v1.2.3-70-g09d2