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: 669001 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 9F322C761AF for ; Wed, 29 Mar 2023 19:43:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbjC2Tm4 (ORCPT ); Wed, 29 Mar 2023 15:42:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbjC2Tm1 (ORCPT ); Wed, 29 Mar 2023 15:42:27 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B6F72AE for ; Wed, 29 Mar 2023 12:41:57 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id g17so21663918lfv.4 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=N+YgJ/zLdg/hT7PXrfseIRCoKDxezaey8KXLeN/rnawPCeZtTWZbvgy8XWLYDsxyBW C0apAc/CdvO6IWa9fRMpAW8Ie2NYh1xLVm3fxLk0XdpDFJyKMGEoI4Yi0LW3c511XPRA dIEGtaNisBQhLEbTfLf2L9DHby6YBLzElPQwsRs2J2xdYThw+Mxd44N8KufjytbFojX5 6kVQJAK8I0mFBK+qEHaoyPjL72p+jRfRU7l2TTA5ngHi2o83qua6l7P3QVJGSuDGIkPK u4539swb+7fFBkJDppOLJBOnHuLWq46hhh4j+rGpTwyWxKJhswvskAIYEXX6Drhjkh2/ m3Sw== X-Gm-Message-State: AAQBX9dndnXjiggHuQjQBqQFOEOgEevx2CIbbJQv5Ate1QdtK+zFAD2e Y7k3ZZYipSuavMr3A5pgk4dnIQ== 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: linux-arm-msm@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";