From patchwork Mon Nov 27 16:20:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 170273 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3260271vqx; Mon, 27 Nov 2023 08:21:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsm6T3N2IR82YnYa7Mc26hSXMfpBH9gwnI8o59PfRczbF5NovCxNpBNaGDSgmaxUqUiBq9 X-Received: by 2002:a05:6a20:3d0b:b0:18c:90f9:5084 with SMTP id y11-20020a056a203d0b00b0018c90f95084mr4636922pzi.27.1701102060447; Mon, 27 Nov 2023 08:21:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701102060; cv=none; d=google.com; s=arc-20160816; b=ksCGHPjXyPrO9F/ly1GqGCVaGHFuoWMqhacGybOCU3ukYOGtENCi5x3gptMJsbs5jW MljdPxxpleVWii9GiWThhUgMfGa7YrR+0uJCl1THnUhH1o+4hy0tHTFUj+sCSp3Rda7r U77AU2TAi2Gznv8UOhhtXczYBLrcwwsfnZCqWtPDdAY/MZjOhmaJbrfFonALBMbmGgOB Atww/dJY7Br7rgfjrQmzZhdqr+uxXzAHitnIFpzGjO2g6UeT9/P71M0j+R7e36g4Vixb 0Rmyg2951eMHAbUZsTZ/dVzyu1mRM2mLgwAx+A4C9hwaixvGxc2f5uz+rBamq7GbpTCo UpvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=tWgyzigPoAR+4Ex1d/u4hf1QcdRIIjXWN2uqL4LI7/Q=; fh=zzYSWXNBsU2oipz3/KLm28IOiO9aOMgcMqtn4vFvWpY=; b=yaTVzFYYDxls7S725eZqKFX02sCRTJwZEkH2cKQdh+h4YXJMp9iTxHGL+5KfJumhBL S4A3IvyBQgZ18tI9T+uftSovBs2HLS/poYjcnSjrSKoiet0+ZrHpLM0d7nSDPuORwv7K 0q3nhgVf+edKyC4cNCF5JBLWPIoY9InXfo47NBi0TvvTaQ4hkzXPZHVg27viNg9/R3MI pR7kw4s0FbFVfj2VWcwCSV0q9lRfALTJMCrdvR/atdRA9Q+j3eJwUH01XY09bguS2A6U b407HmfW3T568a9SRQSNkixVdsiPMyqmGMesx0Faz46Oyx9PqxJyx2Kn7/HQ3BMofrfw SViw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sXgLgt0T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id d35-20020a631d63000000b005b7c45afeacsi10096128pgm.630.2023.11.27.08.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:21:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sXgLgt0T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9427180785F2; Mon, 27 Nov 2023 08:20:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234009AbjK0QU1 (ORCPT + 99 others); Mon, 27 Nov 2023 11:20:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234057AbjK0QUV (ORCPT ); Mon, 27 Nov 2023 11:20:21 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE8B81AD for ; Mon, 27 Nov 2023 08:20:20 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c887d1fb8fso54851481fa.0 for ; Mon, 27 Nov 2023 08:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701102019; x=1701706819; darn=vger.kernel.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=tWgyzigPoAR+4Ex1d/u4hf1QcdRIIjXWN2uqL4LI7/Q=; b=sXgLgt0Tt2utyLG259t5GhGEzPL7cbmpSLdnHckF33cweMUA365Q/KTFlu4GcT2QWs /F7A9Gq40E5+BIYKf4fgdFyNmziWi8vcSmOIhGU/LE9/bJuQgL2X5J1F/L1POTN6sRc4 qGHizMMqRDFHMTFNZsYUAb229OrCAp9LGDGC4fHv64Gv26EaFAlHxWTVoIFnaBt0eV/7 bLOK1mBrR/UlRXn8SZFC4ofj/jxrPEH+ilU1NOkyoJPjlC8UA1kCPeyp/BTQa44ZsvLV K3Y8FaAMM3jMrexCYPGA7fiwSwUhSGIVyxylx88zT5h6Z9W4BM3ST7PRYT60jHympZ2+ ka0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701102019; x=1701706819; 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=tWgyzigPoAR+4Ex1d/u4hf1QcdRIIjXWN2uqL4LI7/Q=; b=luwYVwgjYBU2uswFJKHlmsLWnrpO6mF9qY6eNPx8WerM3lw8AKPwbaz4iVHr1SaNdk q+5TbpTgwI44smbt6VtdDND/EFXjAUzdEk0rv21KxEHb72Jm9HoK1d45OtGHMPoHj0sm BRxlHZ3X69TZEZUreizRN2T5F9gIUIjE4TyVzU5gF2uEj4HF5lwk3vmCxa88ycs/K53v YEub5Z30i7QyVQslgIxrJTl4TYc+6gW097sYBgFN57HnvPYWYQE20EKRMRjw+UZD9S1y RvxrW+Qvizfb2xtVXOA7rhJjgZ3lmJYhKZpEUTUduuC/vkoInszMuRY8dTGjVCCkh2aJ Tw0g== X-Gm-Message-State: AOJu0YyiMa1VyepLcC9QpFiNLYG2FBDqSiYZA7JaP9+REsdDwas2urLh uWullrllZ29kse5xD8NKEm5CFsU64qou2zZehuA= X-Received: by 2002:a05:6512:10c6:b0:50b:b504:996e with SMTP id k6-20020a05651210c600b0050bb504996emr1650818lfg.31.1701102018884; Mon, 27 Nov 2023 08:20:18 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id m12-20020a1709062acc00b009c3828fec06sm5734760eje.81.2023.11.27.08.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:20:18 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 17:20:06 +0100 Subject: [PATCH 4/6] arm64: dts: qcom: sm8550-qrd: Enable the A740 GPU MIME-Version: 1.0 Message-Id: <20231127-topic-a7xx_dt-v1-4-a228b8122ebf@linaro.org> References: <20231127-topic-a7xx_dt-v1-0-a228b8122ebf@linaro.org> In-Reply-To: <20231127-topic-a7xx_dt-v1-0-a228b8122ebf@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=1701102008; l=737; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WLJjkmxb1cqo6pbyXNVnfs/XlxQsP2z9isMMjjm728Q=; b=wL/heSXr/KYsRGVKMJh1kN+9cq9XComDpTkZuwSoUDRT8ZsOM9auMBIyT/xns5wFL6PAzP39X 1A+nIrskDvcDYWvIhBLe1YI+d5KvvBVn0Q2oWYv8VOh9s/r5sTCzt4o X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:20:39 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783734793886751799 X-GMAIL-MSGID: 1783734793886751799 Enable the GPU and provide a path for the ZAP blob. Signed-off-by: Konrad Dybcio Reviewed-by: Neil Armstrong --- 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";