Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1945284lqb; Mon, 27 May 2024 02:50:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMZ3OMtGON09LqSAc5ZAp7FRWKZAUV2mZZABQa/2JeF0m5iJTwSO9Z4wukIhCUnX6NGCRJOPLoWHK2CnogADwlXT9wB5noRZkK+Qns8g== X-Google-Smtp-Source: AGHT+IEtEiZdEoVJrNKs6sPkVgjCEDEMQroFzwaOU2XHU10sh/0UlWC7GLOsIDAL7w6WfrO2YCnz X-Received: by 2002:a17:902:e946:b0:1f4:5617:c9bb with SMTP id d9443c01a7336-1f45617ce8emr97812485ad.59.1716803446100; Mon, 27 May 2024 02:50:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716803446; cv=pass; d=google.com; s=arc-20160816; b=AEcfu3KpKBM+JocpnwcrRMJMqckzGU+e9kaw9qUXlIIbrlRvgypbCKodDzK+DIagAm wQYAZa4gQWAK3ysXeryES6tMEtti7cI7POcJX85nt82RRKCaQnlxBs12PHi302A0nMyB 87S59MS55rRXELUSE44y/7K7BpKr7Un0NzAKoOOKnD/0QQuoshx0gDrYpgashCEVjjVe B/X9zLZWBp5W6raIW6NCPdBQ06nX4GroqjR/fU22L9ynjrvAyB4EYjVXa3bmkOvSbAmd F6ENWe7vK7Uhy08OqLoiiGr21bu6/j3ALl5Z12H777D4UMD1YTt3IcEeMwNe0Rix3bSD zsIg== 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=E6DloPiefzm/qXqiNwYZs2huUAIrNESynKBgB03chFs=; fh=GNNwvX+BEu7pJdfcoUitX1aqDgVdMo4W+JpGYy5VnKc=; b=QkcsEbYf4aiRLNdBuDtIdEkdiaaEqEQqp86Kzdy0mWehhinY5IUyIpfIwN6fX6Fjle +3eH12NqdwNXy3CytnUhAElEM/Dk5JiWQn3KVzcgBh1ZuPfqiwJ3MEzWbjFJw72CIBMH gEUj4755tQI4EApf5lrvKEq+vBKB3hgrQCJ7jiRXLsLt5OdHFpkvUCEtsLqHBBJWJITG zT535kGiGDA4InGR3rKvnxXvxWJgrtFPVLlNEkD0/Ok71B6CXKsVdBIW7LN6d38Psdrw NrMNtCsndcuZR6ec8cP80ewDe0v18Lyt4IxbYr1+O4EfLWjs4Wb5l62ro1jPMNnougje Kdmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qe8BeP9Z; 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-190358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c788042si58221585ad.47.2024.05.27.02.50.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qe8BeP9Z; 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-190358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190358-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 18257B2406A for ; Mon, 27 May 2024 09:40:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAADA13C820; Mon, 27 May 2024 09:39:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="qe8BeP9Z" 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 AA82913AD3E; Mon, 27 May 2024 09:39:16 +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=1716802758; cv=none; b=gh4SjMjMQK/ImdGx/eQ9LLR4O8ocdpoOWZcXB3AxPop/ugRu4g167PtAECiCHEgTowdssGs259dYCyvbUC2pm970ViG2iZaduxf0+y2djw0vlBrqlNHIA0dj0qy4jPUN2y253ENL/INdISOaJZsNOPjahXmkIJcgFqMWSJPwvxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802758; c=relaxed/simple; bh=OiPBAFsu0z+fLHyKUPGOZVRQqVDS03RDPW95gydTYUc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=svbUmmU/QmGRwDcggNcO9b6qC8P4GZh/0XkzNySu+4BxIbOhzVSnrQBP/j+ZuLUK/hD4BROSQxMsFVeIXK2j801Hl/G7oNHOeiCvkJRc4xYtR/oNs5W645YnSQjLg9aKX4FF/BDkn7gatvZEkw6MXpaorJS5gfrJuUAabq1TNDg= 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=qe8BeP9Z; 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=1716802755; bh=OiPBAFsu0z+fLHyKUPGOZVRQqVDS03RDPW95gydTYUc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qe8BeP9Z5JJLAQoxQykrmznc8aBQZesyg1HM/YgTqwUcst8/PhQ7I7odtQoXtMsj4 qDxi8Nk8jM+DkkrXIkbWRhKq1S9d2JhoeKidroGU9mEn956Y72uEEx7R8HaOYCEBaq oyShpxJ4xtqV4mmoCpA7Ougqcr4c23yXOYQANU52B/uTr+doxsLyAmvBvbu6nPgnA7 Ikc6qrv+uTQtBrCmFqze+iWJgxxXWC9Ne1fq08hd49+tldwGJo1d9LVE8qwD565Zcd Lyf5zhkBgCurLFWodNdus1+7UOVU1Mc9oiXIcCR+C3F9ZvmqhaDjWmEPCX6fV5zQAI 23fc0X3ySr5Ig== 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 29CCA378212E; Mon, 27 May 2024 09:39:14 +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 3/5] arm64: dts: mediatek: mt8188: Add VDOSYS0/1 support for multimedia Date: Mon, 27 May 2024 11:39:06 +0200 Message-ID: <20240527093908.97574-4-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 Add support for the two VDOSYS blocks in MT8188, later on used for various Multimedia related IP, including display and video codecs. 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 06fa3b862c31..84f2809eae7a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -969,5 +969,22 @@ vencsys: clock-controller@1a000000 { reg = <0 0x1a000000 0 0x1000>; #clock-cells = <1>; }; + + vdosys0: syscon@1c01d000 { + compatible = "mediatek,mt8188-vdosys0", "syscon"; + reg = <0 0x1c01d000 0 0x1000>; + #clock-cells = <1>; + mboxes = <&gce0 0 CMDQ_THR_PRIO_4>; + mediatek,gce-client-reg = <&gce0 SUBSYS_1c01XXXX 0xd000 0x1000>; + }; + + vdosys1: syscon@1c100000 { + compatible = "mediatek,mt8188-vdosys1", "syscon"; + reg = <0 0x1c100000 0 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + mboxes = <&gce0 1 CMDQ_THR_PRIO_4>; + mediatek,gce-client-reg = <&gce0 SUBSYS_1c10XXXX 0 0x1000>; + }; }; }; -- 2.45.1