Message ID | 20240215-topic-sm8650-gpu-v2-0-6be0b4bf2e09@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp271101dyb; Thu, 15 Feb 2024 01:22:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUr6dV+DpIGu7AhckKsstBWSXgg/i+XjaKfXjpbihS3oHvL/XF+Y/Eq4PRD/vGgdSZyL5FJEdKFtulwNYiLbtOYZ8TNtg== X-Google-Smtp-Source: AGHT+IFkSRpyIKDqG+VdbAOaGXglOmCI/Ju8cVHz5Wc/4FNjyA963JkqYSPtZYMes/Ukwadz9Ocv X-Received: by 2002:a17:906:ae4f:b0:a3c:ec8a:cf8e with SMTP id lf15-20020a170906ae4f00b00a3cec8acf8emr3527666ejb.24.1707988932536; Thu, 15 Feb 2024 01:22:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707988932; cv=pass; d=google.com; s=arc-20160816; b=m+95JaT8Byrq9nyWHBd8GKtbBPAzDW+mJZQQpaefh6evgydIFTV/zFrtpC7iDYWkM+ HuNSO9Tj6/radf/4363zwAmVYeNYEk4weQtyc0HLLWFF/2VoxYXMPLg/N2zl4P0rIdAz 2tvribejOZ6IKDIA6jzVkMtgcop255SDAA/yXbkABNvXkxbJh15Jh/rG+xqUSZNa5gk9 6G4b1kaaj/SU3I06lsYdeDshfITIvAFsxV0lHf7H49/tE1Z9rlZx5QV18Y7oitxy/bSL 66D7D95F/wefZDcwIMHVDDdsFXU9ZdYTO2fnPDqgdSlhVW+JO78GDuni55Uc90DUYVM8 SG4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=sCJIqfXANTyxQ1cWg0J7Xq3pgA1x4Oyiz3VOApAbg7U=; fh=admSSOVrq89ObO34bBa3a8J5n52nqbwlXDgjPAFLNCY=; b=nWDNe6lRqnJTKxZ4m7vJQ7ta/HeMs0BIG387KxkO0/JTJdK9hjJOzKSDi8brhMRNm/ VfeCJYvxybu2LLifK44jjRitr8T3zpB/v4j4RtufYZB0MrVnNxipkyZuQgiMaCqPXgii K/sSWJZDc94ctdQbA/wWLTVN9V9b+rmUoJH6pFrRb/dTI7wo99IWmj2T+/6nvPwAHjJH SaWgcynMl1EAi4l9Yx26sv6bXhWS4rKNSGSchfP3bKOehVWZ2QeiUU5UlrCk+wdndwjC CGzGpBszVE1fiSGtNUxbDuagTEjknJQiuPLyisSaOZcUM/58OH/fRchN1t3vxGYrTVBQ zLbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wzvYGNYB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f21-20020a170906085500b00a3d3b633e84si447692ejd.611.2024.02.15.01.22.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 01:22:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wzvYGNYB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66512-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C751B1F22CBE for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 09:21:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCDAA18B1A; Thu, 15 Feb 2024 09:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wzvYGNYB" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DE5217585 for <linux-kernel@vger.kernel.org>; Thu, 15 Feb 2024 09:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988835; cv=none; b=XWdb9Y2BWp5EidVhjySyRaQCGPCRP0VPhPLGklukCI9UfyBl/1AOFpsr7NNbwl08wOaQNH9vbJ9YvhFrl7RTmSBGSTwD60aGePBo8V05kQ1x3RmwJUJkLIqQ6+1YTjwy6EmPlKCepLSizp4mxHQLQZNJi/XR+1Sg8/adI2wU26o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988835; c=relaxed/simple; bh=oKbyhmQGCK031NDJvd+F9DRL6rEnKmMTN5jcd28ewGo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QC8FuIZW1cPwOZKMLVpdw+YDfBvk3at9aBPrWu38IFw4G/VKu5VGVRirwrfxASMTVaOcSdi32Zw20ScahMR8ERjugmEeDkHibkebzyibFxYQf+bL5U+VrHUfjxNLcwDbV4AMuE/hMs3H3Dkc1c+O0Xlyv35mTtKq1j4843WiohU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wzvYGNYB; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3394b892691so411933f8f.1 for <linux-kernel@vger.kernel.org>; Thu, 15 Feb 2024 01:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707988830; x=1708593630; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=sCJIqfXANTyxQ1cWg0J7Xq3pgA1x4Oyiz3VOApAbg7U=; b=wzvYGNYBJ/PrmGKCCf8o1sR77+3qYNoAt/QW4CscBuJz4eZArWgm2mAjNaP0cLY23H MXa2plzTASmdEMWG8Vk9rOms/Xk7edz7uHJ5Ap76eNW/cgsCfTfbSKLlyyI+KXa74UmF CI7iqOtuk3B6lHFCLFlZksk9nxbujOKC4p1K5+vMFMuGWkIRlyGWYllqWY+jQsUmvsFz 6h3TO6jdabTNblIXLVbUOYvLWfmn8q6wwK3q5dcslevW+2qQSNNA7sUvEBKMhYkyumkH ahNwVfs7Rc52r0XGQ+7F9u1QUea6cEEFL/mVB7eaIEcJKsqTZfezKmpvJAcBJWHtm8Zi 1uHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707988830; x=1708593630; 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=sCJIqfXANTyxQ1cWg0J7Xq3pgA1x4Oyiz3VOApAbg7U=; b=jE2WQ1kvl49GiX9f8HanPE5eGhVDxZf77Nc9B2ql+p28CdH9xDawVhQRvSKXytmbGz dCC8NMTniNntB25EcAIfo49vKsEl3m2igDlYuqcpRUoK+ivdrCXmhPH/uudyJTtWnmm1 buqVRT5RL+BHviGTJvprB+X3qncQe1b9C3bVy76+E7X9leRgScSdOx9zStImeXAchNr9 Toc/WiuUQBa9Cdf4kY4lVCZTPNN3pOtovMrT5vOAqLm6oSWrzBetMqsghiLfaW2uqDNj ljthsl7wun4r3CR1TbHMyOB9KI3JiR5XzPZLV4DcvUXdmOz7ZF3dl3qlaOQwGEDqS9vw zLmQ== X-Forwarded-Encrypted: i=1; AJvYcCVcuC6EeMz7DLZlFwFFLh25Bvf4gA80l0whagSMmxugxpc4agyAXExSsdhFvySmLZzCK8g8VWRJTt5Di5YQZVCtI7fJQw1yRRcZ0Nl0 X-Gm-Message-State: AOJu0Yw6PzRSxH7QHNDSmqsIWaAjKr8oK3AELyZZ/s5xAusglqNDFcl0 +JEzrQm+CF/p9ikddb29uZT/hshbk4qpaq9+Y+QkTNlqVrq3ge0XvVw0VuWsQfc= X-Received: by 2002:a05:6000:107:b0:33b:68d2:c5c9 with SMTP id o7-20020a056000010700b0033b68d2c5c9mr1080779wrx.8.1707988830565; Thu, 15 Feb 2024 01:20:30 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id l8-20020adfa388000000b0033b66c2d61esm1156435wrb.48.2024.02.15.01.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 01:20:30 -0800 (PST) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH v2 0/6] drm/msm: Add support for the A750 GPU found on the SM8650 platform Date: Thu, 15 Feb 2024 10:20:22 +0100 Message-Id: <20240215-topic-sm8650-gpu-v2-0-6be0b4bf2e09@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFbXzWUC/2WNyw6CMBBFf4XM2jHTSbHVFf9hWPCoMInSpkWiI fy7lbhzeU5yz10huSguwaVYIbpFkvgpAx8K6MZmGhxKnxmYWBOTxdkH6TA97KkkHMITtT33peO OW2Ugz0J0N3ntyWudeZQ0+/jeHxb1tb+Y4v/YopDQkG00tUabtqzuMjXRH30coN627QOHQsx7s QAAAA== To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org> Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Neil Armstrong <neil.armstrong@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2303; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=oKbyhmQGCK031NDJvd+F9DRL6rEnKmMTN5jcd28ewGo=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlzdda1ja3qYhAQD7TxJTXjXvRhkZhcdgfDhtOGB6t eX40jEuJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZc3XWgAKCRB33NvayMhJ0dKTD/ 9nfYKPsMq1aO/WX60Xfgt6f16R8W7MWflfkynuv7YMpLAyGWDhQOfa7do6lQyxZF2YnwHshnk5YDqK dpGFlzMbP3+/zsMVADh2Vy0Rj1FtwUhggfW/IQ2I3UT3IA2MdXedNxVUq4rJBiXdjEsrkoWgAHofSh /rNgcsKpu+aEuP9qRCSCMhdYBjVWBU0/ubDi1qnarYadzUqSoAdGgE2hdV1NVrLtmevG4A6PKAjgP4 mIaQLOrLSuLsvcpOo3cBLYUwSPpHZWQlX4aH0ZPmteXd1Z6iRWE/ynBE2mylsOp2jaKITp1NQnfiJw 7VKLUt56d3yGbqAzm8yylY+5199zJcQ3iKZLq0wpU5cgBEcKC0iZpJ6r4w4N2PQV70Qmi0MrPPo8Df RK82H8IgsRwkTtUerZsLpJ4ktXizoJCtNZ6Yrk9X2zg01oFvhPDyynhh7NfksxuhrO1bPiC7YT3Ccv desZDq2p5PWEl9g77A5OXuN/M0/ZgTtrFztrqZb2kzk5RRTmA+6Ig0WhF/2rn9qOs6BzwndTc2y5fA RBvb8z5e1EuCKwQMzpcjdab9pZIg6FSVE0Et1MLBAI3M5p7N8zFA+ftQis9Q3KWYcgLfk9NmNY49xO rtPWO4swkMjDEwDuFZAEiJx2VnGuFsaVvSUNZptT+CULYH0fWDDIWW1kfrWA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790956202903066905 X-GMAIL-MSGID: 1790956202903066905 |
Series |
drm/msm: Add support for the A750 GPU found on the SM8650 platform
|
|
Message
Neil Armstrong
Feb. 15, 2024, 9:20 a.m. UTC
Unlike the the very close A740 GPU on the SM8550 SoC, the A750 GPU
doesn't have an HWCFG block but a separate register set.
The missing registers are added in the a6xx.xml.h file that would
require a subsequent sync and the non-existent hwcfg is handled
in a6xx_set_hwcg().
The A750 GPU info are added under the adreno_is_a750() macro and
the ADRENO_7XX_GEN3 family id.
This adds:
- the GMU and SMMU bindings
- DRM driver changes
- DT nodes
Dependencies: None
Tested using Mesa's !26934 Merge Request [0] on the SM8650-QRD
and with kmscube & vkcube to test basic rendering.
[0] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26934
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Added separate a6xx.xml.h sync from https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27576
- Collected review tags
- Inlined skip_programming
- Use A7XX_RBBM_CGC_P2S_STATUS_TXDONE instead of BIT(0)
- Drop now useless placeholder comment
- Removed interconnect properties
- Rebased on current linux-next
- Link to v1: https://lore.kernel.org/r/20240212-topic-sm8650-gpu-v1-0-708a40b747b5@linaro.org
---
Neil Armstrong (6):
dt-bindings: display/msm/gmu: Document Adreno 750 GMU
dt-bindings: arm-smmu: Document SM8650 GPU SMMU
drm/msm/a6xx: Add missing regs for A750
drm/msm: add support for A750 GPU
arm64: dts: qcom: sm8650: add GPU nodes
arm64: dts: qcom: sm8650-qrd: enable GPU
.../devicetree/bindings/display/msm/gmu.yaml | 1 +
.../devicetree/bindings/iommu/arm,smmu.yaml | 7 +-
arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 8 +
arch/arm64/boot/dts/qcom/sm8650.dtsi | 166 +++++++++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx.xml.h | 9 ++
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 28 +++-
drivers/gpu/drm/msm/adreno/adreno_device.c | 14 ++
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 10 +-
9 files changed, 238 insertions(+), 7 deletions(-)
---
base-commit: 5a30f6bdb84228f160b331eed2ccfde00bfb3ab4
change-id: 20240208-topic-sm8650-gpu-489d5e2c2b17
Best regards,
Comments
On Thu, 15 Feb 2024 at 11:20, Neil Armstrong <neil.armstrong@linaro.org> wrote: > > Document the GPU SMMU found on the SM8650 platform. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index a4042ae24770..3ad5c850f3bf 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -93,6 +93,7 @@ properties: > - qcom,sm8350-smmu-500 > - qcom,sm8450-smmu-500 > - qcom,sm8550-smmu-500 > + - qcom,sm8650-smmu-500 > - const: qcom,adreno-smmu > - const: qcom,smmu-500 > - const: arm,mmu-500 > @@ -508,7 +509,10 @@ allOf: > - if: > properties: > compatible: > - const: qcom,sm8550-smmu-500 > + contains: > + enum: > + - qcom,sm8550-smmu-500 > + - qcom,sm8650-smmu-500 Doesn't this cause warnings for non-GPU SMMU on this platform? > then: > properties: > clock-names: > @@ -544,7 +548,6 @@ allOf: > - qcom,sdx65-smmu-500 > - qcom,sm6350-smmu-500 > - qcom,sm6375-smmu-500 > - - qcom,sm8650-smmu-500 > - qcom,x1e80100-smmu-500 > then: > properties: > > -- > 2.34.1 >
On 15/02/2024 10:25, Dmitry Baryshkov wrote: > On Thu, 15 Feb 2024 at 11:20, Neil Armstrong <neil.armstrong@linaro.org> wrote: >> >> Document the GPU SMMU found on the SM8650 platform. >> >> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> >> --- >> Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml >> index a4042ae24770..3ad5c850f3bf 100644 >> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml >> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml >> @@ -93,6 +93,7 @@ properties: >> - qcom,sm8350-smmu-500 >> - qcom,sm8450-smmu-500 >> - qcom,sm8550-smmu-500 >> + - qcom,sm8650-smmu-500 >> - const: qcom,adreno-smmu >> - const: qcom,smmu-500 >> - const: arm,mmu-500 >> @@ -508,7 +509,10 @@ allOf: >> - if: >> properties: >> compatible: >> - const: qcom,sm8550-smmu-500 >> + contains: >> + enum: >> + - qcom,sm8550-smmu-500 >> + - qcom,sm8650-smmu-500 > > Doesn't this cause warnings for non-GPU SMMU on this platform? No because it doesn't add those to required, it simply allows clock the properties. > >> then: >> properties: >> clock-names: >> @@ -544,7 +548,6 @@ allOf: >> - qcom,sdx65-smmu-500 >> - qcom,sm6350-smmu-500 >> - qcom,sm6375-smmu-500 >> - - qcom,sm8650-smmu-500 >> - qcom,x1e80100-smmu-500 >> then: >> properties: >> >> -- >> 2.34.1 >> > >
On Thu, 15 Feb 2024 at 11:29, Neil Armstrong <neil.armstrong@linaro.org> wrote: > > On 15/02/2024 10:25, Dmitry Baryshkov wrote: > > On Thu, 15 Feb 2024 at 11:20, Neil Armstrong <neil.armstrong@linaro.org> wrote: > >> > >> Document the GPU SMMU found on the SM8650 platform. > >> > >> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > >> --- > >> Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 7 +++++-- > >> 1 file changed, 5 insertions(+), 2 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > >> index a4042ae24770..3ad5c850f3bf 100644 > >> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > >> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > >> @@ -93,6 +93,7 @@ properties: > >> - qcom,sm8350-smmu-500 > >> - qcom,sm8450-smmu-500 > >> - qcom,sm8550-smmu-500 > >> + - qcom,sm8650-smmu-500 > >> - const: qcom,adreno-smmu > >> - const: qcom,smmu-500 > >> - const: arm,mmu-500 > >> @@ -508,7 +509,10 @@ allOf: > >> - if: > >> properties: > >> compatible: > >> - const: qcom,sm8550-smmu-500 > >> + contains: > >> + enum: > >> + - qcom,sm8550-smmu-500 > >> + - qcom,sm8650-smmu-500 > > > > Doesn't this cause warnings for non-GPU SMMU on this platform? > > No because it doesn't add those to required, it simply allows clock the properties. Can we further constrain this branch so that it is applicable only to the Adreno SMMUs (and enforce requirement)? And maybe constrain the second if-branch so that it doesn't apply to the Adreno SMMUs? > > > > >> then: > >> properties: > >> clock-names: > >> @@ -544,7 +548,6 @@ allOf: > >> - qcom,sdx65-smmu-500 > >> - qcom,sm6350-smmu-500 > >> - qcom,sm6375-smmu-500 > >> - - qcom,sm8650-smmu-500 > >> - qcom,x1e80100-smmu-500 > >> then: > >> properties: > >> > >> -- > >> 2.34.1 > >> > > > > >