From patchwork Fri Sep 27 11:42:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bibby Hsieh X-Patchwork-Id: 11164407 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 480D817EE for ; Fri, 27 Sep 2019 11:44:22 +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 25F8F217D7 for ; Fri, 27 Sep 2019 11:44:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LuxJ9mzq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25F8F217D7 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+patchwork-linux-mediatek=patchwork.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=qGKGM9ABFpxMwc1k/Hoi/LxKGWjQZw/GRwXQP4KWoD0=; b=LuxJ9mzqVHON2J nquvtS62sh0AgYky96NT1IC/IDMr4htA668WOrn8Ng8bKPBMB85jFSQoNJMuE5+qp5MpLY9VtFrBP NG63PwZPsNB3KotsQW8ESQd0W+JF8w+EN3A4KmoLM+sAS7GRE1wIQoPGCIZATGRbH8eUKE/lGZ1Zu QDtoe2BQAQpqXAeqoDUssDZLH38q8KpAA5EruOrrFBUOQnzlTJNcPiFWOS16ozbTiGK1xADNZoi80 3D/6K97osxpZOwF2EQ6ULKipLmTkY9Gn+/KhrNkkw3CqrgLgEDP5UiTxZRAK6VVcXHoPHQnQTw0/q jtOlwpQwYL2QdKHfmN2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDofd-0003PQ-5t; Fri, 27 Sep 2019 11:44:21 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDoeY-00029R-PK; Fri, 27 Sep 2019 11:43:16 +0000 X-UUID: fa0b7e88deaa459fa06ff08709652305-20190927 X-UUID: fa0b7e88deaa459fa06ff08709652305-20190927 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 709927065; Fri, 27 Sep 2019 03:43:03 -0800 Received: from mtkmbs08n2.mediatek.inc (172.21.101.56) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Sep 2019 04:43:03 -0700 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Sep 2019 19:42:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 27 Sep 2019 19:42:54 +0800 From: Bibby Hsieh To: Matthias Brugger , Rob Herring , CK HU Subject: [PATCH v15 0/4] support gce on mt8183 platform Date: Fri, 27 Sep 2019 19:42:50 +0800 Message-ID: <20190927114254.6258-1-bibby.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: 69F61D636EC21C8CF41A70451593A224CA9CAB9BB80F96D5028C0530B46F1D532000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190927_044314_853415_97C2E7E7 X-CRM114-Status: UNSURE ( 4.64 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [216.200.240.184 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 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, Nicolas Boichat , srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, Houlong Wei , Dennis-YC Hsieh , linux-mediatek@lists.infradead.org, Bibby Hsieh , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Changes since v14: - change input argument as pointer in append_commend() Changes since v13: - separate poll function as poll w/ & w/o mask function - directly pass inst into append_command function instead of returns a pointer - fixup coding style - rebase onto 5.3-rc1 [... snip ...] Bibby Hsieh (4): soc: mediatek: cmdq: define the instruction struct soc: mediatek: cmdq: add polling function soc: mediatek: cmdq: add cmdq_dev_get_client_reg function arm64: dts: add gce node for mt8183 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++ drivers/soc/mediatek/mtk-cmdq-helper.c | 176 +++++++++++++++++++---- include/linux/mailbox/mtk-cmdq-mailbox.h | 11 ++ include/linux/soc/mediatek/mtk-cmdq.h | 53 +++++++ 4 files changed, 224 insertions(+), 26 deletions(-)