soc: mediatek: cmdq: add read_s function
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Tue, 7 Jul 2020 15:45:09 +0000 (23:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 25 Sep 2020 15:27:34 +0000 (17:27 +0200)
commitd3b04aab06fbc33ddea15725f3ff1667c9717929
treecd9560e836070ade38f6a9b02ec51256aa39e2ea
parent11c7842d41c82eb3551a0606ccba89ac33318b62
soc: mediatek: cmdq: add read_s function

Add read_s function in cmdq helper functions which support read value from
register or dma physical address into gce internal register.

Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Link: https://lore.kernel.org/r/1594136714-11650-5-git-send-email-dennis-yc.hsieh@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-cmdq-helper.c
include/linux/mailbox/mtk-cmdq-mailbox.h
include/linux/soc/mediatek/mtk-cmdq.h