soc: mediatek: cmdq: define the instruction struct
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 21 Nov 2019 01:54:07 +0000 (09:54 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 8 Jan 2020 11:59:45 +0000 (12:59 +0100)
commit5c8b718c5a32bfa3e7a263c19b81bae9130229f1
tree9c7bceaf89a0fbeb775456bfac0f09c0ca63c639
parent01d1b408ecb0fe277358ba006e569d87ef2a3a45
soc: mediatek: cmdq: define the instruction struct

Define an instruction structure for gce driver to append command.
This structure can make the client's code more readability.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Reviewed-by: CK Hu <ck.hu@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