Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp443849ybi; Fri, 26 Jul 2019 12:27:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoap1NjMFD5siuopT4xduhpQw1m8ztYF0l7dFqnNYT/Y136m2vydPqQ/GyQ7nvCC8fVhAI X-Received: by 2002:a65:4841:: with SMTP id i1mr92463024pgs.316.1564169230949; Fri, 26 Jul 2019 12:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564169230; cv=none; d=google.com; s=arc-20160816; b=SUScEIYzvWsfV3JdEyxl9fTJ0ehkXXw08aG7awA7svkuLAP7aXrEXOAuG/xNmO9NNU A4muZiMQcTbLzWB1tbRP9c7XRP65n/oCdhe0Q3GL5mjMXBtdDWkJSL28srpOUfekZYrT dtpzqTrxWAyr2y9hMzdHKiffmZPKqgD/E2aj1UeCsJXIDLjQxsigiDaHVwT45PGNWgmE 7Ij6icU7QnAezFvYE6eR117bvb1Uylvr9ULQ4oEp07g1ZD1HfUIc9pemjsaigxuDCjN0 VeGDhUi+F6FFhiJbaVZbdzW0CPwf9qU7+Y8QpG6Kn5x3tNnY+kWJ+oowfSiNvowuXjTS kJ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature; bh=GZJKtg+uuTl8N9vrfufJKhww0TktrWg1jm5WlPFiizU=; b=rJLBN1GSKrzC7pNC1Kz4KkEKiv1qcklLMVP99SP3YCRj24WDP98Tq3R5u9efgLsvep 0Ta2uL5GIwCeRAfIm4quHM4JHtvqr0MBrO4kanY8HnRdqS5lQcS5v1l4HzM5Jfl5/+Ib nuKhooEXfFGxCouA44izQKTxzhnkVwx6ULGn30Q8XmjhdiY2373gqAtdWv2+MLAVbQz6 0ZHOC/qoup190egA+DQPtxUyILxFYhWAmt4jzadzMgvAz0Ocz/Q1h7DMpZHj16a9EIBQ nrq6o7CqcGj1G7+Ke+E8T1k+eScXthuBc2iAaiaGTsOEDU++3H7MHJS5MMX6B8Euu5AT bn2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YtyAGuHx; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b32si7688261pla.277.2019.07.26.12.26.56; Fri, 26 Jul 2019 12:27:10 -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=@linaro.org header.s=google header.b=YtyAGuHx; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728435AbfGZQY4 (ORCPT + 99 others); Fri, 26 Jul 2019 12:24:56 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:33874 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727398AbfGZQY4 (ORCPT ); Fri, 26 Jul 2019 12:24:56 -0400 Received: by mail-lf1-f65.google.com with SMTP id b29so30217085lfq.1 for ; Fri, 26 Jul 2019 09:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GZJKtg+uuTl8N9vrfufJKhww0TktrWg1jm5WlPFiizU=; b=YtyAGuHxGQdEOCg9CQGxNHUVlLhu4G2uz96aayH4WQd7o3jkixvjbgN5GqjwIN+xdr CYfa0ZhbN9s/W4OfRJItcAqojLZtM6SnZX2n97hu6Vy1qUlDgAdByddti358EO3a+Snd mHcnVvauAQjjdduYKRbadtx66t5GZKGFX3ROXobOT19Ww0rZLYl3oNKj45hqFIjKxp2A GhHWUdWlAZfpbHOYsPOE7Y5Z/uYCcDG98+vS6bhFsjveQgAZZlkWmJMPkNjfEPnPn31f MotNXr1I8jPjWM7KxZN3FGLdJ1pdsHv1d8ZfI6xdV1MxAUYXcXpbZl9AN/eCpbZkzwoj bCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GZJKtg+uuTl8N9vrfufJKhww0TktrWg1jm5WlPFiizU=; b=a4pbmkOu9i+X9NQohZbb352Xhd1YnBoCHo++ydEp1XM/HSZ9VLBotpEaZ7ar+bqkGY lL+Zbqveg+4t6VWQ2HyzFX1dw+cHUJKoy9luHBO7SEAr/eKyXttRM3QfUA98kecxtqMW pitAxrk1WCLR0wqGjZNMiaoe7oey/jrkuJrTOsqYCHcnd8avhaRjWZaRt3IVI02nbgae /D4fKW4nU2Sg3QAtq36B2HVXWumCNNSEmf9CBeU7SM70rSWPSeMMaD7WP9QQraQLHEUZ um2WbFz76BtsW+Em/gb6YGggtM/B3ul6WjdxQvHB61aweMrokzpf5L6m9K7M3qaQPdJJ RaYg== X-Gm-Message-State: APjAAAUR9uMvdXYqHHJZEoRL1ougz3Dw6XU/Ffb6QR7D9I/9dcwfmhjs 1+FCykxXxPVaB1tvMBstkHHDWcaKU6c= X-Received: by 2002:ac2:4a78:: with SMTP id q24mr2687132lfp.59.1564158293308; Fri, 26 Jul 2019 09:24:53 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id b25sm8487967lfq.11.2019.07.26.09.24.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 09:24:52 -0700 (PDT) Subject: Re: [PATCH v3 1/6] dt-bindings: opp: Introduce opp-peak-KBps and opp-avg-KBps bindings To: Saravana Kannan , Rob Herring , Mark Rutland , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" Cc: vincent.guittot@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, Rajendra Nayak , sibis@codeaurora.org, bjorn.andersson@linaro.org, evgreen@chromium.org, kernel-team@android.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190703011020.151615-1-saravanak@google.com> <20190703011020.151615-2-saravanak@google.com> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= mQINBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWWc4m4KKg+W4zm8bSCqrd1DUgL f67WiEZgvN7tPXEzi84zT1PiUOM98dOnmREI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KWBE0uA3zFVRfLiT6NUjDQ0vdphTnsdA7h01MliZLQ2lLL2Mt5lsqU+6sup Tfql1omgEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: <2befbd75-e0f4-dbcc-e9b1-9a9f99c084d3@linaro.org> Date: Fri, 26 Jul 2019 19:24:50 +0300 MIME-Version: 1.0 In-Reply-To: <20190703011020.151615-2-saravanak@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Saravana, On 7/3/19 04:10, Saravana Kannan wrote: > Interconnects often quantify their performance points in terms of > bandwidth. So, add opp-peak-KBps (required) and opp-avg-KBps (optional) to > allow specifying Bandwidth OPP tables in DT. > > opp-peak-KBps is a required property that replace opp-hz for Bandwidth OPP > tables. > > opp-avg-KBps is an optional property that can be used in Bandwidth OPP > tables. > > Signed-off-by: Saravana Kannan > --- > Documentation/devicetree/bindings/opp/opp.txt | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt > index 76b6c79604a5..c869e87caa2a 100644 > --- a/Documentation/devicetree/bindings/opp/opp.txt > +++ b/Documentation/devicetree/bindings/opp/opp.txt > @@ -83,9 +83,14 @@ properties. > > Required properties: > - opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. This is a > - required property for all device nodes but devices like power domains. The > - power domain nodes must have another (implementation dependent) property which > - uniquely identifies the OPP nodes. > + required property for all device nodes but for devices like power domains or > + bandwidth opp tables. The power domain nodes must have another (implementation > + dependent) property which uniquely identifies the OPP nodes. The interconnect > + opps are required to have the opp-peak-bw property. > + > +- opp-peak-KBps: Peak bandwidth in kilobytes per second, expressed as a 32-bit As Rob already mentioned, KBps should be documented. See [1]. Thanks, Georgi [1] https://lore.kernel.org/lkml/20190423132823.7915-2-georgi.djakov@linaro.org/