From patchwork Mon Nov 14 10:42:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 19670 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2074764wru; Mon, 14 Nov 2022 02:43:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf7wJpEFw5iKpqKzhxdYOADIqkNzpkQgy3EvEqMYoGYDkvnC0cAkuXfUds9a0LdIHno4s0kM X-Received: by 2002:a17:907:c00b:b0:7ad:69eb:923b with SMTP id ss11-20020a170907c00b00b007ad69eb923bmr10195807ejc.19.1668422593605; Mon, 14 Nov 2022 02:43:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668422593; cv=none; d=google.com; s=arc-20160816; b=gdKJvZ2dqjdBmCuUKzUVZQ8yX5ygpYCDsM+1x+Gm42YX7iAtmuCE2L3qEACBmUZ7CL HUEWwBDQ/NpHolBcp/1zJK25ETppumu+CEDWGFfSH/8dNZ8+e/iX2Yc9QtzBVyi/1niW rgSvycN7NvZQo0DjUlVU1osdD+CCoFm8rnlJ1oUPnWe0GatGesRSeNQj0jInyy9vLij7 e5aqezcCCaQOngElNvqOU7pl/1OXihtJDJfT8yTS8mv8yEM1HF3MOUkCNc52YCaKpzxL 1y8pQlfNmEh1G0AnwEEFntzBClKecSFsKtuchIUnpforl6lAPwzEqJreA9xkUQ+Md1SP cmVg== 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=zDzwDb0dnKoTPgCy4RBfiMpDFetmXY9OEGk9SR/WSLY=; b=ftjd//XjU0wDWKzAh3izoy6XiEzzm9GutRO5F+zsjeyWdNPxS2FRFQ8ohFuzzK+Qoa xuG0EG+CzYnQSnw1L/5xz6rqfU2fihO622kPmzA8HMcWR11iJWstjYLGWCcS2X1SJYfC F0G+/CibBVunkY7zlhD3lKzXgq0Gj02BGHSbdJOvBzt33eUG7OVabEN7v/U9dBjYvwK6 /TdOciXUE7k1G4pXWwGnGVUJ+1umNfPrgM90R+iytiiZqzn1uup614hOAGFSA78DXwrl zw79mCXT3zBzOZY5NToUJHdkNPSaNxGidYdAlhk8oj4h9vHPttMs7b3vP9VRC4bBRcVB J1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FhlApcqD; 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 b3-20020aa7c903000000b00463f8aad371si7969603edt.239.2022.11.14.02.42.49; Mon, 14 Nov 2022 02:43:13 -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=FhlApcqD; 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 S236151AbiKNKmk (ORCPT + 99 others); Mon, 14 Nov 2022 05:42:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235968AbiKNKmh (ORCPT ); Mon, 14 Nov 2022 05:42:37 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F26D1D66F for ; Mon, 14 Nov 2022 02:42:36 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id l8so12559819ljh.13 for ; Mon, 14 Nov 2022 02:42:36 -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=zDzwDb0dnKoTPgCy4RBfiMpDFetmXY9OEGk9SR/WSLY=; b=FhlApcqDxCtCoupJ/TIS0Ykf65afLK30ejNB8v2zhMO/08W/KJGjo+jBHJsNqt10pm 1GEqKtYy830ohGlIM91yJZR6N3HiLjwX/ldBqlIKM5vXM3kFSN+2IIvvYOj+qJ87LRfI dzDH0BAB4MOhdYEyvZ3udJabwEej8WLG14Mgf1O8L/LxHKjVqaxAvZpwi12vdDcBIVpu SuIQrLXvLUodif/creo1nAh7wOM3vGtIU/3ALCYbvqgi8SSmbsONxt+v709lJdR5zYEw fxJFr0c9PqfemGYKmEEvkXXlRTEeFlBCxfFC6xv+x98BZlO64aBbZ6833hVafWVYTAYD 0eZw== 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=zDzwDb0dnKoTPgCy4RBfiMpDFetmXY9OEGk9SR/WSLY=; b=SJ9LoKbKBw5VWlRs7EKoeikdSVx7DW0fg+Xol6tCh32SfrFRra6JFqOxsFdsF4adSm NYHsEZFG0g17MwXhuRyj/16842E6JUrriEtwZ4RibXwAPadF8e17jOIYkWJz/Wxp4SK6 d4getVcpEZ+knkwkHe7qxL9zem9C+ZwxeGJP2ujOFWhRhoTi6GZQ+PmSRILVotrS5+HJ +XsMC0O+qZaeOxRUlGlx5He+de1dWZXT0lVjqkagQoEygxHKzxUHxtg+72tFeRFJldG+ TzTHp3lolkzuE5YQ91e7OnlwNO8BzCKN6G7qIV1OO5USa2jfpRkekGa1MKS0w+EUa010 /l8Q== X-Gm-Message-State: ANoB5plMsPX0H2TLHoLFNGi6EQzuNPtZP3kRF4+jUhjyYEbggfl/A3QP iJcMW1T/++5o6Xe3nOJnXSTHjQ== X-Received: by 2002:a2e:960d:0:b0:277:4f:bd2a with SMTP id v13-20020a2e960d000000b00277004fbd2amr3622765ljh.341.1668422554455; Mon, 14 Nov 2022 02:42:34 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id bs21-20020a05651c195500b0026c4e922fb2sm1946486ljb.48.2022.11.14.02.42.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 14 Nov 2022 02:42:34 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/9] dt-bindings: arm-smmu: Allow up to 3 power-domains Date: Mon, 14 Nov 2022 11:42:14 +0100 Message-Id: <20221114104222.36329-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221114104222.36329-1-konrad.dybcio@linaro.org> References: <20221114104222.36329-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749467889587047799?= X-GMAIL-MSGID: =?utf-8?q?1749467889587047799?= Some SMMUs require that a vote is held on as much as 3 separate PDs (hello Qualcomm). Allow it in bindings. Signed-off-by: Konrad Dybcio --- Changes since v1: - Add minItems Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 9066e6df1ba1..82bc696de662 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -159,7 +159,8 @@ properties: through the TCU's programming interface. power-domains: - maxItems: 1 + minItems: 0 + maxItems: 3 nvidia,memory-controller: description: |