[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1538212903-14331-1-git-send-email-houlong.wei@mediatek.com>
Date: Sat, 29 Sep 2018 17:21:41 +0800
From: Houlong Wei <houlong.wei@...iatek.com>
To: Jassi Brar <jassisinghbrar@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Rob Herring <robh+dt@...nel.org>
CC: Daniel Kurtz <djkurtz@...omium.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<srv_heupstream@...iatek.com>,
Sascha Hauer <kernel@...gutronix.de>,
Philipp Zabel <p.zabel@...gutronix.de>,
Nicolas Boichat <drinkcat@...omium.org>,
CK HU <ck.hu@...iatek.com>,
Bibby Hsieh <bibby.hsieh@...iatek.com>,
YT Shen <yt.shen@...iatek.com>,
Daoyuan Huang <daoyuan.huang@...iatek.com>,
Jiaguang Zhang <jiaguang.zhang@...iatek.com>,
Dennis-YC Hsieh <dennis-yc.hsieh@...iatek.com>,
Monica Wang <monica.wang@...iatek.com>,
Houlong Wei <houlong.wei@...iatek.com>,
HS Liao <hs.liao@...iatek.com>, <ginny.chen@...iatek.com>,
<enzhu.wang@...iatek.com>
Subject: MediaTek MT8173 CMDQ support
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.
Changes since v24:
-move WARN_ON() into cmdq_pkt_append_command() from outside
Changes since v23:
-rebase on v4.19-rc1
-revise return value of cmdq_mbox_create()
-revise cmdq_pkt_create()
-add MODULE_LICENSE() for mtk-cmdq-helper.c
-adjust functions order in mtk-cmdq.h
Changes since v22:
-remove properties 'timeout' and 'thread-num' from device tree
-move timer from CMDQ driver to CMDQ helper
-move dma unmap from CMDQ driver to CMDQ helper
-config thread number in CMDQ match table
-remove reallocate mechanism and let client specify the cmdq buffer size
-let client specify the timeout time
Changes since v21:
-rebase on v4.18-rc1
-remove subsys code and event id definition from mtk-cmdq-helper.c
-add mt8173-gce.h to define the subsys code and envent id
Changes since v20:
-rebase on v4.15-rc1
-move dma_map_single outside of spinlock
Changes since v19:
-rebase to v4.10-rc2
Houlong Wei (2):
arm64: dts: mt8173: Add GCE node
soc: mediatek: Add Mediatek CMDQ helper
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 +
drivers/soc/mediatek/Kconfig | 12 ++
drivers/soc/mediatek/Makefile | 1 +
drivers/soc/mediatek/mtk-cmdq-helper.c | 291 ++++++++++++++++++++++++++++++
include/linux/soc/mediatek/mtk-cmdq.h | 133 ++++++++++++++
5 files changed, 447 insertions(+)
create mode 100644 drivers/soc/mediatek/mtk-cmdq-helper.c
create mode 100644 include/linux/soc/mediatek/mtk-cmdq.h
--
1.7.9.5
Powered by blists - more mailing lists