Received: by 2002:a17:90a:bc8d:0:0:0:0 with SMTP id x13csp741681pjr; Wed, 20 May 2020 12:16:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPeax+DTvItYtb79/PIuy3W5+vvGmDDjwU/wr9VVUcSTZQP2JMxBe6RsWQw6IJCW5xC3w0 X-Received: by 2002:a05:6402:31b1:: with SMTP id dj17mr4869224edb.142.1590002177131; Wed, 20 May 2020 12:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590002177; cv=none; d=google.com; s=arc-20160816; b=lQ9YIhdAMlqRbxdMYAJZp1BcxLXIZ1vFYB0AZG+LELbebKcbzrV+MSSd6mHRfeykqw mlfmSI+4aP1SNUmBQ9oeuiKmGnIPt/j/WBXSM5ZDgo5XISRMrBeoBWi1rD010ztt5n/X mEmZG77tyTSfuB70+FjwhwioszCUb64l9r66BD1CvnvNd0h+XHrOGBVT3xZcC/fD3Q4+ E/Aq6iEHBH/TkQY/pkRql7VjsN/5em1EJA/8vdzqYhJQQk89+j6HQ9Kpxb2XqjJcWvW0 Ss79by1bqdrmSXmhvXzDqeoMrBRxvMco5X6U/Leo6PNVsgGect0tYuXk3tosn8aLQwh0 dpJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FRPY2XoLC1HQ0rwn66pqOU81U3Fi4846T5ndJoAtH6c=; b=Nh2eaKioSdaUj2zgdKZ9rz7htdDjGvxfUJZt3I0g0t2il5yJXKauJmO27J+aAMcfxB C+NQiVgFVOT2Qr+zYo2TxfXCF1ltnJQqElnGe/BZDk+CBjStO2Y80axClvnPsfrRyOfO VXZRP7slGzUtPSgi3gODEElf27zgor+1Ql/S1BNFFxUwANOHWR/xiXH6+OTx0GV1CUl6 s9z1tMUAmEN6MwArTZ4DD/QPsiE7jhg+oDR4W1K0RFDG9V4AprVPLNybjRMV6tPGaCNj q9vQeio641Qtc3rRgAe/RTHig8xn1zGkrzGVoE6zyfO9CmW21+bKQlePSvDlo93H3Ra+ S4Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Yg9w9UDs; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me26si2158048ejb.309.2020.05.20.12.15.53; Wed, 20 May 2020 12:16:17 -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=pass header.i=@google.com header.s=20161025 header.b=Yg9w9UDs; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726838AbgETTOF (ORCPT + 99 others); Wed, 20 May 2020 15:14:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbgETTOE (ORCPT ); Wed, 20 May 2020 15:14:04 -0400 Received: from mail-oo1-xc41.google.com (mail-oo1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF9C3C05BD43 for ; Wed, 20 May 2020 12:14:04 -0700 (PDT) Received: by mail-oo1-xc41.google.com with SMTP id z26so908124oog.8 for ; Wed, 20 May 2020 12:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FRPY2XoLC1HQ0rwn66pqOU81U3Fi4846T5ndJoAtH6c=; b=Yg9w9UDs6tUntrB8W23rRvi1y7E7NEUOuEnjPj0mpeq+am0z5b0QbPNF4VDCSYPmNw sBKAPvUKJzHKaDsnJH2JZpY+FDRJKMQvzx3iFRit/JfcMVrpJTmpnbVON7Bxf/XfxXhx SqiWGOZt4iUaAr+64SgvFOUa9XCxMkdB6tCyl/NUpElBr6edcOltHM/5iVm0zqFlnR6B Yb7RDU9oYm08GbL3xXfcqX/RZN1Ku84LRuC3b4+YrMeIBDOc5ogEIiVlGEFj2UD6Rtxn 7GHIxjZo9asxYbuP015cF2S2T+fsqaJGBwfVzgfZO6eo7G0AmhoP/sm90raRXD6asDHf GitQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FRPY2XoLC1HQ0rwn66pqOU81U3Fi4846T5ndJoAtH6c=; b=qhVxcGlJXQmXf4Cy/lAraQsnp7iX6KQBGvfO7rZEP6YA/RMCoT5U7qqRaoQldMtlBb blsir3cRtYiUpoGu7m0QpbB4Iecl5C/vOrRyPPe4JzBDPxNChQ6I3648QIprAmlTKKqw RRW/Z1SrxwT2A9QenQrtYIHhpuXZ7zkqNsP+57ImYjVT60doUVhc0GJ/qIXUHEKCThzw tfys8Yf0JIZebNiBSbldD+FkwO5yedjLklyU6sE+bCX6KYI1BOT9CGhWSSReGASq9zgq Mz63Yg/SwtNLezpnHX8yum1mZhxMcL+1Jz7jxC3VdnVcLUMDG8PLnFe0pdNIva4nc+nA SeSA== X-Gm-Message-State: AOAM533SVAPPeXme+EyfL3FiCE8VuoSLUO2EcgPSCjFHio5E07RItnNK 8u1vrbCuqroDgICg8j6uizpUIQt/M6RwE/7M4BKrGQ== X-Received: by 2002:a4a:b389:: with SMTP id p9mr4566919ooo.84.1590002043642; Wed, 20 May 2020 12:14:03 -0700 (PDT) MIME-Version: 1.0 References: <20200512125327.1868-1-georgi.djakov@linaro.org> <20200512125327.1868-10-georgi.djakov@linaro.org> <20200519185836.GA469006@bogus> <3a392629be195fa6bebca18309efffab@codeaurora.org> In-Reply-To: <3a392629be195fa6bebca18309efffab@codeaurora.org> From: Saravana Kannan Date: Wed, 20 May 2020 12:13:27 -0700 Message-ID: Subject: Re: [PATCH v8 09/10] dt-bindings: interconnect: Add interconnect-tags bindings To: Sibi Sankar 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 20, 2020 at 11:51 AM Sibi Sankar wrote: > > 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. I think that's the right thing. Those cells are meant to be "args" to the provider. > > > > 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. If we actually merge interconnect-tags, I think the doc should be updated. Instead of having to grep around. -Saravana