summaryrefslogtreecommitdiff
path: root/include/linux/mailbox
diff options
context:
space:
mode:
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>2020-07-07 18:45:07 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2020-09-25 18:27:31 +0300
commit5f6e560c2dd5be3ae446f20ae97263cbfa309630 (patch)
tree7d078fbef416f2bafef31df7d492fcabf3254fba /include/linux/mailbox
parent2b8cf38343b378ed3717822c46f69cdee607055f (diff)
downloadlinux-5f6e560c2dd5be3ae446f20ae97263cbfa309630.tar.xz
soc: mediatek: cmdq: add write_s function
add write_s function in cmdq helper functions which writes value contains in internal register to address with large dma access support. Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> Link: https://lore.kernel.org/r/1594136714-11650-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 05eea1aef5aa..1f76cfedb16d 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -60,6 +60,7 @@ enum cmdq_code {
CMDQ_CODE_JUMP = 0x10,
CMDQ_CODE_WFE = 0x20,
CMDQ_CODE_EOC = 0x40,
+ CMDQ_CODE_WRITE_S = 0x90,
CMDQ_CODE_LOGIC = 0xa0,
};