From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53EB8C432C3 for ; Wed, 27 Nov 2019 02:01:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 171AB2068E for ; Wed, 27 Nov 2019 02:01:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Tvos2oPN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="auqqwUkk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 171AB2068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=B9oDX6SIppmaYtsJq4HstXJTdY6jn6Ax03VulIK506E=; b=Tvos2oPNLlevXB 8BKZ2soNRJUDwEPeuJn5gK1SMDpyFw4mpmGVYMdKKqlgC5ey0viVDMLyqsc/lqSSaAV+8iCRE9qOX ng8R5fWkVWjLIWmkUOcBac4n1jZ6oWxz9k3wlo6w+09iwgdwDFuRo6zH8CSbMVIc3qX8zpFrmsTFq VsRSG37PKRdvS5p9YL67A76KICNxs00m8nU6s1OIseVkAgs3YjE5HmdLWw2bm7C2h5P387dyEU7gb Y1Z4MBVlk06e/o1YBv3IsfbS1SyJDJUXD5Al63i0C7zqdgIA0H9QC+huamAZDiKLF+xnFyJQM1njc SddNzxC++kI55rb83c9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZme5-0007js-45; Wed, 27 Nov 2019 02:01:33 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZmbw-0004Xn-4Z; Wed, 27 Nov 2019 01:59:22 +0000 X-UUID: 3fa41e89024a41faa7c465aab6eab1bd-20191126 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=xgQWPOCZyQy+pjAO4YlSup72JlwqCII8CwTVMie3F70=; b=auqqwUkkrfz+PnUt8tvmNp3rZFyQbaC7TP8wQ45tYB9oaezQJRe8Zo2Ko4NKzDy2tOSbGCu00CgAOC6rvaPpwDNM73amBYQE6UvHFLQOO4I6mgnXUXXLAFtNZIKFbX+Srmev0jtE2GFbdOtI9vAqEys5gEP03WE45Q9DPix5Qm0=; X-UUID: 3fa41e89024a41faa7c465aab6eab1bd-20191126 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1345099224; Tue, 26 Nov 2019 17:59:11 -0800 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 26 Nov 2019 17:59:18 -0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 27 Nov 2019 09:58:29 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 27 Nov 2019 09:58:18 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar Subject: [PATCH v2] support gce on mt6779 platform Date: Wed, 27 Nov 2019 09:58:42 +0800 Message-ID: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191126_175920_223014_7D7A5B94 X-CRM114-Status: UNSURE ( 7.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org, Houlong Wei , linux-mediatek@lists.infradead.org, Bibby Hsieh , CK Hu , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Archived-At: List-Archive: Support gce on mt6779 platform. These patches depend on patch: support gce on mt8183 platform (https://patchwork.kernel.org/cover/11255147/) Support gce function on mt6779 platform. dt-binding: gce: add gce header file for mt6779 mailbox: cmdq: variablize address shift in platform mailbox: cmdq: support mt6779 gce platform definition arm64: dts: add gce node for mt6779 Refine driver to support stop hardware with safe callback. mailbox: mediatek: cmdq: clear task in channel before shutdown Dennis YC Hsieh (14): dt-binding: gce: add gce header file for mt6779 mailbox: cmdq: variablize address shift in platform mailbox: cmdq: support mt6779 gce platform definition mailbox: mediatek: cmdq: clear task in channel before shutdown arm64: dts: add gce node for mt6779 soc: mediatek: cmdq: return send msg error code soc: mediatek: cmdq: add assign function soc: mediatek: cmdq: add write_s function soc: mediatek: cmdq: add read_s function soc: mediatek: cmdq: add write_s value function soc: mediatek: cmdq: export finalize function soc: mediatek: cmdq: add loop function soc: mediatek: cmdq: add wait no clear event function soc: mediatek: cmdq: add set event function .../devicetree/bindings/mailbox/mtk-gce.txt | 8 +- arch/arm64/boot/dts/mediatek/mt6779.dtsi | 10 + drivers/mailbox/mtk-cmdq-mailbox.c | 85 ++++++- drivers/soc/mediatek/mtk-cmdq-helper.c | 181 +++++++++++++- include/dt-bindings/gce/mt6779-gce.h | 222 ++++++++++++++++++ include/linux/mailbox/mtk-cmdq-mailbox.h | 7 + include/linux/soc/mediatek/mtk-cmdq.h | 87 +++++++ 7 files changed, 575 insertions(+), 25 deletions(-) create mode 100644 include/dt-bindings/gce/mt6779-gce.h _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek