Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1198918rdb; Fri, 9 Feb 2024 13:33:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGeWhwNHqayCm22EwGReoN4JJTAsQY9Iy+pOquGslV2c2b9AhtIAW5hFtCTbd/DM7YnWpr X-Received: by 2002:a17:906:4750:b0:a37:5bf7:f64a with SMTP id j16-20020a170906475000b00a375bf7f64amr192016ejs.41.1707514386028; Fri, 09 Feb 2024 13:33:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707514386; cv=pass; d=google.com; s=arc-20160816; b=QNUCwz4bcZOjvMZzwamUcCh+OB34L6DiU0VCK/PSklRih8OhjbLanUHGcK9k70VI63 iTnxUNUse0jpwRik2TPp6+NF4WHl+m9Cs+HqvATOfpGDKEQXVCozqCwv3bOd93TBtH8a 6nFD0bGIkF3zmKGFXowDvhogqIDS42gE+RRdd71N4smUjP/BNtflefWvt8+U3zLJkGkJ PFAGaYQRV8+kUoAroJmmiZ7FaYq908Jyzkv0uBLsU1UBrYuh68JKPOZaJEpPPtq4IO1Q Bnu/bpVkQ1W+2gs5HTOiF5bkvw5gOUVDqtB5/cDmW9cs9ealI0CHsDNxnx1MYotmEkl0 R+xQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Os4qev7suud/YhIU9+WIu+rwnop6A4JmpVMTfm/Akss=; fh=iBebhzX4kQH10gZSKdj3nZ2DVTMKOt7Dd0uI47rVNno=; b=IF9QhNvONoEbaMC4HNZtIUuJ7hn8BcIWHd5lJWAyQ2omAnNWQPmRMSqmjDNoIGMG0A 7n6TvLrORVcdHk/FlMCmAmX8horawzr3dVS1anNPg88ux+Bpos794SzB5bCgxjSFQgyK XRXBwQSXR2vXjlcd3uJ3UVyUaJCNIyi0oiHlVMaXiThEhvI6VP8Jdy3lAf/TeUSxK8ot nDdqSbXpk3fFJxoA6ytj+SPfSglIELhgys/9e0L8qr/jCfdhlf4AedN3fHOUIL5itIB9 LfbuU8YAioEP91URdphamnPkH1Ia/ELUpx2tA6+U9i4tp60G7W8ZUqF0F4qUM4LIeAqD xgog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GCxS7Vgq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-60035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXVIgFvwcxoUdTyAurHenAogB3a2peiTwo7p8Nu0w/zB0jomgkpgk+oxnCdztoCDXeov1Evng5KLgr2o0qJfRD6Ew4mqK+Qpcq6Rnu4kQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l26-20020a170906231a00b00a384ecf66e8si1198776eja.406.2024.02.09.13.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 13:33:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GCxS7Vgq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-60035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 94FAF1F245BD for ; Fri, 9 Feb 2024 21:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D590F21344; Fri, 9 Feb 2024 21:32:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GCxS7Vgq" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CF5B63B9 for ; Fri, 9 Feb 2024 21:32:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707514366; cv=none; b=MPF0pI89ONlPmF/o86W1SIAcglTaeh56snIvAW043JU7xLF4+Pxin+H45RlPnp/XJCOIWkMglZ0VDHDKMzCy8w7MEeDeP05Q7gky9JalewgPG31kYO22RR255PoKPpX788QIU9qvoVVHz/DOfNco6K1+aKprA6Xp9mea+VVz0u0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707514366; c=relaxed/simple; bh=a/rfzEuG68F4hVzPWsbBZz985hkKHCcZB5qg38jjQIs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Mu3sIM5bTtEqs917T9PhL+ggKRPTYQ2TRpAyk3l9ns8AFlTFvq5tpBygztVSbrLIARW/B82/r9u+p1cOoMzCPO/FfPmtCljHm6F3Ky9OlMSHqXlDozMA0AUZr6hZZZ4UwDMkrHQPs66+JXeAgmdw62MeccITtPLYKjG90bgCN9I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GCxS7Vgq; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so2029467a12.2 for ; Fri, 09 Feb 2024 13:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707514362; x=1708119162; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Os4qev7suud/YhIU9+WIu+rwnop6A4JmpVMTfm/Akss=; b=GCxS7VgqxxYdlSCa6qmGW6D8y9penNarHsv7rrIt5/UrIS0IHr6KHIdprT78AejYcz cawifFHBgjviirlYnv7whjEB2QWeXy2fcDWk1LC+abD96AJSMfBjKpWIh4YFbRo+9nW5 zIPwUFgunDyidEJqZ2fJofoXCLI61Mql9xMlgNjBt8BSyUfPfu/ag8hkEu+b64LStSX4 1wnHnaf9OxGvilUjzkgibc53xxZvcjuFsHQZCekULjqrYQ9gv6XELhcHYnaqeUBICF8R cFKVamC3+O7M56L91GLociyPEtjceti19TtDAe0GsYYz+XQiK8fCt36x90BippX3wYqd C3GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707514362; x=1708119162; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Os4qev7suud/YhIU9+WIu+rwnop6A4JmpVMTfm/Akss=; b=YCzDqL2s0UpTTB6ABX6sIdehDy6Qkj2tXiDp+Cs9ZOFajFIw5avwbJ4phIALqy55b5 3BIX4gb/zATKOfffO1FTH+4/bKjcJebIvN/L6mJIpOoHtdzL9Vn00Nw/adQgz7itjeZj SaJOs9WFlsbpfi2QIkEHXaOWeqjcFbe2D0gllScjq3fAf0SJ+XkksxZEOewVBL1+b+ju bstHkLAoh/gz8sSHyyR9XLbqJ2wqrXsCnbRihiq3J+DeBwbzbFOJ+uznhSgifNGg6Sne x1bOpgebN0kxLpI7LADIq/Qn1jUNvR7nIfz4bgli/JfzdNsOCQUs6UYkLpuQQ8vdRnNX 9W2g== X-Gm-Message-State: AOJu0YxDXYHumjcCtYCfLoS6ZxJSJJKyalnr3JhDZy1l6EawzBCUFWed WZ5NM5CcG91MkcT3BlwZG5AT8hFI+VyHZUaEEP/UXSai+Svbl/zmaWJaaHCiPkw= X-Received: by 2002:a05:6402:1295:b0:560:c9b5:c440 with SMTP id w21-20020a056402129500b00560c9b5c440mr99184edv.11.1707514362412; Fri, 09 Feb 2024 13:32:42 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWhM7Wv3B0b9S5Gg/kpkf8Zyy6sMDXu1ZgzNUyTGzK49js1OjK6ncpS4CI4LVbb573p1dvototMWqikdLS+JAaLWAwLtKAddE5qoVXzPaTV6g3SQSBZHG7akvcu7Txw3akiQZn9DRdyg2vq6lJUoeykfivHoYJ65I0Tw/PH7cSOMiJVode4vbNzjhmT79A73gmcx1OgeUZmcSY2uiSbS6R9wUtrdtH4pTTNUMg/Zxiby1ou5Ae43fvq9PqjadAx8BMc9ElOrd4vaqsBtqeod/EPbwDFKAz6gsyoCL0g3YNZOYLa7cPGzxBfymdKTVSJhsYkgZ0I7HwnUJoC+mvjSrhbblPJ5kgt7D3dyJvWDp6PecFX0gSOwJePVom3f6JWNGf1/Z2DPfa3XfUUV2ZDXGKDIjdA3qIUSzzv1kiNdOuV/EuKEMp5Iu2gtUGVi/1FIzxJjSwSWV0unin+mz0VCrir7OznnZbVbtO0g3MOi6w60QC+zBlh5ilnOD83A6F55zhW85i700tT6DhfrWH4C/ADDEBwz3n5DHyi49hNZsOvmv9w7/LLje6t6njem+UHqU+O/u0IK+EkJvYqfQ9brvFNVFUcw2Y6QCcYIVL3OllINFskkS0SnOoDss4Y8yxDZWZtMFCW4xtW9SbbVctxcKpci0SB0dyOfhYIi+BMATmuxUsnQDHSuILaux9ZMB5ky+1EOjKHW6pxAVtcBwthn6da Received: from [192.168.192.207] (037008245233.garwolin.vectranet.pl. [37.8.245.233]) by smtp.gmail.com with ESMTPSA id dm24-20020a05640222d800b005607fdd90b8sm114567edb.23.2024.02.09.13.32.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Feb 2024 13:32:42 -0800 (PST) Message-ID: <5e71d9d2-0115-4359-9502-b1cb462c10fd@linaro.org> Date: Fri, 9 Feb 2024 22:32:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/8] arm64: dts: qcom: msm8976: Add Adreno GPU Content-Language: en-US To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Krishna Manikandan , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240121194221.13513-1-a39.skl@gmail.com> <20240121194221.13513-7-a39.skl@gmail.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3ohAo xL2Ug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URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240121194221.13513-7-a39.skl@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21.01.2024 20:41, Adam Skladowski wrote: > Add Adreno GPU node. > > Signed-off-by: Adam Skladowski > --- > arch/arm64/boot/dts/qcom/msm8976.dtsi | 66 +++++++++++++++++++++++++++ > 1 file changed, 66 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi > index 2d71ce34f00e..765c90ac14cb 100644 > --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi > @@ -1068,6 +1068,72 @@ 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"; > + > + clock-names = "core", > + "iface", > + "mem", > + "mem_iface", > + "rbbmtimer", > + "alwayson"; > + > + 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>; The entries are misaligned property property-names (and without a separating newline, please) > + > + power-domains = <&rpmpd MSM8976_VDDCX>; > + > + iommus = <&gpu_iommu 0>; > + > + status = "disabled"; > + > + operating-points-v2 = <&gpu_opp_table>; > + > + gpu_opp_table: opp-table { > + compatible ="operating-points-v2"; > + > + opp-200000000 { > + opp-hz = /bits/ 64 <200000000>; A random downstream I took has: 19.2 MHz 266.6 MHz 300.0 MHz 432.0 MHz 480.0 MHz 550.0 MHz 600.0 MHz > + opp-level = ; you want required-opps here instead Konrad