From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753601AbcE3DUL (ORCPT ); Sun, 29 May 2016 23:20:11 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:54771 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752025AbcE3DUJ (ORCPT ); Sun, 29 May 2016 23:20:09 -0400 From: HS Liao To: Rob Herring , Matthias Brugger CC: Daniel Kurtz , Sascha Hauer , , , , , , Sascha Hauer , Philipp Zabel , Nicolas Boichat , CK HU , cawa cheng , Bibby Hsieh , YT Shen , Daoyuan Huang , Damon Chu , Josh-YC Liu , Glory Hung , Jiaguang Zhang Subject: [PATCH v8 0/3] Mediatek MT8173 CMDQ support Date: Mon, 30 May 2016 11:19:54 +0800 Message-ID: <1464578397-29743-1-git-send-email-hs.liao@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 v7: - fix one v6 bug and one v7 bug, which are due to rewriting for coding style - use flushing work queue instead of killing active tasks in suspend and merge suspend/resume protection patch into CMDQ driver patch - refine some code accroding to comments for v7 Best regards, HS Liao HS Liao (3): dt-bindings: soc: Add documentation for the MediaTek GCE unit CMDQ: Mediatek CMDQ driver arm64: dts: mt8173: Add GCE node .../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 | 943 +++++++++++++++++++++ include/soc/mediatek/cmdq.h | 197 +++++ 6 files changed, 1193 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