summaryrefslogtreecommitdiff
path: root/include/linux/mailbox
diff options
context:
space:
mode:
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>2020-06-21 17:18:26 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2020-06-22 14:03:05 +0300
commit613c2e2c7e69e574411e2a3609459e18e91ae3fb (patch)
treed0500800db114b60163f9de2c23ca44194392100 /include/linux/mailbox
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-613c2e2c7e69e574411e2a3609459e18e91ae3fb.tar.xz
soc: mediatek: cmdq: add assign function
Add assign function in cmdq helper which assign constant value into internal register by index. Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> Link: https://lore.kernel.org/r/1592749115-24158-3-git-send-email-dennis-yc.hsieh@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'include/linux/mailbox')
-rw-r--r--include/linux/mailbox/mtk-cmdq-mailbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h
index a4dc45fbec0a..70b740a552c2 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -59,6 +59,7 @@ enum cmdq_code {
CMDQ_CODE_JUMP = 0x10,
CMDQ_CODE_WFE = 0x20,
CMDQ_CODE_EOC = 0x40,
+ CMDQ_CODE_LOGIC = 0xa0,
};
enum cmdq_cb_status {