mailbox: rk3368: add mailbox and scpi function

Add mailbox and scpi protocol function support for rk3368 SoC.

Change-Id: I201c916865eb2729ed135c3f5a77a9dd97007952
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This commit is contained in:
Frank Wang
2016-01-21 16:30:20 +08:00
committed by Tao Huang
parent ede2e03c38
commit 7a02d27145
2 changed files with 26 additions and 0 deletions

View File

@@ -205,4 +205,26 @@ config MTK_CMDQ_MBOX
mailbox driver. The CMDQ is used to help read/write registers with
critical time limitation, such as updating display configuration
during the vblank.
config RK3368_MBOX
bool "RK3368 SoC Integrated Mailbox Support"
depends on ARCH_ROCKCHIP
help
This driver provides support for inter-processor communication
between CPU cores and MCU processor on RK3368 SoC.
Please check it that the Soc you use have Mailbox hardware.
Say Y here if you want to use the Rockchip Mailbox support.
config RK3368_SCPI_PROTOCOL
bool "RK3368 SCPI Message Protocol Support"
depends on RK3368_MBOX
help
System Control and Power Interface (SCPI) Message Protocol is
defined for the purpose of communication between the Application
Cores(AP) and the System Control Processor(SCP). The mailbox
provides a mechanism for inter-processor communication between SCP
and AP.
This protocol library provides interface for all the client drivers
making use of the features offered by the SCP.
endif

View File

@@ -44,3 +44,7 @@ obj-$(CONFIG_TEGRA_HSP_MBOX) += tegra-hsp.o
obj-$(CONFIG_STM32_IPCC) += stm32-ipcc.o
obj-$(CONFIG_MTK_CMDQ_MBOX) += mtk-cmdq-mailbox.o
obj-$(CONFIG_RK3368_MBOX) += rk3368-mailbox.o
obj-$(CONFIG_RK3368_SCPI_PROTOCOL) += scpi_protocol.o