From patchwork Wed Mar 29 19:41:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 668332 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C502C77B62 for ; Wed, 29 Mar 2023 19:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbjC2Tm5 (ORCPT ); Wed, 29 Mar 2023 15:42:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbjC2Tm1 (ORCPT ); Wed, 29 Mar 2023 15:42:27 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31C272B2 for ; Wed, 29 Mar 2023 12:41:57 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id g19so8533984lfr.9 for ; Wed, 29 Mar 2023 12:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680118895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ykHu1N0QA0KbQgqKmp4iYs60SgO58M86USHwgilqjAU=; b=zXKVvzm7+gptevuGO6qYwmOY4seMNTQV3+uKlb0CTKR+sHqFoWJC9NQmQejRWqZr2N dJAutTnIOdi4WsEhAc2v6x8exXeKRNl05ywZmM5eZaeTu2bvlFvODxIDOou6ND1lj52d FtzmJlL8t/K3s4Q8WJsDAxA5y6o2OYImK/WNMohQJN9lEPlbmKzmkkrnbhqzjCx/uc7c FgFcw1W03hV5OxRsjUkbuk9BhQOQS8VIpR5rtuWynG+gYXG6WK6DLwTcTuPBDhbDBb++ 8Ho6OrP2r424V1NeswL4gxOI8VIwchCWD4MIsw9sOghmkv4afNeB7nuHvj8U9FvmDXPj wu0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680118895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ykHu1N0QA0KbQgqKmp4iYs60SgO58M86USHwgilqjAU=; b=rv/4gYJwv0O2rrJkCl6rXjx2asqU/RG2OrJJwPmGAF2e86TnJx24CQ69poa8Jbrnv8 0RmWXmhg6beMkQSNZc2ZaT5k13lyT/4N+fXB4Ejd6bKP4Iye2oKdsfvle5NTMVCivV6t JMa+eXQzKfx7s7x0gP/To+fT9PrGrmve7WQ0aGKtffiGfFPtvEwQQ1V9ZE+nKYIb8h19 KPQvauO5HLlzAF3IrdFUh52zavFZTmAyg1s619I8/jPFydSe5K40urAAm7LPzIPMtdIz s/MAttlibvb15oulyU1mdw+Rr7lV9wxBy4Vi40LhqTne/3r3hFIs1aodnYn2Cu4K/Koo TZtg== X-Gm-Message-State: AAQBX9el74qt3hjssFvzlSCQhsGg3H1CGuttTn1VPFkc7dNR+e3atAlv vkn/WoFyqw57f8s9q9fdgmstIw== X-Google-Smtp-Source: AKy350Zs+fpCyauDjpA0d7UdnA8149+V0M6WzzJq0t3ODHhQN0hSeTShjXCCqEs0AG5ic9PhtN/LCA== X-Received: by 2002:a05:6512:38d1:b0:4ea:f632:17 with SMTP id p17-20020a05651238d100b004eaf6320017mr5758257lft.51.1680118895313; Wed, 29 Mar 2023 12:41:35 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id q22-20020ac25296000000b004eae672e96bsm3955048lfm.255.2023.03.29.12.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 12:41:34 -0700 (PDT) From: Konrad Dybcio Date: Wed, 29 Mar 2023 21:41:22 +0200 Subject: [PATCH v3 5/6] arm64: dts: qcom: sdm845-tama: Enable GPU MIME-Version: 1.0 Message-Id: <20230313-topic-tama_disp-v3-5-2b1567c039d7@linaro.org> References: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> In-Reply-To: <20230313-topic-tama_disp-v3-0-2b1567c039d7@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680118888; l=887; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=EFNtHZmvMdC4ApZTEPrYLo5YnWmwoerL6XLOxqQ6yh0=; b=3D5ayg1/ZL1GgMBC/Z/7C1rCO4woFMKdEAbVJMWXJuXLk8mLkFsWK2y6mZtFf4/jyvoNBNOTSZ90 y6SBeGV6CoPEBXInFa1KJ+s2Ju1BZOIbWycuJID3kh7DJN6QVIJi X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Konrad Dybcio Enable the A630 GPU and its GMU. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index 48916a3216e5..df8dd6e45a38 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -413,6 +413,19 @@ &gcc { ; }; +&gmu { + status = "okay"; +}; + +&gpu { + status = "okay"; + + zap-shader { + memory-region = <&gpu_mem>; + firmware-name = "qcom/sdm845/Sony/tama/a630_zap.mbn"; + }; +}; + &i2c5 { clock-frequency = <400000>; status = "okay";