From patchwork Mon Mar 27 08:36:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 75298 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1359123vqo; Mon, 27 Mar 2023 01:42:39 -0700 (PDT) X-Google-Smtp-Source: AK7set9YwUYdb8sJQLNl73/CbwbnOfAq6YFHi35ElQeZfE8EppWmsr1or3F5kUu1zUycklA1wMTn X-Received: by 2002:a05:6a20:30ca:b0:db:6d42:118b with SMTP id 10-20020a056a2030ca00b000db6d42118bmr11045051pzo.0.1679906558892; Mon, 27 Mar 2023 01:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679906558; cv=none; d=google.com; s=arc-20160816; b=YyHU0EVO1rfhss6Wonw/2UwMydt42mmr8AkHsLL4p9Kj3wS+V5vYYICeNoyHf/XyeE xchlZAZQjfuhjxGxuZnN40v35RJaUEKT5mSVMK3lXD1WAGR+Ip5/LzSrHK6HqeUJQqcQ ANX6v8ACx72IfUT6Z7BvdTrZHLcuxV0RhgOK+de2IDYQ+EylARf2Oa2/TJrxRWEVeM1H OGxVxTJqsmmZHCL5NsSWZ9vNAMph9D8nCEdeRxUU292FhvFSW+rWlSZMJjvTYP76bgFn pNNPDU4QL0J1LYgJ3yn1l3DoAPgNxMoGecdokQAjAxjuHn8dcbcTwxnCX/MOcdlQwpc0 mmYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ko1tkIvljQ+hiNqM+fv8WaKuqu0yP4amrfOkT2qbZqU=; b=MA96+oiH3S6N3hRBHFDViCIuqBnRCN5GHvMiMICsfgw6ID6JqHQ0LZ5Sr5wBwJeKLc xnH0/ckFwuwsv5d3OEN/5aVb19kJ++6WO6jfj1vrvIAfAzuqbma4HbEmwwR+mSIcVtul 0wpMsYGRuNjfSr67Fw8bE95v0Y3GaTXJH3CyDRCqRzHll/mUDc2n9O1ROuRCqmKMtLrg e6XdfyYBLI9aXLH7/J9ig5ZhybpDEebC9gsLqay7Tiy7J7hzqIYaUBkWb3AORmdBOnaU DMKY2rMV2BzFvcirOHOjaPv/w/p8MWoWm421D7vHbFiBWNhryfp0DPnfPW6B0PH5SNW8 metQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LqqVfRXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g4-20020a056a000b8400b0062877f63945si13238608pfj.1.2023.03.27.01.42.25; Mon, 27 Mar 2023 01:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LqqVfRXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233300AbjC0Ilv (ORCPT + 99 others); Mon, 27 Mar 2023 04:41:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233144AbjC0Ikf (ORCPT ); Mon, 27 Mar 2023 04:40:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C32D3C28; Mon, 27 Mar 2023 01:37:02 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 madras.collabora.co.uk (Postfix) with ESMTPSA id 733E16603100; Mon, 27 Mar 2023 09:37:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679906221; bh=zcA2d+WMjPM5RJNJ1o3VT548PHPHu4fUWaFnh1gs35U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LqqVfRXWiGbwWVy4dCj4KzTJgQmPL2YNkUedhvL6yqJM/vjCGym1kAdZFjxQwh2G8 ApWk7RN1V8sFjqlg8fnMyb1y/vmyiNSfY+bq4MavndbOPTr2IOl5afpajBCgB0tnm5 Z9AI/0qLaC92dywDh2SGdoukJlLEYZJhCI9NvAJweLXtlzBaF/sXp5e7KJ9zLmi7K0 Ls8lZp38/6R1Gozz2VwrEOGdvyDx2e59Oam1GV2pN0MqV4PzHSpT7+6ZGgn7+mZrU/ qQRuQnPw4MHAIQ0krN4lpt8brQO0dxLyhJ0d/Q/nSfq3FSGNNcyW2OVd9HCOG3ojSZ PaUVRt8nHEmkQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: qii.wang@mediatek.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, houlong.wei@mediatek.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno Subject: [PATCH v2 08/17] arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox Date: Mon, 27 Mar 2023 10:36:38 +0200 Message-Id: <20230327083647.22017-9-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> References: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761509699502196445?= X-GMAIL-MSGID: =?utf-8?q?1761509699502196445?= In preparation for adding multimedia blocks, add the CMDQ/GCE mailbox. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index d63efb32e6bb..0f903e8fe70f 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -401,6 +402,15 @@ fhctl: clock-controller@10209f00 { status = "disabled"; }; + gce: mailbox@10212000 { + compatible = "mediatek,mt6795-gce", "mediatek,mt8173-gce"; + reg = <0 0x10212000 0 0x1000>; + interrupts = ; + clocks = <&infracfg CLK_INFRA_GCE>; + clock-names = "gce"; + #mbox-cells = <2>; + }; + gic: interrupt-controller@10221000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;