support gce on mt6779 platform

From: Dennis YC Hsieh
Date: Thu Nov 21 2019 - 04:14:24 EST


Support gce function on mt6779 platform.
dt-binding: gce: add gce header file for mt6779
mailbox: cmdq: variablize address shift in platform
mailbox: cmdq: support mt6779 gce platform
arm64: dts: add gce node for mt6779

Refine driver to support stop hardware with safe callback.
mailbox: mediatek: cmdq: clear task in channel

Inorder to support mt6779 client requirement, add new helper functions to
enable more hardware capability.
soc: mediatek: cmdq: add assign function
soc: mediatek: cmdq: add write_s function
soc: mediatek: cmdq: add read_s function
soc: mediatek: cmdq: add mem move function
soc: mediatek: cmdq: add loop function
soc: mediatek: cmdq: add wait no clear event
soc: mediatek: cmdq: add set event function



Dennis YC Hsieh (12):
dt-binding: gce: add gce header file for mt6779
mailbox: cmdq: variablize address shift in platform
mailbox: cmdq: support mt6779 gce platform definition
mailbox: mediatek: cmdq: clear task in channel before shutdown
arm64: dts: add gce node for mt6779
soc: mediatek: cmdq: add assign function
soc: mediatek: cmdq: add write_s function
soc: mediatek: cmdq: add read_s function
soc: mediatek: cmdq: add mem move function
soc: mediatek: cmdq: add loop function
soc: mediatek: cmdq: add wait no clear event function
soc: mediatek: cmdq: add set event function

.../devicetree/bindings/mailbox/mtk-gce.txt | 8 +-
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 10 +
drivers/mailbox/mtk-cmdq-mailbox.c | 85 ++++++-
drivers/soc/mediatek/mtk-cmdq-helper.c | 182 +++++++++++++-
include/dt-bindings/gce/mt6779-gce.h | 222 ++++++++++++++++++
include/linux/mailbox/mtk-cmdq-mailbox.h | 7 +
include/linux/soc/mediatek/mtk-cmdq.h | 77 ++++++
7 files changed, 573 insertions(+), 18 deletions(-)
create mode 100644 include/dt-bindings/gce/mt6779-gce.h