soc: mediatek: cmdq: add assign function
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Sun, 21 Jun 2020 14:18:26 +0000 (22:18 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 22 Jun 2020 11:03:05 +0000 (13:03 +0200)
commit613c2e2c7e69e574411e2a3609459e18e91ae3fb
treed0500800db114b60163f9de2c23ca44194392100
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
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>
drivers/soc/mediatek/mtk-cmdq-helper.c
include/linux/mailbox/mtk-cmdq-mailbox.h
include/linux/soc/mediatek/mtk-cmdq.h