[PATCH v10 0/4] Mediatek MT8173 CMDQ support

From: HS Liao
Date: Thu Jul 14 2016 - 07:32:35 EST


This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used
to help write registers with critical time limitation, such as
updating display configuration during the vblank. It controls Global
Command Engine (GCE) hardware to achieve this requirement.

These patches have a build dependency on top of v4.7-rc1.

Changes since v9:
- rename merge_wfe to atomic_exec
atomic_exec should merge wfe (wait for event) commands and prevent
to suspend gce when gce starts to execute commands after wfe.
- merge cmdq_rec into cmdq_task since command buffer allocation for
cmdq_task had been modified to the same as cmdq_rec in CMDQ v9
- refine mailbox part in device tree binding document

Best regards,
HS Liao

HS Liao (4):
dt-bindings: soc: Add documentation for the MediaTek GCE unit
CMDQ: Mediatek CMDQ driver
arm64: dts: mt8173: Add GCE node
CMDQ: save more energy in idle

.../devicetree/bindings/soc/mediatek/gce.txt | 47 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 +
drivers/soc/mediatek/Kconfig | 11 +
drivers/soc/mediatek/Makefile | 1 +
drivers/soc/mediatek/mtk-cmdq.c | 987 +++++++++++++++++++++
include/soc/mediatek/cmdq.h | 179 ++++
6 files changed, 1235 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/gce.txt
create mode 100644 drivers/soc/mediatek/mtk-cmdq.c
create mode 100644 include/soc/mediatek/cmdq.h