[PATCH v2] support gce on mt6779 platform

From: Dennis YC Hsieh
Date: Tue Nov 26 2019 - 20:59:59 EST


Support gce on mt6779 platform.

These patches depend on patch:
support gce on mt8183 platform
(https://patchwork.kernel.org/cover/11255147/)

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 definition
arm64: dts: add gce node for mt6779

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


Dennis YC Hsieh (14):
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: return send msg error code
soc: mediatek: cmdq: add assign function
soc: mediatek: cmdq: add write_s function
soc: mediatek: cmdq: add read_s function
soc: mediatek: cmdq: add write_s value function
soc: mediatek: cmdq: export finalize 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 | 181 +++++++++++++-
include/dt-bindings/gce/mt6779-gce.h | 222 ++++++++++++++++++
include/linux/mailbox/mtk-cmdq-mailbox.h | 7 +
include/linux/soc/mediatek/mtk-cmdq.h | 87 +++++++
7 files changed, 575 insertions(+), 25 deletions(-)
create mode 100644 include/dt-bindings/gce/mt6779-gce.h