Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2067093lqe; Tue, 9 Apr 2024 08:39:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMW7SjWOye4l8LKOa7M6Ny1L10Bo/F1MSb9IZ8c/wksyharIfSnJEw0gD67twjBViN8MyPCJn+fzwdl65qm3a5RpzjBzzy+tUmOQYjFw== X-Google-Smtp-Source: AGHT+IGYw2g89jsh9wINOHUE3vYuNpKkasuPaHZjRkGX9WoOluudesakuhBYCJJTUoNs2BjGqQqw X-Received: by 2002:a17:90a:e00b:b0:2a2:d16a:8df3 with SMTP id u11-20020a17090ae00b00b002a2d16a8df3mr10265841pjy.40.1712677141924; Tue, 09 Apr 2024 08:39:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712677141; cv=pass; d=google.com; s=arc-20160816; b=0FSuvfNvKIA8ysYurkFBNE88gnEyr0OCjAlr8jzipZL3THr6CxPT8Gw5z+xl9k3A5P 1d10leSKKfLAYpEZJQspockXhuPtexEpG5hkQiSWxJAZZIik6VhcWcHFwZIN9linFhyl VBtXA77o1u9PZ6KNf8KwKvCPBKqVw5M//YOdteRN06MBPHO+Gvpmvd/oom30xmvkHPuW 21xBH5aqH9R+DjwUDqnOJHQUPe953Be5tZ+4H3rDLxrrm+uhBHIUuU8dr44PGl25y0xN XExL7rZSDxgLtqhmpEOkioO02FxKLfEWZejnGw2RbGsl8OcdV/7dOghgLMcOIqd6bgKO aXIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jjsdEy1wvU30QZIVtQWbPKL9k2b9EgI7t7WEiG3lzbU=; fh=HkwlZ82GCTbbKBtm8H0MdBZYqUIbErRKbohHgWiB5H4=; b=dBJ32RgSIsUUg8wdnonCqRHYZPKJ+91Vlc4Lq9n/Ts+Ki64x5iF/VqkRTXEykSq2Nb V2jq+0xzcwSKscjRxCfn/sm5Vp9jOC2w2ruR9w4Erw5gBAbhzElfNhZoqNEPWARYptlq 6zxXCfRod2XyrWNiXtMI+m/pXJyC9Zuz1C10Psx1KJiyyDQBufmRYEFK+udctMq6nMvi z4KgmOiJyeF/HORCRl7BVraf9fUzsfTwv6b7JCNXtPx0y1HITvO3tf4RxJiYWQ40DI3V EO9qjfqlVW1s+wKJBudd7xBgHnm2LRRv2Vvt5w6CSf4CHK4g1IQUTILyS+QP862yU3c0 Tb1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C3zSK5SJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137217-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m7-20020a17090a4d8700b002a23cda1a8esi11038188pjh.19.2024.04.09.08.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C3zSK5SJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137217-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 6A5242835B0 for ; Tue, 9 Apr 2024 15:29:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F130513C9CB; Tue, 9 Apr 2024 15:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C3zSK5SJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1C30212F367; Tue, 9 Apr 2024 15:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676333; cv=none; b=d7hL8WmL0GXijOURg83+819LSX3cskog43ZtaYIBCgs/rOCyYEUJ9lGxwCy7+It5biqZjmYD0tWsIsTnddsKh3YhU0lKCBlbTzluHruZ6jiVWHotZ8wh2ivJ3LSWatIjPuI6XJLmFb/djepz8MEX49KFlENhSumXLSDZaFc/vnE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676333; c=relaxed/simple; bh=xkMdXfA590zFnkmRFUF8fT4qO4Xa0lPHjZzwaSSA/5E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uv+BZcrNZgodxEwaT4KmNGZGr7ggmutffvxJKVqzeEF79dYkvN3DNpxFUXTQSv5bTH8XfQF2aq9/er3CFnqdmRXa+69MrfklYWpl12jjJIcsBKxwvnkwXJwC3tfuy5MJ3AdomvRIP8v5dS9FOFysUlwkED3vvF6iMJzVB+9jIz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C3zSK5SJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA7DEC43390; Tue, 9 Apr 2024 15:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712676331; bh=xkMdXfA590zFnkmRFUF8fT4qO4Xa0lPHjZzwaSSA/5E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C3zSK5SJ9QuA33VEbDf0yFbofMeWSknh2WwFY2Od09HNW3Ilc0DhxDom1RJC1qHz/ MSWmigvbX/WDH1VNm4Fa3Kh4ATqzRQfA8vl9fNRpX3+ZSdABHCRekd2xovLeQyI3e7 0UIs6NNVUakdEUrK7AxiOLyIOI6R1mIFIwBbQzLfWZ+eJWy4LFsdmt8lHd0NN/isw+ jWRWxoYDA60mvHjDj/lf0q1rahoVkZI+cUKMKtmi3h60Z82/MdIzsPl7rh6U0GQXJN SX2SdN71UQE1MXrenzYuw8pv7YvYub0c8bREYjoKWTfZ0Ae4q///EeyFVzo5kPjOZy rKqtGXrXlsPog== Date: Tue, 9 Apr 2024 10:25:28 -0500 From: Bjorn Andersson To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] arm64: dts: qcom: msm8976: Add Adreno GPU Message-ID: References: <20240401172153.9231-1-a39.skl@gmail.com> <20240401172153.9231-4-a39.skl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240401172153.9231-4-a39.skl@gmail.com> On Mon, Apr 01, 2024 at 07:21:52PM +0200, Adam Skladowski wrote: > Add Adreno GPU node. > > Signed-off-by: Adam Skladowski > --- > arch/arm64/boot/dts/qcom/msm8976.dtsi | 65 +++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi > index 6be310079f5b..77670fce9b8f 100644 > --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi > @@ -1074,6 +1074,71 @@ mdss_dsi1_phy: phy@1a96a00 { > }; > }; > > + adreno_gpu: gpu@1c00000 { > + compatible = "qcom,adreno-510.0", "qcom,adreno"; > + > + reg = <0x01c00000 0x40000>; > + reg-names = "kgsl_3d0_reg_memory"; > + > + interrupts = ; > + interrupt-names = "kgsl_3d0_irq"; > + > + clocks = <&gcc GCC_GFX3D_OXILI_CLK>, > + <&gcc GCC_GFX3D_OXILI_AHB_CLK>, > + <&gcc GCC_GFX3D_OXILI_GMEM_CLK>, > + <&gcc GCC_GFX3D_BIMC_CLK>, > + <&gcc GCC_GFX3D_OXILI_TIMER_CLK>, > + <&gcc GCC_GFX3D_OXILI_AON_CLK>; > + clock-names = "core", > + "iface", > + "mem", > + "mem_iface", > + "rbbmtimer", > + "alwayson"; > + > + power-domains = <&gcc OXILI_GX_GDSC>; > + > + iommus = <&gpu_iommu 0>; > + > + status = "disabled"; Make status the last property of the node, please. Regards, Bjorn > + > + operating-points-v2 = <&gpu_opp_table>; > + > + gpu_opp_table: opp-table { > + compatible = "operating-points-v2"; > +