Mediatek MT8173 CMDQ support
From: | HS Liao <hs.liao@mediatek.com> | |
To: | Rob Herring <robh+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com> | |
Subject: | [PATCH v7 0/4] Mediatek MT8173 CMDQ support | |
Date: | Mon, 23 May 2016 20:23:06 +0800 | |
Message-ID: | <1464006190-344-1-git-send-email-hs.liao@mediatek.com> | |
Cc: | Daniel Kurtz <djkurtz@chromium.org>, Sascha Hauer <s.hauer@pengutronix.de>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <srv_heupstream@mediatek.com>, Sascha Hauer <kernel@pengutronix.de>, Philipp Zabel <p.zabel@pengutronix.de>, Nicolas Boichat <drinkcat@chromium.org>, CK HU <ck.hu@mediatek.com>, cawa cheng <cawa.cheng@mediatek.com>, Bibby Hsieh <bibby.hsieh@mediatek.com>, YT Shen <yt.shen@mediatek.com>, Daoyuan Huang <daoyuan.huang@mediatek.com>, Damon Chu <damon.chu@mediatek.com>, Josh-YC Liu <josh-yc.liu@mediatek.com>, Glory Hung <glory.hung@mediatek.com>, Jiaguang Zhang <jiaguang.zhang@mediatek.com> | |
Archive‑link: | Article |
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help read/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.6-rc1. Changes since v6: - remove task waiting list - remove cmdq_command - use kzalloc/kfree instead of kmem_cache - use u64* instead of u32* if suitable - shrink some code 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: suspend/resume protection .../devicetree/bindings/soc/mediatek/gce.txt | 34 + arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 + drivers/soc/mediatek/Kconfig | 10 + drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-cmdq.c | 1062 ++++++++++++++++++++ include/soc/mediatek/cmdq.h | 197 ++++ 6 files changed, 1312 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 -- 1.9.1