summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>2020-07-05 09:37:14 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2020-08-04 07:56:38 +0300
commit0858fde496f84fff2fdae53d9e33c7b308195f74 (patch)
treedea686235ff46134e4fddc1dd3f3b753c13e3369 /include
parent6cb4f3b055fe42bb0f20c6ad6401d325b39d1e2a (diff)
downloadlinux-0858fde496f84fff2fdae53d9e33c7b308195f74.tar.xz
mailbox: cmdq: variablize address shift in platform
Some gce hardware shift pc and end address in register to support large dram addressing. Implement gce address shift when write or read pc and end register. And add shift bit in platform definition. Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mailbox/mtk-cmdq-mailbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h
index a4dc45fbec0a..c342b8799be8 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -88,4 +88,6 @@ struct cmdq_pkt {
void *cl;
};
+u8 cmdq_get_shift_pa(struct mbox_chan *chan);
+
#endif /* __MTK_CMDQ_MAILBOX_H__ */