From patchwork Mon Nov 27 16:20:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13469936 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 7B7C6C07CB1 for ; Mon, 27 Nov 2023 16:21:22 +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=3+JbBo5tFB2vJ9o8nQavH6qfSftBnFJeqX6WSvaHFs4=; b=O7Xdb5VgSOw1Ea zOEbTBUOFwwF1tHdHHr2AvCZhrHOtgdNBU8ZetK9lKvhwbT7Am7nt05M/7EZ1frpIQdCx7quUByWZ +o1hnesFWvJbrfRNcguvJd/KFMOMf1HKzkuIPxNLfKVYZhAmSaBONT9FOf0RLknVlCsQ7TTuujJ4F UaIAvwR8IZBCbgOTD4IAKGiYdnM9GymliTrgUo8khWomVnfBR2YeD2s5jg2wrS0XrEjZkAoAbEgeI hxHcGQiRM85k6DqMfHy8+BOtieatm6ESRzIjLeDqRtOFbWS5aSasG8i8nGpkuGv6HgFeZ7KY8LUzF dXy8lf6iItSktun0GSpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7eLr-002xRi-11; Mon, 27 Nov 2023 16:20:51 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7eLQ-002x9J-1j for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 16:20:27 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9ffef4b2741so595506366b.3 for ; Mon, 27 Nov 2023 08:20:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701102020; x=1701706820; 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=R+c7o+g11wQaVIfs6Upk57wmZsR4iWH52vbiNHzvWM8=; b=iA2Br5Y6I0gqmBTgRgrssoTpLl/PxiA1NOx5JMoHsP+PrzH5Wnhi9OB4E5IFuzRYyZ XZxclLRNeVZpvldp8MUdeE/IVydNj9A4cNe7OlAnDc0nUIbyheP4idyEK6NEnjqWD6GI fytMHzgaY3ItfNTMItIf0RczJD7Byd+/u9W2iQXXP62e2hIeS3akq8hphyBIzNfQyhqY LutovYfFOAyvcRrwsWf4UHdoHSm8xzq5NqAhk2T6v1e5mgjdn+pUx3bqnUTNJbw1g3v4 j9IyBcg71RS+4FTk6venWTDdW06wOxx3rYsn+fB+F1KPeStFJwXu3WXI4b87oq3E3098 Emqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701102020; x=1701706820; 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=R+c7o+g11wQaVIfs6Upk57wmZsR4iWH52vbiNHzvWM8=; b=agQfYYuW+I2yOGkDly6NpgaY5p1lLM+TaA1TlMlvj5hO9KAQhxGWasTxBnlS2Ydf9i ckGSSe/0R2HhvTp71XAIC9l08SQ+BRbd2sNCcrK+SNxg82ix/W2Tujvu9KSRbgWeBhRi IH5K/c/4aX+P6XWJTSTgG6/AL/lTT6KvTuCWtenD3o9ZaEuv6VXTa1QlWrou359hsw/3 RR7YpS3HohJGLf46n0M7iNnADD3Ye6aBFX7iq6FC9104gCTLUGry4bwSH9YEzgi6ytjh sMZVa4lrVuaTzTgk+ZsMpN4CpUhX3X0NfsI5ukUkijgarL6okD8toXafRsU0EI3pZGW2 /E2w== X-Gm-Message-State: AOJu0YzO6qFRbsHRiloVVX37GKA2sEY7Uq3P/kf+hlH5uOF0SY763o6Y Y+cMaQFkvNhHMnBbrkHlHPC/fg== X-Google-Smtp-Source: AGHT+IEqwnM1Zk0NU5iClHhAf8DuvbmDFdZ/y49v5SALbxoGoB9jxKWr8LOq25RqeNMDSYJdvz5jQg== X-Received: by 2002:a17:906:1dd0:b0:9fe:4d14:800e with SMTP id v16-20020a1709061dd000b009fe4d14800emr9032787ejh.39.1701102020723; Mon, 27 Nov 2023 08:20:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:20:20 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 17:20:07 +0100 Subject: [PATCH 5/6] arm64: dts: qcom: sm8550-mtp: Enable the A740 GPU MIME-Version: 1.0 Message-Id: <20231127-topic-a7xx_dt-v1-5-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=668; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=kZlLueRiP9pbt+9Wm47psoQj32zcJNffjpfPIXiL3Bo=; b=WRE83MLWSmpWessB7dY2coUQjzm2iYdVGzHYcmSdqDG6gP7YK80Ny1kvOBPNCJW7eUVt17kWT iGpNakUX2RMDVvsD7DpAWz4E9Kr/O4fKm9GopVgSiee5bK+ao4OTcRl 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_082024_595352_3F47D9FE X-CRM114-Status: GOOD ( 10.03 ) 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-mtp.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 9a70875028b7..52244e9bfdee 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -512,6 +512,14 @@ vreg_l3g_1p2: ldo3 { }; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8550/a740_zap.mbn"; + }; +}; + &i2c_master_hub_0 { status = "okay"; };