OSDN Git Service

soc: mediatek: cmdq: add cmdq_dev_get_client_reg function
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 21 Nov 2019 01:54:09 +0000 (09:54 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 8 Jan 2020 11:59:57 +0000 (12:59 +0100)
commitd412f18c9bc791d8951e903de9a68817e3098a6a
treea7792b8f91e05b00034be5c47c49646886a9088e
parentb2ff2356bf93d66e7155acea63dcd503aca6c28f
soc: mediatek: cmdq: add cmdq_dev_get_client_reg function

GCE cannot know the register base address, this function
can help cmdq client to get the cmdq_client_reg structure.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: Houlong Wei <houlong.wei@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-cmdq-helper.c
include/linux/soc/mediatek/mtk-cmdq.h