From patchwork Mon Aug 24 18:37:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 11734113 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DCD2A14E5 for ; Mon, 24 Aug 2020 18:59:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1185206BE for ; Mon, 24 Aug 2020 18:59:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Nbf3xziD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="YAVL4HVC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vDZcQosI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1185206BE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XzipRUBYjGT949na1lPYe62r7R1kLez6PXIzNsah8JU=; b=Nbf3xziD+TVTgCnu1HkXJthTe 61oLPE1VYZcrF3SrLbbkbJLb30C3OfCjDzvuzZ1CXljG67kL2YN6+7yGIkjLNU/hn9XWX5TwRzY5T 5JtFNlb8PTHCP0lm4lD7t5rzFSlt1LisXE/9cob5F+0HlOytBTLXjCC/A4J3J5w8r0K3xYIPMWaU8 3MKpD8eiIbah1w2x+QXrZADsfCTiPY4+N3rfj0+oGH0JYAZrNLVQ8+wRzP01QayYhhBSkAF26Astq BGzKcILkLuXMkLjg7GwiTvDPu7q+gEKVsMSx9zpdvU/REX7ELCqI9pdWP1tlDFadR+Ypn45D/oAb1 Tmid7caGA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAHh5-0003cD-E4; Mon, 24 Aug 2020 18:59:47 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAHh4-0003c0-FD for linux-arm-kernel@merlin.infradead.org; Mon, 24 Aug 2020 18:59:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=8jrJbdIXQQAFjo/ry7i+txJOnZIwex0ahQyZ/9frdio=; b=YAVL4HVCsbifBn044QlN9dJaty +GZw6PXSMFIKwQ5WB22tcMo6QkXCibNM7CvJmv+ph2C5itkjVBfdTde2dKfR4cDgmdyXLT7ScIe2C jB/vT43aOM2qQ05IlR9D2+mpbV+3c46FWBJbb02gca63eOxkzxULOJZgHkD8ZwyX70RflK++8VXIu kCLxx0fxMHNxYcp1IcncwDeIh3cjt4w5l4cpMnqeQBQHzyEmeV2op6ORYxk8BEPX8O4JhodjEiJ9s NZvLYshksXvh2M/1M0XradkGdweC72+IoiAi9OlhpvjFAxQlIJirQWIBOiB1mUGGdpujEihweCRP6 GZh4ot3Q==; Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAHQT-0001id-LI for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2020 18:42:43 +0000 Received: by mail-pf1-x442.google.com with SMTP id u20so5322702pfn.0 for ; Mon, 24 Aug 2020 11:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8jrJbdIXQQAFjo/ry7i+txJOnZIwex0ahQyZ/9frdio=; b=vDZcQosIOwttT+7YVD0YcJH63i/4ANBtWVWvB3iylHAaQulSk6Zt7LO0aYaQGeR8La Nf8A20AmUnyBL5dyL5YvhbxVitCshAaCyxzgTjfew1FhVN8rwvRSHF+nw1IRTCT+HJEy LgfiPuvEKOs/thV8w202+qBEZDCU+r1Zl8SLot+h3dwwLhotl/DUgl81PJRW1yM79dcZ 9QGffNgb65T+Rovp82CSbUGQINp+vpJ8/XXTWUFo6wLY6s7ajEGZZXyDUVmzzrVB1BeB DA6m6erABwDeEATCGThEYV5o1xN7WllNV2le6drxEfsYY72ehk5qdU1vkRSxeuJJeZFW XY5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8jrJbdIXQQAFjo/ry7i+txJOnZIwex0ahQyZ/9frdio=; b=MoT4df7ZjVEvPIFZRgFrsHSNrq3+YfkuIfHcaeemJi6qZLKyawck1kcR+Qm6wXl5Ze 59vv6PrR4Wxp4VZQqhC7Gzt/Wq0wDdYjXVzh+EEMs0FtRvgy/zo3w51SdXgZWt92HyJh HLM2tJHkH0YGpOdK/ee2ox5710s4yd2WsPN9rWRaUxjGR3JPok1m/PD5fgUYBSRnq8py telb1lLQNwJeW2SsuLr2BORysLAZnT2WMo/dQBvsnazEaqTHncRcZeW5ZF+ZTpEVR9va 3yQwb9OuChcSCFelwST9EJP2ocq2Z91uH+n5Kk+tld+HZdoEVwNAhDsq6uFnlfivco4u zpMA== X-Gm-Message-State: AOAM532Dciu5kFAXm0G1UbJXmhDS8jAzI6WNGks7g5L3PW0T9u4BAiZI 9sd359e2ULzkf/0PmgxxrUs= X-Google-Smtp-Source: ABdhPJz3GfCDsrY2e8D8NgnMkrpU5oev72R67ENvd+ltLeKwaHWMDwrcr34kf5ZWRUkLqlnrTXmo9w== X-Received: by 2002:a63:ca4e:: with SMTP id o14mr4352543pgi.213.1598294551624; Mon, 24 Aug 2020 11:42:31 -0700 (PDT) Received: from localhost ([2601:1c0:5200:a6:307:a401:7b76:c6e5]) by smtp.gmail.com with ESMTPSA id il13sm251907pjb.0.2020.08.24.11.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 11:42:30 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org, iommu@lists.linux-foundation.org Subject: [PATCH 10/20] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU Date: Mon, 24 Aug 2020 11:37:44 -0700 Message-Id: <20200824183825.1778810-11-robdclark@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200824183825.1778810-1-robdclark@gmail.com> References: <20200824183825.1778810-1-robdclark@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_194237_805683_C5EE1047 X-CRM114-Status: GOOD ( 11.70 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [robdclark[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Akhil P Oommen , Bjorn Andersson , Eric Anholt , Vivek Gautam , AngeloGioacchino Del Regno , Will Deacon , Rob Clark , Rob Herring , Sai Prakash Ranjan , Jonathan Marek , Joerg Roedel , Ben Dooks , Sibi Sankar , Brian Masney , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Joerg Roedel , Stephen Boyd , Jordan Crouse , Rob Herring , John Stultz , "moderated list:ARM SMMU DRIVERS" , freedreno@lists.freedesktop.org, open list , Robin Murphy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Jordan Crouse Every Qcom Adreno GPU has an embedded SMMU for its own use. These devices depend on unique features such as split pagetables, different stall/halt requirements and other settings. Identify them with a compatible string so that they can be identified in the arm-smmu implementation specific code. Signed-off-by: Jordan Crouse Reviewed-by: Rob Herring Signed-off-by: Rob Clark --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 503160a7b9a0..3b63f2ae24db 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -28,8 +28,6 @@ properties: - enum: - qcom,msm8996-smmu-v2 - qcom,msm8998-smmu-v2 - - qcom,sc7180-smmu-v2 - - qcom,sdm845-smmu-v2 - const: qcom,smmu-v2 - description: Qcom SoCs implementing "arm,mmu-500" @@ -40,6 +38,13 @@ properties: - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 - const: arm,mmu-500 + - description: Qcom Adreno GPUs implementing "arm,smmu-v2" + items: + - enum: + - qcom,sc7180-smmu-v2 + - qcom,sdm845-smmu-v2 + - const: qcom,adreno-smmu + - const: qcom,smmu-v2 - description: Marvell SoCs implementing "arm,mmu-500" items: - const: marvell,ap806-smmu-500