Changes since v1: - add prefix "cmdq" in the commit subject - add dt-binding document for get event and subsys function - add fix up tag in fixup patch - fix up some coding style (alignment) MTK will support gce function on mt8183 platform. dt-binding: gce: add gce header file for mt8183 soc: mediatek: cmdq: add mt8183 compatible name Besides above patches, we refine gce driver on those patches. soc: mediatek: cmdq: move the CMDQ_IRQ_MASK into cmdq driver data soc: mediatek: cmdq: clear the event in cmdq initial flow In ordet to enhance the convenience of gce usage, we add new helper functions and refine the method of instruction combining. dt-binding: gce: add binding for gce event property dt-binding: gce: add binding for gce subsys property soc: mediatek: cmdq: add packet encoder function soc: mediatek: cmdq: add polling function soc: mediatek: cmdq: add cmdq_dev_get_subsys function soc: mediatek: cmdq: add cmdq_dev_get_event function Bibby Hsieh (10): dt-binding: gce: add gce header file for mt8183 dt-binding: gce: add binding for gce event property dt-binding: gce: add binding for gce subsys property soc: mediatek: cmdq: add mt8183 compatible name soc: mediatek: cmdq: move the CMDQ_IRQ_MASK into cmdq driver data soc: mediatek: cmdq: clear the event in cmdq initial flow soc: mediatek: cmdq: add packet encoder function soc: mediatek: cmdq: add polling function soc: mediatek: cmdq: add cmdq_dev_get_subsys function soc: mediatek: cmdq: add cmdq_dev_get_event function .../devicetree/bindings/mailbox/mtk-gce.txt | 33 +++- drivers/mailbox/mtk-cmdq-mailbox.c | 18 +- drivers/soc/mediatek/mtk-cmdq-helper.c | 202 +++++++++++++++++---- include/dt-bindings/gce/mt8183-gce.h | 177 ++++++++++++++++++ include/linux/mailbox/mtk-cmdq-mailbox.h | 5 + include/linux/soc/mediatek/mtk-cmdq.h | 61 ++++++- 6 files changed, 439 insertions(+), 57 deletions(-) create mode 100644 include/dt-bindings/gce/mt8183-gce.h -- 1.9.1