Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1119796ioo; Fri, 27 May 2022 01:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa4NlXWka06kzk8332Umjhy+54+6Vq62aYgG0gslm1Jbr8ICV4KN5510N2Dve5AV1w6j5y X-Received: by 2002:a17:903:124a:b0:154:c860:6d52 with SMTP id u10-20020a170903124a00b00154c8606d52mr42510523plh.159.1653641220066; Fri, 27 May 2022 01:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653641220; cv=none; d=google.com; s=arc-20160816; b=JbZD1wanKxVXVdwTZyqL098ltRydTbe3039m9LRiGQu3k2nho8awvLPS9hr2Kiapr+ HOR8xPpOjNAZj0u0vn7vnxyLf7fqx+LXnuJoP+AtlO6ACgYU5FVUsvYZ2D5YjBVXawTa 4FqeURPgqdaVoGlMuuTntexlyfLKL0Uy8v2IF1MhCEXv469vAbxH8rDbZR+jt2YgrQap y22/Q+SSkyS/0Bqw5sVPsDmFaw6wqzw0wI/KHC2FME0aERELBboLW5jx7xnAI7Vpda4D iHWhxfCpo5Rtz964SwKH6iI7ND3+FExdr2BFkdT1cu61IlrXXb4m0vax2bS4Zvlm1Tbe HiQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kbA/XPfgYe97A871O4yCZGDbLdPICAAC1mz9m3oyjmA=; b=LAMt01ZsBFEcn8EcNcrSQGuDs6zqi8fSxKNvO8UjjwLsyX25q1rtcfptl4xvmqIvET Sod++q4VW41mlWnCIQzqCLA8ZjCIWMUv1wwwDJhD67dsHg94wKp+OhtPijzR9/N+Equn X0LubBFVnHXW38myBZVlpZ9E+GgYbnXn7menRD7Xz4zLhpIgqDEIYIRNh8n88JT77pAw cAGwDexAFhHlIDygGLZxilFNsxU8tgX0LwlVac6Pv+4wG7nKY2zwte/3CvZF+kofHFYC inlanPeJL29wioF5QYXieXJJxXt6yUW9BPlNPbAle0z/0xLHxjK5JsyVZZtExd7WrsQ3 ecrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AMO1Jaht; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f26-20020a63511a000000b003f641a6fe83si5485494pgb.277.2022.05.27.01.46.47; Fri, 27 May 2022 01:47:00 -0700 (PDT) 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=AMO1Jaht; 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 S242573AbiEZMep (ORCPT + 99 others); Thu, 26 May 2022 08:34:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240425AbiEZMem (ORCPT ); Thu, 26 May 2022 08:34:42 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4757E95B5 for ; Thu, 26 May 2022 05:34:41 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id gh17so2764420ejc.6 for ; Thu, 26 May 2022 05:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=kbA/XPfgYe97A871O4yCZGDbLdPICAAC1mz9m3oyjmA=; b=AMO1JahtE/L14l9S/DcwHOnZKcrgeHAFI0Djsqo/AOYuaFXBsKpGid7DtC4JVXDXdU VJowDrEf6t3TjkmkywcYo/5XeJ4XTsPcnJS668xTSWvXmsBnVzTrx7PTdiZ/OS+2CMzz kibCzUxp01EzArbJNCQRtB1UUaZ1S7wSc6McgeKEjimgjMPzJyv7JVCkx/KVCWce0XhH EAwKjG4l3qSm6hecM03SDvuD64rTLvl31nIEO4E0g3By19fTWBaOJAXq6Gq551cNqayr JFz8WnZiO+3C1pUxmlSZ+hk/H3WzyYua/oVKDdqGloR8A3QSRogH9NEMEDWF7Gz4PMcs BcDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kbA/XPfgYe97A871O4yCZGDbLdPICAAC1mz9m3oyjmA=; b=O8QMaWcw2PLM+MTVkfoJuVe4MqxpwTEHz49l17Sl19ikTkCjrMZ+PQo1UE5jeXmVap a9db5C9BuvPB41WjfdkXvRJC2Myor1c+CkRhkxpL0J+sgiPo9+OKmD4iG7PM2b6KwaN6 rPe5jfID7fmods3gk6Qplkgn6WP7b/EFPlM/UKl63zWvQfTBk3BEi12iKuGAN7J1WXEe RdlPp0jD7ock4DrkWYItnI+31M+e9RaKRmeUm8EjvL510hMVqPD58QwSESdLa3xmLsNm XjPREmPxJYXrR9Zxfe2tSp2VbCA3mASkY1Er5uEQ71IUhtblCFNVBimHF0ceQF7mp9Hk z8Qg== X-Gm-Message-State: AOAM5331ojlXz9aowbQIKSn7viiuNjwiac/qhwIqZXuUGvVkm3T1h9IS oCIIFUjNF86UPfOs77gROzzyYg== X-Received: by 2002:a17:907:8a19:b0:6fe:e146:d107 with SMTP id sc25-20020a1709078a1900b006fee146d107mr18328016ejc.763.1653568479848; Thu, 26 May 2022 05:34:39 -0700 (PDT) Received: from [192.168.0.177] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ia15-20020a170907a06f00b006fee2c743b6sm474096ejc.159.2022.05.26.05.34.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 05:34:39 -0700 (PDT) Message-ID: <219392a2-a873-a1da-b8b4-b3cc83013cf4@linaro.org> Date: Thu, 26 May 2022 14:34:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v3 2/5] dt-bindings: interconnect: qcom: Split out rpmh-common bindings Content-Language: en-US To: Luca Weiss , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Odelu Kukatla , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220525144404.200390-1-luca.weiss@fairphone.com> <20220525144404.200390-3-luca.weiss@fairphone.com> From: Krzysztof Kozlowski In-Reply-To: <20220525144404.200390-3-luca.weiss@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 25/05/2022 16:43, Luca Weiss wrote: > In preparation for the platforms, split out common definitions used in > rpmh-based interconnects. > > Signed-off-by: Luca Weiss > --- > Changes since v2: > * Reorganize patches so order is more logical > * Replace bouncing maintainer email with Bjorn > * maxItems: 2 for qcom,bcm-voters and qcom,bcm-voter-names > * Remove | from some descriptions > > .../interconnect/qcom,rpmh-common.yaml | 43 +++++++++++++++++++ > .../bindings/interconnect/qcom,rpmh.yaml | 22 +++------- > 2 files changed, 48 insertions(+), 17 deletions(-) > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml > new file mode 100644 > index 000000000000..e962e8dc9a61 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml > @@ -0,0 +1,43 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interconnect/qcom,rpmh-common.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm RPMh Network-On-Chip Interconnect > + > +maintainers: > + - Georgi Djakov > + - Bjorn Andersson > + > +description: > + RPMh interconnect providers support system bandwidth requirements through > + RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is > + able to communicate with the BCM through the Resource State Coordinator (RSC) > + associated with each execution environment. Provider nodes must point to at > + least one RPMh device child node pertaining to their RSC and each provider > + can map to multiple RPMh resources. > + > +properties: > + '#interconnect-cells': > + enum: [ 1, 2 ] > + > + qcom,bcm-voters: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + maxItems: 1 > + maxItems: 2 > + description: > + List of phandles to qcom,bcm-voter nodes that are required by > + this interconnect to send RPMh commands. > + > + qcom,bcm-voter-names: > + description: > + Names for each of the qcom,bcm-voters specified. > + maxItems: 2 Property above has maxItems before description, so let's make it consistent (also above). Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof