Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8157046ybi; Tue, 23 Jul 2019 03:49:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxozztCZIxWYkTWVwtcZkSm35rHTXDlJZh1JEsLvX5wS5zrHu4VK6Sqzv6wR1kYsYWd2DwJ X-Received: by 2002:a62:3103:: with SMTP id x3mr5017837pfx.107.1563878946511; Tue, 23 Jul 2019 03:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563878946; cv=none; d=google.com; s=arc-20160816; b=Ljz0/pYMBHdVlXS1cAmCI1OAVi6x8i3LP9y2HP3mmanzIDIDrIz25KrD5flGz06bsJ rJWb1bo1nZhKr0k0D0DXunpP4+coDw8rBAK1SCNaacEG3rIkGkEH/7JwSuUnNlmjtko4 PJJ25vz9gCjgXtLO9NIVEVoN/Ni6g2lSHeZPzgr3Rz+cXMIlXJMGHuEWAW8fx53gpZ7H lZMW5o4u/D7NU3dpEWislNlKaF+jvIlZXOOjP3lHpHQZtwEMIo5Ik3tJrHeMi1W2yHHR 4zOBFiwi6U0r+oVU2gwpXO75DFVNnTq+0ZTcfHRFgxoB6+4UrXiF7i865zFHh87ZMHbs tO6A== 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=67APUiaG7UxLheSEbISe3Tn27sJMteMTbqoURFT1XoA=; b=QA5JFTfSGUE72JJE3O8kyQqM2yxmeSAm1G/GyrZDIUaSSwPWicRh+HCCQ38qa1RP6C 8q1JR1gFLLO3mzZoLb7WQzy3rAzBRyBvQsr2/jIre9BBqYmNrc2x14ubObfomBtYExrE 6uuz9QzxQYchHdDcc3ayuAci3u0tq0AgEhBaTiTl5kZTPjnbYMcmB3ZWw3dwYLwBmYEo VOdklh2bZTIemDyvyspGrBY17F5JzwkCvLcqe2BWhYR5XdeuFYGDdgaV05kpyEb5nWmn lIavs2pq2flbnEKMM8oVt11E44fhaNF8Fw67FXF8nM9a3FXOqYzLmAXSyre4wOE46GO5 MFSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=I6+P34LY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 4si11037927pfg.55.2019.07.23.03.48.50; Tue, 23 Jul 2019 03:49:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=I6+P34LY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731413AbfGVXlb (ORCPT + 99 others); Mon, 22 Jul 2019 19:41:31 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39484 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731378AbfGVXlb (ORCPT ); Mon, 22 Jul 2019 19:41:31 -0400 Received: by mail-oi1-f194.google.com with SMTP id m202so30935775oig.6 for ; Mon, 22 Jul 2019 16:41:30 -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=67APUiaG7UxLheSEbISe3Tn27sJMteMTbqoURFT1XoA=; b=I6+P34LY0f5vyF9B+uy9PslT5WKLMItEvyXbe9YYr7nQoBjnek11aXKjq7SPMA8aRd hyG8LG4WpMge8Tx0dLJfxmylKxyG+PshphEzX4/SNFn+UiPfLCmbbTzSfnaLKmEK3X6o nLDC1oobEibs7sSL7paxJNGewRGuYDZMnnE6xUdPhoL/vrYc+vJu2xEdQBm18Nkx29Fm ht0hSU6pkxIrySCddzxSXCWY0BIRx3hV0pf2pxFVj1MIorBQidxVRfXS/UlhCbpv2EL2 hb4orOES+rjszSEk4H3kqsZb2RWkSk/lOJNRKIOtvJAiA5hHKAjCHGyjKDlgZbVLq7g2 ZS0g== 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=67APUiaG7UxLheSEbISe3Tn27sJMteMTbqoURFT1XoA=; b=JsAo0AzFwXNo6P1xd7ryTAWCI2M8p+/XdCJN6BtONW81817saOv477e6LwTV3EAigK GVaQ8qYnasGNI4j/VTL4gZclB0DtnD3KebaZt4bCgaDBR03B//u9KIGcDa2gH+62Pikm OTiMmHqUtb2gK0ILH1+nzGtns45UDFiicIeGIQJEvhzwARm1dUeU6hqptntUbr0KtRtR zN1sYEwH9/lYLPMqsb0+h103lLvy0++AUlOikEdd/+MFB5+Rk7ryPzheDxttU4BbWBw8 fM/BlkVcYK9l4EFPU9DdjlV3vK7tezxYPC7ZoyACZFIkm8cNrX/sB4GpzL0KwO1TVlhc isnA== X-Gm-Message-State: APjAAAXo5dNYb3NArjKQ7szztXd1IRtcgSaQJhw84WDkbCov4BxAxxBb E2i7zcvHQmlTKVm9Ywwr1bPGAQWyKxVDoF112iG3ng== X-Received: by 2002:a05:6808:90a:: with SMTP id w10mr34680176oih.43.1563838889831; Mon, 22 Jul 2019 16:41:29 -0700 (PDT) MIME-Version: 1.0 References: <20190703011020.151615-1-saravanak@google.com> <20190703011020.151615-2-saravanak@google.com> <98b2e315-e8da-80ad-1ef8-e6b222c1c6fe@codeaurora.org> <20190722233501.GA19594@bogus> In-Reply-To: <20190722233501.GA19594@bogus> From: Saravana Kannan Date: Mon, 22 Jul 2019 16:40:53 -0700 Message-ID: Subject: Re: [PATCH v3 1/6] dt-bindings: opp: Introduce opp-peak-KBps and opp-avg-KBps bindings To: Rob Herring Cc: Sibi Sankar , Georgi Djakov , Mark Rutland , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" , Vincent Guittot , "Sweeney, Sean" , daidavid1@codeaurora.org, Rajendra Nayak , Bjorn Andersson , Evan Green , Android Kernel Team , 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 Mon, Jul 22, 2019 at 4:35 PM Rob Herring wrote: > > On Tue, Jul 16, 2019 at 11:58:08AM -0700, Saravana Kannan wrote: > > On Tue, Jul 16, 2019 at 10:25 AM Sibi Sankar wrote: > > > > > > Hey Saravana, > > > > > > https://patchwork.kernel.org/patch/10850815/ > > > There was already a discussion ^^ on how bandwidth bindings were to be > > > named. > > > > Yes, I'm aware of that series. That series is trying to define a BW > > mapping for an existing frequency OPP table. This patch is NOT about > > adding a mapping to an existing table. This patch is about adding the > > notion of BW OPP tables where BW is the "key" instead of "frequency". > > > > So let's not mixed up these two series. > > Maybe different reasons, but in the end we'd end up with 2 bandwidth > properties. We need to sort out how they'd overlap/coexist. Oh, I totally agree! My point is that the other mapping isn't the right approach because it doesn't handle a whole swath of use cases. The one I'm proposing can act as a super set of the other (as in, can handle that use case too). > The same comment in that series about defining a standard unit suffix > also applies to this one. I thought I read that whole series and I don't remember reading about the unit suffix. But I'll take a closer look. I've chosen to keep the DT units at least as "high of a resolution" as what the APIs accept today. The APIs take KB/s. So I make sure DT can capture KB/s differences. If we all agree that KB/s is "too accurate" then I think we should change everything to MB/s. -Saravana