Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1941952lqb; Mon, 27 May 2024 02:40:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXMGqSCNbwu5RMhY3PLPc8YVk/jA0ow6XWhQz2hL6tsWlNjr09QUetri37oI7zvAP3UkpHvmR1WuHSUUJhJS4syXikeRZoPJqMFmjGQQ== X-Google-Smtp-Source: AGHT+IEdIC2qzHnizqlOM90JNRj74B+5v5xmoCnbz1voRhC5GXo9NuyCWqaaXKYzVBkMgHur51Ov X-Received: by 2002:a9d:74c2:0:b0:6f8:ee74:e70e with SMTP id 46e09a7af769-6f8ee74e776mr2597435a34.19.1716802842325; Mon, 27 May 2024 02:40:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716802842; cv=pass; d=google.com; s=arc-20160816; b=SJkeGyNnU2G1IfvIMr9/on61qKS4bHRs4u/pYmMFvTOAn2JJEhMC1ybaYxOY5Ci5h1 lAWAatvFBBFxttChEcqUodaNexKoNnvpFown7QUML73+RL5pPvroEg2B7iQ9JNzc2U/1 2OObt3rFPUgSYgADMaAWbBwh9TgO69huH4B+iwgww667TXRFC+zk/teKOVdLBqbcd74Q nDxHKC26hVlui81RMp4+mGxU5dqEBiojVEiuKUCKq9YEW+7vsTlfr5Q1z9Td9/eUrrkY yUMGRCjwo1JSh84eGSjLm19FyoMu9UoP7hirYsv2kLDt6pfV3KdEEbm1BZXvbYaXdb7h WBTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=A1UfYEsLGokpLQhZdZnJqMvIQxIW+25ZqN5KV10/pss=; fh=GNNwvX+BEu7pJdfcoUitX1aqDgVdMo4W+JpGYy5VnKc=; b=qQvNQR5/VU6VKc5l3EskzqptnVLsO45g0rJYOBLYUqHGWq2Ip0mMDZ0jpv9NvxMpfN iWKAKwSVwCzFhMJB1tqLWZi8dkb7i4OmcJqZ/t18ccxnPQNqFoBE78QbZgT9Qnbe93in H9XjeiopdZtUMmH4sFyehM1tkCFwDoPZW7rRJY85Oc/Q7yGjNXgjeUQdJiL+8hOiiZhp akDVsh/+61uLBARvIlyS7RWaY5g8/nGtdCpGiCy+aAnJoHMR45ZtBK6BlTtzuu6il34O oLXlph5OdXa7/hx+95KGdVbnaPKNnqUEFPFr6KnqgLquzUOrg7Gx4+BMA4wqCoPWTCx5 +5ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ur6wXGsn; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-190357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822993739fsi5895174a12.614.2024.05.27.02.40.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:40:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ur6wXGsn; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-190357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E7C27281244 for ; Mon, 27 May 2024 09:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0F3B13C683; Mon, 27 May 2024 09:39:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ur6wXGsn" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A69F13AD0D; Mon, 27 May 2024 09:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802757; cv=none; b=CPDUAVCYouT7byScGakOnZEzlrvaSld6PT6sQuyDRgSL2x17ZqVmG5VKCB4VL+6q075+fVkB1DmcMbcUycOHswgITMq+ZFH8WUDdQUNryUl6IJEOsF0+td3yqoMPUI5gch3jug2Tj8jHY7pQFc+7oBeK3uroPt1ZSnCeDzgIW1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802757; c=relaxed/simple; bh=Q2u/g27bjls/di+Or+gNHb/H3YwXTAj8oy8HXh0H9UE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DILHabnToGHH/Ok5gDQHuWFRvryHykiX+qbcyDvnWomrZiKoBoWnF6RxqX+siD9ErM7XoTTVnALJmJTeRQ+AWZHajuFGnNLLorLr60+Rn9CUkovN+ZfMUan+gpzpHgyE/OwY/ueXh0wIe3LQyFgW1FsQ0bnBxSllyB0EgZ268TQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=ur6wXGsn; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1716802753; bh=Q2u/g27bjls/di+Or+gNHb/H3YwXTAj8oy8HXh0H9UE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ur6wXGsn0VGcFITfHnFT9w6tExhutj/M+wRTnG0nmsRXNaBRKDDzB/oYD1kREnvGQ Ml0yjmKmIzQ/4adS0XKlkG2uLDADAe7IbwJqDCRtnQWPhMI5JkTvTi+Cu6R9KL/UTh 3+WLWJo0v2rSOXEVzI9ACsuIx02PywDf5dMLhuLYhkq3657tx0rI65DylIL5GJSUTq 7TmbpsaTyp+mxZEaX9QU5ekEDWMqMLGC3P2sL9PKu3eQhDOch6FZiRB3UPKndxMUl/ 82VIT2MVuAU0rFqvuYEuh/m46K63z1PyTIyHFib0fWfu6+zG7YYxk4LkdzEuD91p9D JbFSe2dZJuR2Q== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 079973782113; Mon, 27 May 2024 09:39:12 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, mandyjh.liu@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com, jpanis@baylibre.com Subject: [PATCH 2/5] arm64: dts: mediatek: mt8188: Add Global Command Engine mailboxes Date: Mon, 27 May 2024 11:39:05 +0200 Message-ID: <20240527093908.97574-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240527093908.97574-1-angelogioacchino.delregno@collabora.com> References: <20240527093908.97574-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In preparation for adding multimedia nodes and power domains, add support for the two Global Command Engine (GCE) mailboxes found in this SoC. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8188.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index b4315c9214dc..06fa3b862c31 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -413,6 +414,22 @@ pwrap: pwrap@10024000 { clock-names = "spi", "wrap"; }; + gce0: mailbox@10320000 { + compatible = "mediatek,mt8188-gce"; + reg = <0 0x10320000 0 0x4000>; + interrupts = ; + #mbox-cells = <2>; + clocks = <&infracfg_ao CLK_INFRA_AO_GCE>; + }; + + gce1: mailbox@10330000 { + compatible = "mediatek,mt8188-gce"; + reg = <0 0x10330000 0 0x4000>; + interrupts = ; + #mbox-cells = <2>; + clocks = <&infracfg_ao CLK_INFRA_AO_GCE2>; + }; + scp: scp@10500000 { compatible = "mediatek,mt8188-scp"; reg = <0 0x10500000 0 0x100000>, -- 2.45.1