From patchwork Fri Feb 16 11:03:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 202083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp435337dyb; Fri, 16 Feb 2024 03:05:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWbn3rboknRo5ZvqHxhIFl7VBwau5HtHjQT51y9CiCVmKtSC6MKGPfyvrK2DyiMxZECJ3k+EygyL9kqjZ4USLcs9HkRMw== X-Google-Smtp-Source: AGHT+IHLq2/CL67J2nedNgKlXDrR5IIEzh2Ow5yvQNicTGYFXyzQDb9VYcAuJjUpTkeNRTXenVVH X-Received: by 2002:a05:6830:1355:b0:6e2:f1ce:4e88 with SMTP id r21-20020a056830135500b006e2f1ce4e88mr4747770otq.19.1708081535012; Fri, 16 Feb 2024 03:05:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708081534; cv=pass; d=google.com; s=arc-20160816; b=COuFoYDaNMHdeAeccp5JpH0tISrOHBn7ODC8TBM8ERRDXj3/myPWNdMR3K5DrZSAXS dROa7LPv29JY8SygDv1OqfX1ED4b4Uk+8Fn8urEyMZGHFl7B5DhrA7NMaxCu++KJSocl PXtocE3cQ5mfEul/SCeNQ931jadUw2bI2OtVsnhlbgr7RM4i7hJ1yQYPYEI+YX/SjnTO 0taZk096iKYibbLg+5zX5ZrRs2NtT3J+z/14n/25EUYiFLP2o6CxUvPRk9jvoT9bdfb3 skhyBxFQbYyTjtJIH/H8AuRnxVgjDBcD5Ije2d6lOMtPPRC4VwJ94LXEil8/CsDbsTOD 4zTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=R8jQXdAWc83YqnRTlVrzU/De4ogxASBLVUqo6LYFo1E=; fh=VrX1l/WKufykqIq7lwVEL49hFaHO+6h/XpSN0CtPkRo=; b=AisESWn4bAa4WptWl/MES213xgtLPtyemjYvs47IuyHh7ziqTzNrXwH3LsTKHb1mTH aGhq7/uAnnY9soB0aO5jHDA6cwOROoVX2W0Y2PDmVqWHKUlOJBu8BFgljnCLYU+VlpqJ +BYcRr5m1dqxAyrBF5T6DQwTr3fC989XHW+bTxObALX7v5GsnBdx35pYSYBuBaonuOv3 alIMH24jSIN1NFubBng9BH49Lu/4JJ8oJKZaesTnE6TplokG/AlO0dozuSeBcqPGgwkm 4f9Qy0+IhR9rPMUv3C39ojE02yJuTI/rS2FwiNiKqNBfDmb7bjY7975KIXYtIobePKGc 7cTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PGROFv7B; 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-68483-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68483-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d9-20020a05621421c900b0068f3602c8b4si549089qvh.248.2024.02.16.03.05.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 03:05:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68483-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PGROFv7B; 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-68483-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68483-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C98791C233C0 for ; Fri, 16 Feb 2024 11:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 421496026B; Fri, 16 Feb 2024 11:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PGROFv7B" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 BB6F45821C for ; Fri, 16 Feb 2024 11:03:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708081440; cv=none; b=XgbcGeekzs53lenRup3agJZyywLSRQS/rIgGp7/A1i+67TL2JvgXrwIZFMws+yoD4LA9s4tUoJGipqH9mzo0go89ATxMrgZoUX1D9dOyr3X0lTDvm8o+iJ23c3E2cYnFUfl6argEWwEdv/Dibg8Hn+PoKXKi2xOK3aHnotKPtUI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708081440; c=relaxed/simple; bh=6iOcnqwhICNEx1Y6vAHfd+4RDSuZsONu8Es38mDvAfI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z38IUeHcw2H51gYjj87rW99tGekAyh9WUB8WTG1eAYJexNHwfnzA+a+4cv4iXyCDb7Yoo5B4iNuxCvHCIsyjDf31QMCYZ+2ZQP7q+pmj0YzFj7td6VHvjwZl0Feh6qgADkkAr6TPRV15DbnkF4m+tGB9XhecRRK5g0ufAJgZXH4= 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=PGROFv7B; arc=none smtp.client-ip=209.85.128.51 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-wm1-f51.google.com with SMTP id 5b1f17b1804b1-412393ea2a0so3949185e9.2 for ; Fri, 16 Feb 2024 03:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708081437; x=1708686237; 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=R8jQXdAWc83YqnRTlVrzU/De4ogxASBLVUqo6LYFo1E=; b=PGROFv7B3+9hX2yR/kn7V3V2d00OkJvGVNXBqj1H2UrOdf1iR2c3s1wy8NUnpIjYG6 7GX2IEC6ISQOdgHIWewPbQboQFFndIN0hJuZikuEKWZP4J0ZF+1aGG3uKNiPNvOuelMz CpAEWYq9K+GVx+3TkMCfn4/ooyMFOjYm+OKJOWs07hTVpnbdg2yP6ZpepYMEjiP/UWq4 Xf/ZRpPsuQPdb4Ok9uOf4y7jOnKZ8Hv7XgPnz9s5UjGzhN02lAV1fPSzx+bxa67PhlwU Cw0sAuB51qXwb5nzGiqxDi+Y5/SmmMr9JppGhhFVo1Z/OMFVFU+IaI1bYXIkXyaIxhIB A6DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708081437; x=1708686237; 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=R8jQXdAWc83YqnRTlVrzU/De4ogxASBLVUqo6LYFo1E=; b=KP8QteEYa/K/NEMUTgluQ4YUJO3K/OUDlg2AqpfLSUzDKeOx+up7lGj35bI6UMw5Pe nKDIcfiSQdmJWW9GHxtHvhl6XaD7y92ECu+q/xY/626p5h26LkhtuEiZ8GHZAtQXmper NgSqpWO66qPkHmeodvAgcKcGdboj6pBIC1Fh0xfezi0+8Dj3KStl4H3vUUZdW5par2Kn wxcn7wJRPDfB3n2hpZkT9nCbZYyHqjQr4xXLCnVlDkQTp4TC7CX2HLTw2mzi8AD0BU8b U6V5KYs08VWAfOpiPS6lWkbv2LBkA4Uk6QPt01zRuikJTYe0Swv8Z9akSmcc8hG9LXgU Nxbw== X-Forwarded-Encrypted: i=1; AJvYcCWM4TruehBx7U4FDT0SMqx+XENyOp9pOS22gWkY/yamy9L8N5NQn7nHpSEHw9cfKi5sesN7dT/eJlk1xM7YQr/OTsMFUsiFm0tgALZJ X-Gm-Message-State: AOJu0Yy6AKYX5utGGOnCEAvU+OYQCnXQV/v/mxgQnHuq7xko2ndZ8oVl cegBKMyzr8hTNJmK2FL44Y9wMy+LQx4V6yb/g6qM38kmQxovpsT1iCElvZIDRNI= X-Received: by 2002:a05:600c:4588:b0:411:e0f0:7a71 with SMTP id r8-20020a05600c458800b00411e0f07a71mr3644178wmo.33.1708081437101; Fri, 16 Feb 2024 03:03:57 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id r2-20020a05600c35c200b004123b049f86sm1993174wmq.37.2024.02.16.03.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 03:03:56 -0800 (PST) From: Neil Armstrong Date: Fri, 16 Feb 2024 12:03:50 +0100 Subject: [PATCH v3 3/7] dt-bindings: arm-smmu: Document SM8650 GPU SMMU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-topic-sm8650-gpu-v3-3-eb1f4b86d8d3@linaro.org> References: <20240216-topic-sm8650-gpu-v3-0-eb1f4b86d8d3@linaro.org> In-Reply-To: <20240216-topic-sm8650-gpu-v3-0-eb1f4b86d8d3@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Will Deacon , Robin Murphy , Joerg Roedel , Bjorn Andersson , Konrad Dybcio 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, Krzysztof Kozlowski , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1438; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=6iOcnqwhICNEx1Y6vAHfd+4RDSuZsONu8Es38mDvAfI=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlz0EWWkZTzHjh7vkQKJ9hbFCgC/WFN7MzqEHvZaxY 8sk4gjyJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZc9BFgAKCRB33NvayMhJ0RvZEA Crl2phZ1jwOzdI4NighnxwfVUB8UXbrQi2GpTJhQkO5V+FITUCJ7L2gAkxXOUPc+U3nyAuKEcjoltT J42WrBFVTMuOApzNr/jXoJE4o8uYVPLbeFsz29N8byY6FSUSQ5bCmyAY8d7KtE5YiHBTyIhAzy28XQ C/NCVlTbQFRELxV5xFOyCzFdR3KDEoUvx1CT3J1ZnUVYAaMzAT67hju0duvjxzZ41IHVS3nR6QD7bQ JJRe3hOYw1yIKfzbV/R7nJBEQCa4JGiBh+CMlapH9gpELgXgpI3vsS5ND1xxS++m1cnIA5enyKpha3 ESG8nJ252LOKDPSk2FyhoOQFKNaPfbdnk2btPGRdQHM0dtYuSZcJU+cajnDwavOFHJLhWLosoi7Gly ABqQ/Sf4KX7dFVCLGAOeoI2kC5AKjTMyN2vAObTttURE8LmYrg66hII1WQGAIQbRmtsZFvVs+m0EX5 3hbl11a6AEJ++2Q4+XIbpbiuSpqm6uOqLll92/+Be7DWhCfpq+V4mEeRCbRnLK08GSGvHhgohmf/sZ hcKBZ5qWJjc/SU/Bo3ishf62Vi3fDL6DOkFFjOcgfjW4Uvrc3llb31nEdfwdEYRBSfWizuMZ/4afOz 5xz5YmhER81YC4D06c9p+f4wX2tDWXp0WY7T3lUiu3qIbOGSUzRN9pV55bOQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791053303870205295 X-GMAIL-MSGID: 1791053303870205295 Document the GPU SMMU found on the SM8650 platform. Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 38c48131e6e7..740631782540 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 @@ -514,7 +515,9 @@ allOf: properties: compatible: items: - - const: qcom,sm8550-smmu-500 + - enum: + - qcom,sm8550-smmu-500 + - qcom,sm8650-smmu-500 - const: qcom,adreno-smmu - const: qcom,smmu-500 - const: arm,mmu-500 @@ -553,7 +556,6 @@ allOf: - qcom,sdx65-smmu-500 - qcom,sm6350-smmu-500 - qcom,sm6375-smmu-500 - - qcom,sm8650-smmu-500 - qcom,x1e80100-smmu-500 then: properties: