Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp785580ybk; Wed, 20 May 2020 11:54:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi9200K8CkL2w+rpwXT4mXhy/imYytKmtgJHJ0v9BwT4zC+hbBVfgrYrm1cZvjx5QsVrb6 X-Received: by 2002:a05:6402:1855:: with SMTP id v21mr4828818edy.189.1590000868668; Wed, 20 May 2020 11:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590000868; cv=none; d=google.com; s=arc-20160816; b=dsD/mE2zfP/F48tH3AYPGQW+RUft2lpxrJ0joKttSsiPaa3p0tyBqaC30PhzkWdRWb Y1Q71a6rRu0MzgEtVSQGcZSZROQfMhiteOltbc83RaHtyk4wAWrR375IMBkuOeKNaSnr Dk15NIQrzoSq1+U31hhjbpm+7sbkcMvTFi1UAo8cAKbx3QSLUWlO32eOgf6guFdQeR03 7K66IvX0Orq7jW4wYBwSQPBVDfeb0XsOuJusdhaQ+KijaHSwIRQ3J/Ns1Zfyz121ysJE ow1OHESkFRCL42zAvj2TA21rmMOt/4eSolTVOlJRJ1q5/QtwOj3/KB5jd6nAx582tNOZ zW8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=iDZjJDD859EkBfV9Fuaq6zQVkAKwZb8CaDaTamqjkpI=; b=ODyfLfCrxhp42cPAs7y8g8HhEWyuwXSFJKKCSOSpI59VwWAHgKvHYhyj1nmBsjvvVq Bsu7ZtQlJPogXFHT05A3z6lT4c+In7Bw0ocFzP1aOY17v95v3Tq1S0G6fgAhOaUlRdzR LPEpPNQmyqVCSBjVQQZymL0dwuafXlt8Q6+CBZ9Hicn0Sl1OI4w7N3lQ25VSiF7Jsy68 Bs9yPSW9DDeijERIg++xEplWqqovAWT4BtvgukRmZhbrVLJzzza5ElhphmtN+UtF7Elh ML7DJZiipjPT7vDbcZ4GUo6gNiFml6bKYFY4rSPdSslE9NIU7dty56FC0/+tc0r6Lcsl Tn2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=K7oYzZUV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si2149581ejm.315.2020.05.20.11.53.41; Wed, 20 May 2020 11:54:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=K7oYzZUV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726737AbgETSvW (ORCPT + 99 others); Wed, 20 May 2020 14:51:22 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:24201 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgETSvW (ORCPT ); Wed, 20 May 2020 14:51:22 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1590000681; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=iDZjJDD859EkBfV9Fuaq6zQVkAKwZb8CaDaTamqjkpI=; b=K7oYzZUV2WNoVptijz8m+TvGbPYHd5zGHLVjhlw0awUv4HOmhvQjsRdSsDXq/bI7hQ+6iku1 r+xbOHuOPB71RPlh2O8eVPgSlTwYdKkhEAUCmGF9wRQ4rXt9UwK95PkvRHoJIhJjVjECl64r QDa2tta/P3v2Rykkv+luZsxGMII= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5ec57c2462ee3a3497a7c6ef (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 20 May 2020 18:51:16 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 47CCFC43395; Wed, 20 May 2020 18:51:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 57FC7C433C8; Wed, 20 May 2020 18:51:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 21 May 2020 00:21:14 +0530 From: Sibi Sankar To: Saravana Kannan Cc: Rob Herring , Georgi Djakov , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" , Matthias Kaehlcke , Rajendra Nayak , Bjorn Andersson , Vincent Guittot , Jordan Crouse , Evan Green , Linux PM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Subject: Re: [PATCH v8 09/10] dt-bindings: interconnect: Add interconnect-tags bindings In-Reply-To: References: <20200512125327.1868-1-georgi.djakov@linaro.org> <20200512125327.1868-10-georgi.djakov@linaro.org> <20200519185836.GA469006@bogus> Message-ID: <3a392629be195fa6bebca18309efffab@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-20 01:27, Saravana Kannan wrote: > On Tue, May 19, 2020 at 11:58 AM Rob Herring wrote: >> >> On Tue, May 12, 2020 at 03:53:26PM +0300, Georgi Djakov wrote: >> > From: Sibi Sankar >> > >> > Add interconnect-tags bindings to enable passing of optional >> > tag information to the interconnect framework. >> > >> > Signed-off-by: Sibi Sankar >> > Signed-off-by: Georgi Djakov >> > --- >> > v8: >> > * New patch, picked from here: >> > https://lore.kernel.org/r/20200504202243.5476-10-sibis@codeaurora.org >> > >> > .../devicetree/bindings/interconnect/interconnect.txt | 5 +++++ >> > 1 file changed, 5 insertions(+) >> > >> > diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt >> > index 6f5d23a605b7..c1a226a934e5 100644 >> > --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt >> > +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt >> > @@ -55,6 +55,11 @@ interconnect-names : List of interconnect path name strings sorted in the same >> > * dma-mem: Path from the device to the main memory of >> > the system >> > >> > +interconnect-tags : List of interconnect path tags sorted in the same order as the >> > + interconnects property. Consumers can append a specific tag to >> > + the path and pass this information to the interconnect framework >> > + to do aggregation based on the attached tag. >> >> Why isn't this information in the 'interconnect' arg cells? >> >> We have 'interconnect-names' because strings don't mix with cells. An >> expanding list of 'interconnect-.*' is not a good pattern IMO. Rob, Currently the interconnect paths assume a default tag and only few icc paths require tags that differ from the default ones. Encoding the tags in the interconnect arg cells would force all paths to specify the tags. I guess that's okay. > > Also, is there an example for interconnect-tags that I missed? Is it a > list of strings, numbers, etc? Saravana, https://patchwork.kernel.org/patch/11527589/ ^^ is an example of interconnect-tag useage. > > -Saravana -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.