Message ID | 20221115152727.9736-2-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2793531wru; Tue, 15 Nov 2022 07:32:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5sdF3bCdWkkUMWCg3h5BSMuuKNyqpHssmKJVdA9NhLdqajT+dJfvp1o/Jhz7vw+t8ogoVZ X-Received: by 2002:aa7:cc91:0:b0:459:4c7:60d7 with SMTP id p17-20020aa7cc91000000b0045904c760d7mr16049240edt.175.1668526356037; Tue, 15 Nov 2022 07:32:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668526356; cv=none; d=google.com; s=arc-20160816; b=bOsi/4ni7+6XpYXNICknE1IYllWb3AnR2TVOhBIZ4sIenw9dxVQlkAX9YX/A371ZWq AybZARlh26L3TmeF2HE3O5r/ovfRpUx4EM+h27u84B0gOnngFbU1VedlQQrROmTCTsIE io3YRoLG2WcNGZQNd0SGI4+QeNZhm2dYgvUaXl0q0mXHNOn0ATTn5yDxjPpLfh1Yv7Pu LxQVozE+kzCqWfA5BjHynutOfAk57tlSKgjW3vlkBmLFfPuBXGamIqHhtxH+TQupk9WE nsNfdHji2Hq+cvuVcpdBEuegDvNdwOEM/aJyuhTu0qiAGqY57LEJTv1sGZjcCyk7IDqO fofQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/OnIF5KJq38ydF7gLxLfsf0iN2iW7kEJTrwDz5/qCW8=; b=1Lnk+P0qTpEZ+Y49cQR2rekbyers1pTh0rug+BQ04jSWfL6dmU8JjELv19LM8f7apR TuSQN8qR605WlSn7hGYreJYJju1mkIaRO+lSEiJP5oZU91Y8wNkRQWQJnPmqxHR6+SI7 PUnYf5a4LWpotaZT47S8VzNWWO/tG7F/joWQJ9xRzh2xIqwkkevvGyIjNQ0jZnfnTuhj SjblJGym/48UwkTviySqznj4Lm9u0khiNpsxywmZ2Fv55DuZoMn7lsrLK8qcRPH3DDdU eA4gDFuChMKexKvtTX3mAijVbZ0CVFXt7Npqhy6JVMG0DE8/PLhaQ48/ZACP7IAscseQ T5EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XeD7h1D8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd31-20020a1709076e1f00b007ae1052554esi11423886ejc.898.2022.11.15.07.32.05; Tue, 15 Nov 2022 07:32:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XeD7h1D8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238028AbiKOP1s (ORCPT <rfc822;maxim.cournoyer@gmail.com> + 99 others); Tue, 15 Nov 2022 10:27:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237742AbiKOP1n (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 15 Nov 2022 10:27:43 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243E42C109 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 07:27:40 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id ud5so36948287ejc.4 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 07:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/OnIF5KJq38ydF7gLxLfsf0iN2iW7kEJTrwDz5/qCW8=; b=XeD7h1D85c6PELOSUkCRH42zXo6QrloEq7je/ihrbaWxuZGUSugvC6ZYCtZPrpYQ4C m0/ZoyjftHwJDvZSWFeHc7V1cB19WR8ouls1xE8wSHQj9ZSBG/zZdQbUr//U4Hz78NOh 70ld40peqz55/qWelsXnefWszp8OMz/rpqmTbA6IjQrxu45BbDpIS0QzOQ2DFbGI6PtQ RNqBkZX2Prkbb3LIHpdKtx0PT/Q6nocYrCQXe9fVAYLrKU6ViBsbbJUZSQKlvvaQsi7f 49WgjnxLy320wM2CPMu7og+jlX6VaL9gxSlfXHPthueLNUy/SEDBgRDH8QLQkHu54Wqp dG4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/OnIF5KJq38ydF7gLxLfsf0iN2iW7kEJTrwDz5/qCW8=; b=GGhKMG5ks/hGAAV/AyDQb0Wm4QUaPyVK8jbwFoPI6UfdTXABV+bqB12mWPZhpZ8bCo SyjubCqDWGaXpC+SdMP3LGpAkgdQzUHI0tgXqf7LGar1LTiBehapJmRa3Ufe++J6u87A GmeS7XD58PFXD0w2D+tG5sV0nf9WQ+OlY1pkGjRnwKk+ToDr5ZpXaDnTovAX63iGDj64 A4NYmD8OzBT2n6KUZecb4G/IElRjx9O8b/TSfwmBvgAfmcf4xQo0DJBVgCWnUAI0cJwf xXw/0P2dm75xKRihb27iB+oC6xEG6az74vAsFkALCGAJBXz3abgxElfykQn6nrLQy5zX Sxqw== X-Gm-Message-State: ANoB5pmY1pvZBhroxjsjcqKZ5z97Tuk3Kn2hhpAWvAquO9LKCk2UpCeh DnyM0kALfej33cNRuiKxgnZL2w== X-Received: by 2002:a17:906:d82:b0:7ad:8a7a:2343 with SMTP id m2-20020a1709060d8200b007ad8a7a2343mr13999054eji.225.1668526058653; Tue, 15 Nov 2022 07:27:38 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id ku21-20020a170907789500b007ae1ab8f887sm5750679ejc.14.2022.11.15.07.27.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 07:27:38 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/9] dt-bindings: arm-smmu: Allow 3 power domains on SM6375 MMU500 Date: Tue, 15 Nov 2022 16:27:19 +0100 Message-Id: <20221115152727.9736-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221115152727.9736-1-konrad.dybcio@linaro.org> References: <20221115152727.9736-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749576692764266267?= X-GMAIL-MSGID: =?utf-8?q?1749576692764266267?= |
Series |
[v3,1/9] dt-bindings: arm-smmu: Allow 3 power domains on SM6375 MMU500
|
|
Commit Message
Konrad Dybcio
Nov. 15, 2022, 3:27 p.m. UTC
The SMMU on SM6375 requires 3 power domains to be active. Add an
appropriate description of that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
.../devicetree/bindings/iommu/arm,smmu.yaml | 23 ++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
Comments
On 15/11/2022 16:27, Konrad Dybcio wrote: > The SMMU on SM6375 requires 3 power domains to be active. Add an > appropriate description of that. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Tue, Nov 15, 2022 at 04:27:19PM +0100, Konrad Dybcio wrote: > The SMMU on SM6375 requires 3 power domains to be active. Add an > appropriate description of that. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > .../devicetree/bindings/iommu/arm,smmu.yaml | 23 ++++++++++++++++++- > 1 file changed, 22 insertions(+), 1 deletion(-) Acked-by: Will Deacon <will@kernel.org> Let me know if you'd like me to take this one via the Arm SMMU tree. Will
On Fri, Nov 18, 2022 at 01:38:56PM +0000, Will Deacon wrote: > On Tue, Nov 15, 2022 at 04:27:19PM +0100, Konrad Dybcio wrote: > > The SMMU on SM6375 requires 3 power domains to be active. Add an > > appropriate description of that. > > > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > --- > > .../devicetree/bindings/iommu/arm,smmu.yaml | 23 ++++++++++++++++++- > > 1 file changed, 22 insertions(+), 1 deletion(-) > > Acked-by: Will Deacon <will@kernel.org> > > Let me know if you'd like me to take this one via the Arm SMMU tree. > Yes, please pick this through the SMMU tree. Bjorn
Hi Bjorn, On Mon, Dec 05, 2022 at 02:56:40PM -0600, Bjorn Andersson wrote: > On Fri, Nov 18, 2022 at 01:38:56PM +0000, Will Deacon wrote: > > On Tue, Nov 15, 2022 at 04:27:19PM +0100, Konrad Dybcio wrote: > > > The SMMU on SM6375 requires 3 power domains to be active. Add an > > > appropriate description of that. > > > > > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > > --- > > > .../devicetree/bindings/iommu/arm,smmu.yaml | 23 ++++++++++++++++++- > > > 1 file changed, 22 insertions(+), 1 deletion(-) > > > > Acked-by: Will Deacon <will@kernel.org> > > > > Let me know if you'd like me to take this one via the Arm SMMU tree. > > > > Yes, please pick this through the SMMU tree. I've already sent my pull request for 6.2, so this will have to wait until 6.3 now (unless somebody else takes it in the meantime). Will
diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 28f5720824cd..348a73f3e5f0 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -200,7 +200,8 @@ properties: maxItems: 7 power-domains: - maxItems: 1 + minItems: 1 + maxItems: 3 nvidia,memory-controller: description: | @@ -364,6 +365,26 @@ allOf: - description: interface clock required to access smmu's registers through the TCU's programming interface. + - if: + properties: + compatible: + contains: + const: qcom,sm6375-smmu-500 + then: + properties: + power-domains: + items: + - description: SNoC MMU TBU RT GDSC + - description: SNoC MMU TBU NRT GDSC + - description: SNoC TURING MMU TBU0 GDSC + + required: + - power-domains + else: + properties: + power-domains: + maxItems: 1 + examples: - |+ /* SMMU with stream matching or stream indexing */