Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3237664imw; Mon, 11 Jul 2022 04:58:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1snQh/D61bQ9ZZggHhLJlmoOmG5ujp7PC25a3MNA5PSwnjgMBk22KGT+KyVLyK3B1tP/1uw X-Received: by 2002:a17:907:7747:b0:6f3:ead4:abcb with SMTP id kx7-20020a170907774700b006f3ead4abcbmr18273458ejc.296.1657540701693; Mon, 11 Jul 2022 04:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657540701; cv=none; d=google.com; s=arc-20160816; b=X/XC7SmszYbQDMNhNgvFo0ipskHmbAUoNO98JtZWSDy/SRDSPCBH2D2En+i4vFbN0o uRJsCIuqe3ERNwoXCCyniUCOqaty22HxPpQl4sFWHyUC3xax0QsYXZS0hLz6EzAZqMiP z1m6v10We3W2r3/XV164hebbPVmp2pLjfzQoDgItEZEfTbNJvugZGCxjvryJz84vsPVy cBwsR9EG64rLkZ3h8a2bKgfcYfiquZeU3OY1I3Qmownp6a1up/x9i0tZfE4UYjRNI67a 63ufPvJphBvKpG4Y7yh/l15NloM1Iesm25CATSeEmYWFNgZGNFA2GUSc7A3t41YDiG9Y Ix9A== 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=ti2okOxO+DUVTFPOrDB0DRHWNFsTePHaWE122EF3rHs=; b=tvIQLgIzuuKx8iyJO0DSLicm/e841MFrplK6n3E8EWSpKpqDEE8cK2zoGQf7CEThUm y5wSsTAMr4QgW1fHpWBx47FFwEIe23YqWk2kClYlGCjPVRja7CGBcHnrr+BcolWXGmNH nDXPNR5fvpwEh82V14I1+aEKl0VTkqbnoAkn0ud+bhAspPyB+S2Bd8kSF+FFVHMO0KPg 7Y6r9rP5XOwdn2tVWQaZD3fS6m21MmUu3BBIuBTwna16vKsktJ1K21hZfoKrBPVdv7Vw UodVec2G0xXBYVn845p5iv5x/QmzwrFWZu4nVFFCnDW5kCmLUep3289ZS1mkenc3AveX iTEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jhZVzyi7; 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 m27-20020a50931b000000b0043a5ed3f191si10624700eda.506.2022.07.11.04.57.57; Mon, 11 Jul 2022 04:58:21 -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=jhZVzyi7; 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 S230053AbiGKLxP (ORCPT + 99 others); Mon, 11 Jul 2022 07:53:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbiGKLw6 (ORCPT ); Mon, 11 Jul 2022 07:52:58 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 551A4275CD for ; Mon, 11 Jul 2022 04:52:56 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id x18-20020a17090a8a9200b001ef83b332f5so8061656pjn.0 for ; Mon, 11 Jul 2022 04:52:56 -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=ti2okOxO+DUVTFPOrDB0DRHWNFsTePHaWE122EF3rHs=; b=jhZVzyi7KkZdBBKcBSehp4JJNma6Rnd1dUGsVYwp6Vbj3UKhYcsCFSiQJ77Ux36ERH I27bLdrtbu6KJ7Bcjfudr19iHKv48igTAm41K9S8Y1OvaJH5xIiAaE+nJyJomGsRM78V ePw0+fkdb0o5KRhlS+XM6SpsgkGvdxhI4cH5gagLoO9s9xxddt3J6yUNms9U30ihsofp aD8SIA13gyCR9JfhclVnfGmfq3uLvuQHz74fkeQWvHvJb82qnS4hzTYAEwvEBFFpSUMU 0Mj4y9SO51TnffG986ygjfsRu9xAQaSPIUL4Vh8m7LGmluNKFmGx3Oii+hI2SQNvBb5G ZuOw== 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=ti2okOxO+DUVTFPOrDB0DRHWNFsTePHaWE122EF3rHs=; b=0Caie0ojLQX3FZujjc3PZSdKsplG9PvHVzjidn7V6qPLUJqmGmUSOcTZzLi2RqSC/q wzAu+rxUisffnFfRIevFDbWyYIUXwyVD2oWwwx3yla523n+DCo03uDyNpOzgWFoKUH4k pSS9YTdvZOGMQ9qhPfnwLfmL3b1szPpFZjM8uRFdQgARvhRxSlhgNIb8il2Wjn0c9NA5 S2buLB1qIQJ26YKX8EAZYm+Lq7q9D8CEAyUV9rip+O577lEmfKbe8EpvlswTY323GEYM 7tXa5trWlngV8P8ZTW0v9drDLG6Puwl0T46xyCHxBdHhV8c3Cdo0OChmY7WMKWdERZrt 4gRQ== X-Gm-Message-State: AJIora/ni5bVJ2C7AJyIR47+1WmN/0+4AGj/xx2OPp9rVZ3iejTkj9EG NFj+hJv33Q/zQf79W9ZWc7mW0g== X-Received: by 2002:a17:903:3011:b0:16c:3d34:fde4 with SMTP id o17-20020a170903301100b0016c3d34fde4mr9014748pla.79.1657540375578; Mon, 11 Jul 2022 04:52:55 -0700 (PDT) Received: from leo-build-box.lan (n058152077182.netvigator.com. [58.152.77.182]) by smtp.gmail.com with ESMTPSA id h14-20020a17090a648e00b001eaec8cea55sm4586502pjj.57.2022.07.11.04.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 04:52:55 -0700 (PDT) From: Leo Yan To: Georgi Djakov , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Konrad Dybcio , Rob Herring , Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leo Yan , Krzysztof Kozlowski Subject: [PATCH v5 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag Date: Mon, 11 Jul 2022 19:52:36 +0800 Message-Id: <20220711115240.806236-2-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220711115240.806236-1-leo.yan@linaro.org> References: <20220711115240.806236-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 Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/interconnect/qcom,rpm.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml index 8a676fef8c1d..4b37aa88a375 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml @@ -45,7 +45,11 @@ properties: - qcom,sdm660-snoc '#interconnect-cells': - const: 1 + description: | + Value: <1> is one cell in an interconnect specifier for the + interconnect node id, <2> requires the interconnect node id and an + extra path tag. + enum: [ 1, 2 ] clocks: minItems: 2 -- 2.25.1