From mboxrd@z Thu Jan 1 00:00:00 1970 From: HS Liao Subject: [PATCH v10 0/4] Mediatek MT8173 CMDQ support Date: Thu, 14 Jul 2016 19:28:49 +0800 Message-ID: <1468495733-12178-1-git-send-email-hs.liao@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Rob Herring , Matthias Brugger Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Nicolas Boichat , Philipp Zabel , srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Glory Hung , Daoyuan Huang , Sascha Hauer , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cawa cheng , Dennis-YC Hsieh , YT Shen , Monica Wang , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Sascha Hauer , CK HU , Jiaguang Zhang , Bibby Hsieh , Damon Chu , Josh-YC Liu , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi, 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 -- 1.9.1