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: 13469933 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 CE9E6C10DAA for ; Mon, 27 Nov 2023 16:20:56 +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=DZ/Ad63kb6SBliGjJp/FovJhvlGbUWESISgLfD4Ew50=; b=w2okzHKWglR805 ZyvNeIkcHLSGh5utKCAkZedVhftDlByiHfNCfi5E+vg1FoHQY2wJiIrAQBpOMSDsODppFYaKAMok/ ZF7TBh/tU3xmNM+haTlgAsFB/dd5Px8FNnb4PUe2sLu/hFxWA6MIQ9CyR9/J/N/sPO8MitfeLMqx+ DAWvjYNC5O8UMpD/wVWKEVckPZE3WxQhnwE0q5RIbEg0eNn4MXC8uXjmPZ/XieyYvF7UGFYtmzK2B v/W2x/I0p5Vk8fXfwZhzqj7xkzgNqpqsDYgB2fgM/m5z0kVMi+YtlZcsiTwEJMhmaGOPrdfspmZcc PRPjc9kaM4RS1/vaINWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7eLR-002xBb-2o; Mon, 27 Nov 2023 16:20:25 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7eLM-002x84-2J for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 16:20:22 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50baa7cdf6dso2758834e87.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=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=tWgyzigPoAR+4Ex1d/u4hf1QcdRIIjXWN2uqL4LI7/Q=; b=LL1Yf2gAseDyvhR+pPBFv0wzpX7v2UEY/Aqy1thQTmOKv7my0TUhra3DzZTtyxNgLJ pSdelhlDfRM3xYdqnIAPetL0uhp9fmAxGpCPhgdEnyXIZefau+eeOd92C3O7JZZeFIeK gTY6oEslu8c+aH6vfuWnIwF0ioqfYFalrMwokFbsT0BFMrlRZisydDAt2qyTn2CPrDtO zNPO7DVxEZxbs52Pwhcce/eeDrYcT53STNHV1jeowWTZvR2MjkmWSNvh1ZKo1XfYTBdA bTrpLW9IwqacZfjjrJosHSNkPaj3wVNwj6YaYmW943uSpioSOtJaigJeNooooUYwP2Ak /lJg== 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=nDL2rxSXBTWCZCyekTIX9yZ5KaXkOtMloMDMY9nm09f7ZXJC0rehBsZ+du0kAgvZ6i pq8gGV4qPFzoGUm+jl/6G5ALKbfTTqDwBjjoFRMLg7P9lP6+f0qNcUW8IPbtPf3z+YH8 9T/AozwKock29T5MI7qp8UjkyWFUZ+iX5DulyyB0R5H7U8GY4mOK5kDZ3BXWtvyHAQwm TIoQbSka+BpJrHBrQckdIQqJaR+ix51S2sBevZhyOfv60YwuRBQCuW4ce8D41plJpi40 lznfHD8MK9BNBYICuE+5ziCopdSWRoIsVIGAFVYeU/TkRKVt6qeveTyxQY9H/OjABoYr rQdA== X-Gm-Message-State: AOJu0YzG4FnK2/aKlHKDl6g/TjKCiQMrh4d39lTw6br8h8t/6+WD5OB2 vcZjxWjnkHxq5mNwgPFE0TF8bcjz6ALCpgsWLx0= X-Google-Smtp-Source: AGHT+IGw6vE+zL9Gh3AlVvTWxBmVd6/TxfPV1VqdSfmuraUROfoqa4jJjxDQMuwiJbHnGCOXV3K0hw== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_082020_752888_7BBE798D X-CRM114-Status: UNSURE ( 9.86 ) 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. 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";