Message ID | 1592745731-14614-4-git-send-email-dennis-yc.hsieh@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=n8be=AD=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> 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 BC033138C for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 Jun 2020 13:38:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 73CE220716 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 Jun 2020 13:38:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MwXNNC4k"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HcsYvE9r"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="oriOEpQS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73CE220716 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-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=57/dNQ+EFAwvCSAwqdr/LuzImOjcqlPYg2ny5QSmTc8=; b=MwXNNC4kE3H/wAJW2DMqCCZnm Bj+HpRluZd3Er+onYuBvLh4CvqxB7jTP+exWLal5+XYbF8y1uMf0UEcvCTzFHN9zf88tn3ZD27JUw 87lWVnPzjAkvWoK6CIjWyHTYkoP+5ZUzoepZdCh3RJMVbEvbpeXMMNWl/MmPeItvUHg+/8sMB9NQQ sIXU0Vi39x1RFAlIWRz+3PF78eislvg6Dolis6dDbMNzY1eRCX7yfWCbh5AWo1e8Uvp/KxPZyPbRb pTs/9WjUrAoYludj7cbLR3ELAUs5wfOugDtedaDZ+d2NnpX8rIvBLZhZzQo68Peve6ydyOIcKhfJJ /Um1zpbZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnMb0-0004Bz-F0; Mon, 22 Jun 2020 13:34:46 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnLx8-0004ll-B4; Mon, 22 Jun 2020 12:53:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=3rvvFBdm5jN8tYlvL2WjSID0CHDQ80fY5OLbbB7MYi0=; b=HcsYvE9rTAAi5ekhYeTjCOJrss TEpnzhCSw7IVfXjsrGvFJZOzxJeG0kaygszeaYdyDfgXsSUgmtH0TQHnwpwxb8vH8jVI8a23olmeZ nT9q3ahQztWch6UfJKpS9LkU/D0rZzKSCQhKbL8YIh4nMssdMIV1RHa95k7CfNSFUiRcTDeDDrqog CRJ30ltfxbGiaItxootpcprXnkI5K1Tu0NB9dD9OaSmxx6waHoGYZKsvF1xZ25OtvJ3QW1mP9PA2E uI7D7Y0PSRla6xEtCOiOAToGFzytgL7WptagZDk5zXhZhLWagk0RK3BiAoJUy6xMOg1Csg0X+B5u7 3o+Q3tzw==; Received: from mailgw01.mediatek.com ([216.200.240.184]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmzwW-0002r3-GW; Sun, 21 Jun 2020 13:23:31 +0000 X-UUID: 3c44fcc6b4df41e29a7b6eb93b986380-20200621 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=3rvvFBdm5jN8tYlvL2WjSID0CHDQ80fY5OLbbB7MYi0=; b=oriOEpQSlutnGvjNTZ3mH5oIUO6c0a5UEJR+FPtPNEFT+WFKdjYB6VR9Y1LP1yZCT0QLMmZmPCxeyN33ja6mMqaAP3kKBJERRsKZkHBdd9fnxqmdVtj4wBu+2G4Htg6L9/RD5xNDkrNGQqN1+pV2diFw01imP09whfiIQcAkaFM=; X-UUID: 3c44fcc6b4df41e29a7b6eb93b986380-20200621 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from <dennis-yc.hsieh@mediatek.com>) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 942732681; Sun, 21 Jun 2020 05:21:09 -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.1497.2; Sun, 21 Jun 2020 06:22:13 -0700 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.1497.2; Sun, 21 Jun 2020 21:22:05 +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.1497.2 via Frontend Transport; Sun, 21 Jun 2020 21:22:05 +0800 From: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Matthias Brugger <matthias.bgg@gmail.com>, Jassi Brar <jassisinghbrar@gmail.com>, Bibby Hsieh <bibby.hsieh@mediatek.com>, CK Hu <ck.hu@mediatek.com> Subject: [PATCH v7 3/4] mailbox: cmdq: support mt6779 gce platform definition Date: Sun, 21 Jun 2020 21:22:10 +0800 Message-ID: <1592745731-14614-4-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592745731-14614-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1592745731-14614-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200621_142329_025907_15999A5C X-CRM114-Status: GOOD ( 12.28 ) X-Spam-Score: -0.4 (/) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-0.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.7 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org, Houlong Wei <houlong.wei@mediatek.com>, HS Liao <hs.liao@mediatek.com>, Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
support gce on mt6779 platform
|
expand
|
diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index 4dbee9258127..9994ac9426d6 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++ b/drivers/mailbox/mtk-cmdq-mailbox.c @@ -572,10 +572,12 @@ static int cmdq_probe(struct platform_device *pdev) static const struct gce_plat gce_plat_v2 = {.thread_nr = 16}; static const struct gce_plat gce_plat_v3 = {.thread_nr = 24}; +static const struct gce_plat gce_plat_v4 = {.thread_nr = 24, .shift = 3}; static const struct of_device_id cmdq_of_ids[] = { {.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_v2}, {.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_v3}, + {.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4}, {} };