soc: mediatek: cmdq: add write_s_mask function
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Tue, 7 Jul 2020 15:45:08 +0000 (23:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 25 Sep 2020 15:27:32 +0000 (17:27 +0200)
commit11c7842d41c82eb3551a0606ccba89ac33318b62
tree0a54bb31de4b56607156c459c397a4a5c79c345c
parent5f6e560c2dd5be3ae446f20ae97263cbfa309630
soc: mediatek: cmdq: add write_s_mask function

add write_s_mask function in cmdq helper functions which
writes value contains in internal register to address
with mask and large dma access support.

Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Link: https://lore.kernel.org/r/1594136714-11650-4-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