Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp257111iog; Wed, 29 Jun 2022 23:37:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ut48rc8m+lebhglgn2jMpqkIoZFpUHdVfFAIXKl+aSYUFP4QsSp+OowW0CHojIWfkXNAOx X-Received: by 2002:a05:6402:94e:b0:437:8d58:4ece with SMTP id h14-20020a056402094e00b004378d584ecemr9324193edz.396.1656571025200; Wed, 29 Jun 2022 23:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656571025; cv=none; d=google.com; s=arc-20160816; b=ImRLD9agSLMwoNCMXrLygBrq7cf9l8JT+CPS4Ylv4Az8JO96UDt0a27Cl0vj6iHtu9 GPOZA7vdCqJOMP6IbBabCJuSRYScvG8qNJ5Q016sxt+VCiL/vFIk4AC6EKUbLPJqi8D9 X284QpCUln0fwTbU4w3euTBx38jGcRCz+GbpXSFtjI9wSQqHRUdpugmwagUtZQxHHthm tw9u0a4244FDTIfKMsUbzy5p+8kU9kS3Qa0ExzIL612gs/twt22sx3raQKaGL8Z8eBJD gZ9mMnnXIvaUPWaUoYoaOF7pZzUmcomIsI8ZKr/qox0VpWEpINzur35Vl7DBNMU5NM28 7BOg== 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=gNI2eErAlbnR33nd0lAZVKjou66LXCn6ck0SwxHv5j4=; b=MMQcSueRENXo198Iln8AhPPJ0xVgTvRWZFQL2f1shxEUC4j9+hSWBCCYDKfZjnGgxr JWZBJwg4Qf2rzV0tvPNOO2l7Amhb9S8D7L7cQYYYSRLQFTn4+4Nrp9m6l03j8AD970t2 8Hzib6rh2RuR4iBrgXjQPdyzEjcV1TTzxFzLKaVhbmC0Vbm/nBQ5PZ8sbdfOv+vBaiA/ 2T6xLz7mIhQeyUk9s6sz/BMC2EjEWvglwIcseakVpm/xoMoaJ/h+EpkXyYWMkXmri1D3 4E9pGeTRuqfRnLqyACEc09QD0cQwNRziBGiEqK2v/iQAsBxI8J9PHNTmUY1D6CopPFRA Zybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d5+O04sr; 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 sc25-20020a1709078a1900b0072639dcac43si22448983ejc.1009.2022.06.29.23.36.40; Wed, 29 Jun 2022 23:37:05 -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=d5+O04sr; 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 S232147AbiF3F6T (ORCPT + 99 others); Thu, 30 Jun 2022 01:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbiF3F6P (ORCPT ); Thu, 30 Jun 2022 01:58:15 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A009244 for ; Wed, 29 Jun 2022 22:58:12 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id cv13so17760537pjb.4 for ; Wed, 29 Jun 2022 22:58:12 -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=gNI2eErAlbnR33nd0lAZVKjou66LXCn6ck0SwxHv5j4=; b=d5+O04srINiHMfVNndzpsa6dNc8jJ5xaDyO5vi6a0dFIecI/i37uzbcZo+hqiDz8SX ZPAiQNVFjdhW25SzvxGfbZqLlpUJdYRZtW905YwHk3mvZOrTxzBE02a/vPIkz+hoYyGf 53zP+cQt/oYmN7A+1gGnp8pKV89GoBjHeOs+k40TTB0EGj5beyrYGx7Ue7Djk/1pReSm vddAG4P9uHV2dvOKfacbSaxrfAWH4fjrgKg/ga1D72uvEYNpd2ka9cDsLZANOXgIjPeY 9mEr3kBVR9ahZAs9Hvf6+kCYkKYd1j4jQEgJoSPfQjc/QUKzFYD2e0zLfLJFMpYDVbyY tRPg== 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=gNI2eErAlbnR33nd0lAZVKjou66LXCn6ck0SwxHv5j4=; b=vV6r4ddxrXdRR86EbvqHKNgFTm3mV6bwjkNbMjwwzJ+yowdIHk8jdSDkhX1ZufA4XG 6u7zjui0JrWdUiWKlOpEf9a2lYTuSPYaYB9+lhScDXXQwr1H7de2GXXzV6NqmmmmWtc8 3PEttuQ7JqwXz1atQ/Dvdkl0V8bCu73QrRrEFAFu6MBBTH5CG08GPi8DL7MXLFsbpQRX 0tAaOf413cYm83oqhOSPypeqrvHRyQdhRrErj5tB7/d9xinMppB1a9tPxnvpqboTfmSi LD+XjTOKmYJZeC+jkrgvFCDeIVgXldoDOaYDJA8w1ifp7lAq9BtrXqPnrz4KEmSJpF4A yUsQ== X-Gm-Message-State: AJIora/UfcVT6FUaeQVujYgxmhEBi2S167cXJBTopU+ygHjKn1N0Dfgr 1PKlRLRRf4VrlPxIlPWa8FYJEQ== X-Received: by 2002:a17:90b:4a03:b0:1ed:2071:e8c with SMTP id kk3-20020a17090b4a0300b001ed20710e8cmr10354265pjb.216.1656568691964; Wed, 29 Jun 2022 22:58:11 -0700 (PDT) Received: from leo-build-box.lan ([154.3.32.171]) by smtp.gmail.com with ESMTPSA id b14-20020a17090a550e00b001e31f4cc977sm3309288pji.56.2022.06.29.22.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 22:58:11 -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 Cc: Leo Yan Subject: [PATCH v2 1/5] dt-bindings: interconnect: Update property for icc-rpm path tag Date: Thu, 30 Jun 2022 13:57:18 +0800 Message-Id: <20220630055723.704605-2-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220630055723.704605-1-leo.yan@linaro.org> References: <20220630055723.704605-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 | 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..16df305ea243 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: + '1' is one cell in a interconnect specifier for the interconnect + node id, or '2' requires the interconnect node id and an extra + path tag. + enum: [ 1, 2 ] clocks: minItems: 2 -- 2.25.1