From patchwork Thu Feb 29 19:44:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 208498 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp638324dyb; Thu, 29 Feb 2024 11:45:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2jo2TaCbGfDs+Fee9iSO7pHr7jUxFnUJQed+9px2sozPnrPM0VJWr5R4x3YnO/2F1GeQr0iOcutl8IZSS/++HmojnFA== X-Google-Smtp-Source: AGHT+IE0SGLPIwf2Q9lFUvMJt6qy7Dk6j9tSCe8rah4ntPzQn1FflFpN2WV1aDO88TNjiwo1UCnm X-Received: by 2002:a37:e20f:0:b0:785:d64e:7165 with SMTP id g15-20020a37e20f000000b00785d64e7165mr2970796qki.27.1709235954099; Thu, 29 Feb 2024 11:45:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709235954; cv=pass; d=google.com; s=arc-20160816; b=QgOgo/XJ2TBWuQgLLS28MIZZ88sKi72y/X/IQnRAf7xW8Gytb2l4MzlvXpkJBDhX44 FDuusYwUmRgeXx81fTGHTZI1v4ON+yi5KbDpzLNUz3SeNEQe5I4wIu+d2bswo+IqAN70 qZcT6JGCZ0/U7rx2FeYO3rSHKL86c2QGH0n3ZY1w0mKQHueIrtci6oAVRffP+XKP/47X IYZlglwBaPEfdUGDjpNkNo016FiHrn9xb/XjkBsm2170JUaS7AOaOZZJOJFfyEjnB80c WQ7q8hcRrNPi6r/a2LR9z+daNIlxnRJn2f3QLJonYRPPwdkrJTPVt7dHrgajQCIomfJd x+hQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=MMm8Egc0i/uXXRHq7J2E/e5hrHjB5yo+K0ec+4m18oY=; fh=V/Jh6lWb/HrCh22NXFbfcMm/lKZWBDDRg8YUA7INWoc=; b=kcrLDaGfUr2w1XeQbUwAnyYMPtRxjzaotxLGQqbPAXD88NVxg63DqW+aqrGw+lABZM s18CByiie63v8o0Yo3rwYqRqallK4D8fM1eNjXjALIC5iH6hQJhEU205sH3F4bKkv/Jc tvFM3KGo6Irj6KzT2rJ9XZuXs/cKlCvncoqVk2O8fNYVTLIwdebZQ5vx+2GC3g8N5c5J GYPkH5TGYLyIMFYm4qnTgpTVkSonRTkfL5kZEKSJL6zxZW5l+MFpdFzECmHcQH7yKJR9 +BR8VI3l68Luyix51NNoZ1kF8DWAqBiLQoSayvSmza2FcoH0Ttkdg0P0F0OtiHJ/nwR+ 5c3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=u9Z5W72H; 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-87374-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87374-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w17-20020a05620a445100b00787fed15273si1497072qkp.548.2024.02.29.11.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 11:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87374-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=u9Z5W72H; 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-87374-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87374-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DD0761C20940 for ; Thu, 29 Feb 2024 19:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5FBE14291D; Thu, 29 Feb 2024 19:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="u9Z5W72H" 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 A25491428E0; Thu, 29 Feb 2024 19:44:55 +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=1709235897; cv=none; b=gRZxp/86BWBzKmpKxSALGHWm6SLz05fXuiGQtwZ4CMx2k6/ya11bkVw9PP7nSFjS6/JlcN+uZpdwVCYMG3BU42rDrDBM3lvZ4fUX1z6QqfMotS+ReDFTTuZ6HMkxWLMAP8v4o2WqP+UzJaqdw6h7S8qsmthqoV/+OMIPsz8izso= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709235897; c=relaxed/simple; bh=EyvPm0SXhcvriUDncncMFebQg0lQMcMsL/UTspQPx/I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=il3lmZj45Vm66MCgfwEmNC5THTzFJN5tnpVR07ofqQxBXIaymwFESJ9rBUHm90k8SXCsZarJmctbrtZRJRPKy7nbp73SVPx5vNodHB2FhtLvN2ASXHLOSinjcX0fuUS7tJxzr86MXhXo7H+yfyd32Fv/YDxITfoM1tjDC7rOcJo= 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=u9Z5W72H; 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=1709235893; bh=EyvPm0SXhcvriUDncncMFebQg0lQMcMsL/UTspQPx/I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=u9Z5W72Hfbqdc4elUBeUYU8z3Q7CvyoJ0tkniAgRzd2Jyc6YZmaGYlrObvcR9I8Fz lGfz5GHesiPMNEgb1TyiEoFhT8b37z2dN7GtAPddYLDb/yYsaB1wxwOrwfO1fCvWyH 0O8znoqy3Zu+gNkir+fMos8bu5lsPnti4RzTP+eEcfD5LrxRbs4N+e9HoYT247+Qd2 1+DaK8iZxDAeU93QVhXCUwidCQaJEPTqCpZe1q5JV5X/nTD02QEwQYAGYDhjC1O/zy 5+CivC5a6kc70UmJsMMqzaFDEAWNdOWLrFvv7gS6I7W8w21COc2RwYcbI0TP8v9Coj 6UjdJXAtpZd9Q== Received: from [192.168.1.200] (zone.collabora.co.uk [167.235.23.81]) (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: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 9554237820EE; Thu, 29 Feb 2024 19:44:51 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Date: Thu, 29 Feb 2024 14:44:29 -0500 Subject: [PATCH 2/4] arm64: dts: mediatek: mt8195: Add missing gce-client-reg to vpp/vdosys Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240229-gce-client-reg-add-missing-mt8192-95-v1-2-b12c233a8a33@collabora.com> References: <20240229-gce-client-reg-add-missing-mt8192-95-v1-0-b12c233a8a33@collabora.com> In-Reply-To: <20240229-gce-client-reg-add-missing-mt8192-95-v1-0-b12c233a8a33@collabora.com> To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Allen-KH Cheng , Tinghan Shen , "Jason-JH.Lin" , "Nancy.Lin" , kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Mailer: b4 0.13.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792263799783978495 X-GMAIL-MSGID: 1792263799783978495 Add the missing mediatek,gce-client-reg property to the vppsys and vdosys nodes to allow them to use the GCE. This prevents the "can't parse gce-client-reg property" error from being printed and should result in better performance. Fixes: 6aa5b46d1755 ("arm64: dts: mt8195: Add vdosys and vppsys clock nodes") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: NĂ­colas F. R. A. Prado --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index ea6dc220e1cc..f2912e1a0e49 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -2028,6 +2028,7 @@ vppsys0: syscon@14000000 { compatible = "mediatek,mt8195-vppsys0", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0 0x1000>; }; dma-controller@14001000 { @@ -2251,6 +2252,7 @@ vppsys1: syscon@14f00000 { compatible = "mediatek,mt8195-vppsys1", "syscon"; reg = <0 0x14f00000 0 0x1000>; #clock-cells = <1>; + mediatek,gce-client-reg = <&gce1 SUBSYS_14f0XXXX 0 0x1000>; }; mutex@14f01000 { @@ -3080,6 +3082,7 @@ vdosys0: syscon@1c01a000 { reg = <0 0x1c01a000 0 0x1000>; mboxes = <&gce0 0 CMDQ_THR_PRIO_4>; #clock-cells = <1>; + mediatek,gce-client-reg = <&gce0 SUBSYS_1c01XXXX 0xa000 0x1000>; };