summaryrefslogtreecommitdiff
path: root/drivers/mailbox/Kconfig
diff options
context:
space:
mode:
authorHoulong Wei <houlong.wei@mediatek.com>2018-07-25 04:26:40 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2018-08-03 17:22:14 +0300
commit623a6143a845bd485b00ba684f0ccef11835edab (patch)
tree4d19effb909e5027a0396cd73790675055f05d93 /drivers/mailbox/Kconfig
parent1c82407aa302774b24bf619e56973aa97cbf25bd (diff)
downloadlinux-623a6143a845bd485b00ba684f0ccef11835edab.tar.xz
mailbox: mediatek: Add Mediatek CMDQ driver
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ only supports display related hardwares, but we expect it can be extended to other hardwares for future requirements. Signed-off-by: Houlong Wei <houlong.wei@mediatek.com> Signed-off-by: HS Liao <hs.liao@mediatek.com> Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/Kconfig')
-rw-r--r--drivers/mailbox/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index e63d29a95e76..2bbabc907add 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -189,4 +189,14 @@ config STM32_IPCC
Mailbox implementation for STMicroelectonics STM32 family chips
with hardware for Inter-Processor Communication Controller (IPCC)
between processors. Say Y here if you want to have this support.
+
+config MTK_CMDQ_MBOX
+ tristate "MediaTek CMDQ Mailbox Support"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ select MTK_INFRACFG
+ help
+ Say yes here to add support for the MediaTek Command Queue (CMDQ)
+ mailbox driver. The CMDQ is used to help read/write registers with
+ critical time limitation, such as updating display configuration
+ during the vblank.
endif