From patchwork Mon Dec 4 12:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13478316 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 3269FC10DC1 for ; Mon, 4 Dec 2023 12:56:19 +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:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6TO0yhsxZvMiau3dJv/GYNR7dvkuUeaTNYyWT4u05lo=; b=nB6hpYmLVGIB1X PkxdhVTgYKY6o8P7RhRkRXIVlPRXCcr/6PbD45cswJqDbSR/XBCK2L+yBm1fMJt4BTVcyMLijtonW WjAjvPQnS+uDG549i6fX0TZLzawAMrM5VwfN97zJX1mng3mYuazBqHwfz0jATqDb9VU2BuexZRAiA e2+F57rDYC+2nPqi+NaklktlCCIfJEFyKlrSRI7YGLqX5LxYDfwz8SNfSWt6T5RZdLuQkzWrIXnCu w3muQ7DYnn3KKe0UY5lBrL2dX5bBytrqRZ4HxwM3OE9X4tJl/a340bApze2lrQBo9dN81KLc1frEd SFKHfTgLOO9/OZocAafg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rA8UG-004HLw-2u; Mon, 04 Dec 2023 12:55:48 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rA8UC-004HAt-0q for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2023 12:55:45 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a00191363c1so611392266b.0 for ; Mon, 04 Dec 2023 04:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701694535; x=1702299335; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=L2hsBw2f4zAGauIZbOvreuYSNpIWy0p3UiF+fZb/E10=; b=XBB6EUeRfbg09J0eqlX5l2G0Dg5ZrJgYl2/MKWdjpiT+XGb0Ka0j2OIifVRGM72OSk DSEwR4RKOK/cXZjIqGZGf77HYmHcu4yTqzsRGCNJLgpSscC8o00PYJFI4vzRy4scaVFF fKyy+8xR0j27JnGUzmkIRn94GuGwo1yo7Nasr/e8tXPiNKZhcMaIV7ctTIuI2u5I2/g0 ap+yjZd7Ykcxd20FUiTOUKMUbcI4LO4FG1+8lkn+V8iGDgp0F1MQQacepUzTl+ywZjvm witOGn75P7CnOoYf8iFy+zVAYXk2FgkoWVZvSPtAUIjew4ZIwz8BstNAWUtEDFxQ+td0 AT+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701694535; x=1702299335; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=L2hsBw2f4zAGauIZbOvreuYSNpIWy0p3UiF+fZb/E10=; b=g2TBIn8aaWd8b+rrco7WItFDEIKBZT5bXoLCUROmcyWVQDGTfAhiT8u2zIa4CjxJKS b5W9bJc/scHz1OHN9k/PH9DgPUK4ekJXPcvOoNrBfsTnYzF0bEsqc1QhK4jCxdzr5Tas jMMRgQAB+bjNkybRRJT5Q5AFZ9gIG/vtbqNQg0fgmMRV35QAKYFoperxDHgD6nmg/zR7 vN4dKe+5aCA9bbNgJBCiE3aN3vrnXo6B3SRhfvqSzOLGty1meMw/0hUxcujkc4jhi4Sp BxRvcG/kBf44fY45t6FaPds+nEXmXJvyvOPLbttS7uNUDK9Fg8Jt3t7/7Ps3Abi6qPyM xt5g== X-Gm-Message-State: AOJu0Yxd4ex0fNpwoQRb4dafpZEr0e0lftTWwHZKXP+seTAgDLouxxo0 eWhjsppC/hhdIe6jawmcdXVzpg== X-Google-Smtp-Source: AGHT+IGrvcribSjcrW0uB3jSUhS+pnkpk+Fcqij3kL8dj7I1z74eqTqBVKOeNtEWtKSkDbuBhrI2dA== X-Received: by 2002:a17:906:6015:b0:a19:d40a:d22a with SMTP id o21-20020a170906601500b00a19d40ad22amr1483993ejj.246.1701694535368; Mon, 04 Dec 2023 04:55:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:55:34 -0800 (PST) From: Konrad Dybcio Subject: [PATCH v2 0/6] SM8450 / SM8550 Adreno Date: Mon, 04 Dec 2023 13:55:19 +0100 Message-Id: <20231127-topic-a7xx_dt-v2-0-2a437588e563@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADfMbWUC/3WNQQqDMBBFryKz7hQzFZSueo8iJTGjDkgiEysW8 e5N3Xf5Hvz/dkiswgnuxQ7KqySJIQNdCuhGGwZG8ZmBSroZQzUucZYObb1tL79gz8yVqYi9t5A 3ziZGpzZ0Y16F9zRlOSv3sp2RZ5t5lLRE/ZzN1fzsv/vVYImWqHGNIWLXPyYJVuM16gDtcRxf+ JmW98AAAAA= 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 , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701694533; l=1382; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=G2AGr7+EfmpDgrZgtA9axRHuip8IvIHibzVfFKlzR2Q=; b=8v7uPUgPccph1d0xbsOc11lWkToE8gvXhqB3LqrVRQCp0HSjVz9i/VveJmoux/2n5cxHGrMMs s5uly2frnAaAdtE8+UBQUA3JLO5N7k9Skk9Fs2qW0LJ6mO+dcvZkAu4 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_045544_309104_F500B4B0 X-CRM114-Status: UNSURE ( 8.74 ) 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 Following the merging of related bindings, driver and mesa changes, enable the GPU on both of these platforms. P1 for Will/iommu, rest for qcom Signed-off-by: Konrad Dybcio --- Changes in v2: - Sort nodes better in 8550dtsi - Fix the 8550 GPU chip ID - Pick up tags - Link to v1: https://lore.kernel.org/r/20231127-topic-a7xx_dt-v1-0-a228b8122ebf@linaro.org --- Konrad Dybcio (6): dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU arm64: dts: qcom: sm8450: Add GPU nodes arm64: dts: qcom: sm8550: Add GPU nodes arm64: dts: qcom: sm8550-qrd: Enable the A740 GPU arm64: dts: qcom: sm8550-mtp: Enable the A740 GPU arm64: dts: qcom: sm8450-hdk: Enable the A730 GPU .../devicetree/bindings/iommu/arm,smmu.yaml | 48 ++++- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 8 + arch/arm64/boot/dts/qcom/sm8450.dtsi | 202 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 8 + arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 8 + arch/arm64/boot/dts/qcom/sm8550.dtsi | 166 +++++++++++++++++ 6 files changed, 438 insertions(+), 2 deletions(-) --- base-commit: 629a3b49f3f957e975253c54846090b8d5ed2e9b change-id: 20231127-topic-a7xx_dt-feee4142edda Best regards,