Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1445884imk; Mon, 4 Jul 2022 03:17:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vfFeEOrJKFhF+vrsLf8VROVn5Z03Yfa9I1ANubezQmWY+xCXLfqGBFnzJ8MslI/FavMvfR X-Received: by 2002:a17:90b:e02:b0:1ef:71e5:a18a with SMTP id ge2-20020a17090b0e0200b001ef71e5a18amr14048619pjb.177.1656929864108; Mon, 04 Jul 2022 03:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656929864; cv=none; d=google.com; s=arc-20160816; b=zPzrjueL63IzwDhmiNq7DMR3JwyIk0D1WdUUnPa3SwSQGCpR4yU3jSxv280Tq0M/UA 7NqykzGGUuWhQcGmShCp9bPQYL9/1OjbK2NgK3YSYrbkmBoHRTxiKKvqgzNZeiUysuWP ZjCjMlRzHzvSn+JcwLbvyJ94k3bexe2LPbyFK9H82FXI8xCPyLhR2MhoUdhWCRzmBr0J ERut58r/mAFIou9QgP/sQwJleYXmWGY8/UmflBBuT9BPeFnKsnhDOL8AHEPgtdtnfE6T Xf0fyJiAj44Fegecs98mAvlFNigfsJO4QGTN5yaIYIN9dfBMm2/mfakNszabsrGjhs1o Y7Ew== 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=72m7epCKc8DRYc24vKvm2IZvvf4jAtJWITsZpUnezm8=; b=ENTBEivRZNRc6hlbgBhyeUr3tAb6SAE7LhE7EoStmEiXKtH0eYxSOgKNNJICNPcA8O bcWesi67aBNCMWJ/HaYPX4xPTSt+W7aWFCYA/Kf5KibhIDz6hdnKN6dQ6BXokTDDq45t kPKb3+2o44kZ4BU2ZRV6Xev2z16bSTsvvMi9vZdxFvJwOdNbuWC74yr8Da6RgNd2GA2L jpNtAi9qFACt0x5/xiUcmobqFHm2deQU9ysAl+vkx8g3Ocy5yuw8vLvkBSd5PXVIWeSE mZ/QLMqwvIByBBZMu697lYf3fjaisheuYgfqpY1cRi616+ALhNfrxmibi8QMI2JDYioV 3njw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=blWIqK+Y; 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 ay13-20020a056a00300d00b0051bf5d506e1si5845788pfb.33.2022.07.04.03.17.32; Mon, 04 Jul 2022 03:17:44 -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=blWIqK+Y; 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 S233527AbiGDJcD (ORCPT + 99 others); Mon, 4 Jul 2022 05:32:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231341AbiGDJbp (ORCPT ); Mon, 4 Jul 2022 05:31:45 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84DFBDF71 for ; Mon, 4 Jul 2022 02:30:42 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 68so8421775pgb.10 for ; Mon, 04 Jul 2022 02:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=72m7epCKc8DRYc24vKvm2IZvvf4jAtJWITsZpUnezm8=; b=blWIqK+YPLczSwFFpFvxMHpuLKD1i7l9cU7XpIkKtx3GqDxZ1nKppBQcRJiBeJIWoi vUAbMikhw6SgBzcJZGW/Z8uj7FrOlsXLBNuzliHLqZGTc/OBose0BfSsMaFb/eL6Hale j0NdxRTKR9ZK8hGC7enZTehdi8jHAD9ZQrMVhc/YBmisGFHIvQSfzusArZQhM/BBCEPI IaJ3pK7bDpf2v/yk0iR35ugaE/U4HpuAG+KWT7ROHNkVcCRcfLp51tqCL2caDWkpNBkk dS3iF+yJQ3789yYqgAr2bHbLV8YPmczajP3WBXv6BtHqJ1SANsCXFlatzq1WjLKnlFBe t4hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=72m7epCKc8DRYc24vKvm2IZvvf4jAtJWITsZpUnezm8=; b=AUKMOh7a+46SUzcDt45e+vuhKQdK1AoVxqwUwg5Xb7oz4lSd+vm7d6+pbnDbD/Tyhs 08zZ81V7gxEK85F9BkH6ggJnXFMUz+YB7+7bHCYFKnMqHC/7vfsLyBpu26QywkcMYqGz 8Qs/pnE/Izw5+8qC17UokGQkb6jc2y5q1eVsZ2bsQP85KsNR2K0WQ1wPhDXzg9pcGTbv 0ut1PQgct8hrZkULX488uaHprGsUAVE6OQLwfAnKsGM5ZxQIo2q155J/tpKDIKjobYcE X4MzWrgc602IKN3up2TzZQhjZadA8vdh/N7ncRrEelFKoDgFv4lhIQohgxh4Z+e+PE6h gjRQ== X-Gm-Message-State: AJIora8/lEtMqoTThzPxQ2KQeYDDGyj98VTVmrPsgEVBCLYhSUxP9/RQ xkK73PmI3+9w2i+tmVklrbLoFA== X-Received: by 2002:a62:b514:0:b0:525:1ccd:4506 with SMTP id y20-20020a62b514000000b005251ccd4506mr34508280pfe.8.1656927041886; Mon, 04 Jul 2022 02:30:41 -0700 (PDT) Received: from leo-build-box.lan ([154.3.32.171]) by smtp.gmail.com with ESMTPSA id ms16-20020a17090b235000b001ef81bac701sm2926177pjb.42.2022.07.04.02.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 02:30:41 -0700 (PDT) From: Leo Yan To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue Cc: Leo Yan Subject: [PATCH v3 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag Date: Mon, 4 Jul 2022 17:30:25 +0800 Message-Id: <20220704093029.1126609-2-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220704093029.1126609-1-leo.yan@linaro.org> References: <20220704093029.1126609-1-leo.yan@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,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org To support path tag in icc-rpm driver, the "#interconnect-cells" property is updated as enumerate values: 1 or 2. Setting to 1 means it is compatible with old DT binding that interconnect path only contains node id; if set to 2 for "#interconnect-cells" property, then the second specifier is used as a tag (e.g. vote for which buckets). Signed-off-by: Leo Yan --- .../devicetree/bindings/interconnect/qcom,rpm.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml index 8a676fef8c1d..cdfe419e7339 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml @@ -45,7 +45,12 @@ properties: - qcom,sdm660-snoc '#interconnect-cells': - const: 1 + description: | + Number of interconnect specifier. Value: <1> is one cell in a + interconnect specifier for the interconnect node id, <2> requires + the interconnect node id and an extra path tag. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 1, 2 ] clocks: minItems: 2 -- 2.25.1