From patchwork Mon Dec 4 12:55:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13478317 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9B42C4167B for ; Mon, 4 Dec 2023 12:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=77ekaCN22pmV/09NDl/rwOyyIN1Q5uZQbrAqRCujSMA=; b=XRaXEiQ4x+ZmDs QghqSgO7GjMsDP5E95OSxMbMZlOjj+U1Liu74wBHGkBWaw/SHNMiyb039/T18bhn3YKFxEmugDgfX wCS8WViuUt4Pw59RrDt0jEMQQ/Jb7ze6SaamCxjZOvnRcyR1udVyzfFb1A/N9J+GEa+LcdMMoPjAw jMysxNCnPDEW0RoWRgBkZ3050CeeN3JUBJ8N724TzFyXD+hgdJXnZN8fPjFHhR6JYZA6mzgNaYRwm gk2rn/5QEkk8zdSiDKEw1EOnl3dk3FcivXdpqfuUikw39Zxp8OGft5yEFoGulfLS3RykbNTMN4Pby 9ZGvmHBP88RPpATRw2ZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rA8UP-004HUx-18; Mon, 04 Dec 2023 12:55:57 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rA8UF-004HHT-31 for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2023 12:55:52 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a1a0bc1e415so362913166b.0 for ; Mon, 04 Dec 2023 04:55:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701694544; x=1702299344; darn=lists.infradead.org; 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=QF1YIXWEgPxBBuUeInrydPVHlwVtxwvmFaOgA3MM5Cg=; b=TQ8VsRjKIONarRkFV3ieQJ4NWwfBpYhjdsG9riRhR4KNzYjiwR9idkI2J2MHeAeo6E yjs2gfgpm1uJobJ/m0Wh9EEbE3RvveH5THm8d2LAkz+44etAsEGoHpuPdRO1kqas98qa rrbGETsDMWFJOcKRwKHUPOPLWI2UYhihbFiY0UMkh6pOtVqXIuLnoCfCQI2snyeudodq AI/wN1DQTMlxYw7tz2F98CYK69ElOi8dyFZiEYgnX11LRDi9Rw1OiATw5NE9CjD8IHXV xF1EH2oGhoEztrfYV2slR9oRIjputTjg7BpyMaFzOOzk2PAmMb3aLyLu355j/NAaQTV+ inMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701694544; x=1702299344; 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=QF1YIXWEgPxBBuUeInrydPVHlwVtxwvmFaOgA3MM5Cg=; b=G3f8+DJ1SIJ/roKPQvzmDFmVv0E0DeMCrT3+m2qOt2SGJ1Ubn7WHLMeLkYKhS8vKbp RemATrIMLhL691lW+n4IbVItU3JY3WRCxPaVTlduX/uoNVUWkSlvHx3GMTEn6TgEUSUg NH5ZaIzqL2rG0MVNMP+epkCTOIjAz3XXoVBfMRkPPyDnfRF0Wbvem65slWXCrOtHp4HI dpkSNbG0pvOrll/7fCA8rywZhzpRA9ngXTJSskpZ086Xsx16xaoBS/XajYf6dw5zFXrb ci7bAKEpYn+gPDCM5w0TFPQwEIpA2V/dG4yllpcEoj9jPlf/2TPaid6OupAd3k714kQX 58yA== X-Gm-Message-State: AOJu0YwqTjs2voQWu1llhc0aTF2W2e5A1GJVRy50yK89LwHGWEtvGh/B S6h3o//7he1YpGVQGCNqLwqTcA== X-Google-Smtp-Source: AGHT+IFeIYz1iO3KsYQ3qcBtBpS+Vd4YXm0h7XwncIOh9jeVwFbwFlOur3jXmcXfiTKrzIuS0d+soA== X-Received: by 2002:a17:906:748c:b0:a1a:4813:e833 with SMTP id e12-20020a170906748c00b00a1a4813e833mr3118246ejl.67.1701694544222; Mon, 04 Dec 2023 04:55:44 -0800 (PST) Received: from [10.167.154.1] (178235179097.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.97]) by smtp.gmail.com with ESMTPSA id ay22-20020a170906d29600b009efe6fdf615sm5241373ejb.150.2023.12.04.04.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:55:43 -0800 (PST) From: Konrad Dybcio Date: Mon, 04 Dec 2023 13:55:23 +0100 Subject: [PATCH v2 4/6] arm64: dts: qcom: sm8550-qrd: Enable the A740 GPU MIME-Version: 1.0 Message-Id: <20231127-topic-a7xx_dt-v2-4-2a437588e563@linaro.org> References: <20231127-topic-a7xx_dt-v2-0-2a437588e563@linaro.org> In-Reply-To: <20231127-topic-a7xx_dt-v2-0-2a437588e563@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: Marijn Suijten , Neil Armstrong , Dmitry Baryshkov , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701694533; l=794; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ijt3beGGSYLGoF3RtudvbmIRYSlskid0fUlPyla+S1o=; b=P8Y1u7ibWzTnMEQ9WLFkXk3Kn7plZq3rCoAPCAWZDO5x0/PeBqpACFWtPPlp84QwwtRGPBU0A 7DzHQ4qB8fDA9YJfk7dZm7zWziRoe9UMMtcZqfPkUhEnKIhNS8b4onq X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_045548_027812_F8AD9E27 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the GPU and provide a path for the ZAP blob. Reviewed-by: Neil Armstrong Signed-off-by: Konrad Dybcio Tested-by: Neil Armstrong # on SM8550-QRD --- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index eef811def39b..9fe51d308675 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -596,6 +596,14 @@ &gcc { <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +}; + &lpass_tlmm { spkr_1_sd_n_active: spkr-1-sd-n-active-state { pins = "gpio17";