Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp613719imm; Wed, 4 Jul 2018 03:01:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfU8d6zDHe5Ii+2/60S62l4Bz8fBNVeFDs6N820PQ97QfensqgTbthtcHxchMuMl7BtXLoZ X-Received: by 2002:a17:902:530a:: with SMTP id b10-v6mr1479886pli.316.1530698473856; Wed, 04 Jul 2018 03:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530698473; cv=none; d=google.com; s=arc-20160816; b=UxfB5Lk9ceXb1LdL9Z1hHZWE2KAZBUNMDmGuAnfPtRsTBVxZqYPuckLNzHGgV1JTKB OcEdh0QoM6QB7TWoGB/EyEuKncT+LZtrSK+9Rf6MdTbi4ByImr0u1iCMpmYoq5dWo6tf G+6sBY8g9plntfpc3AdvVQNxSVpycEL6jucl029fvmPuGlEPi/P69k6JxNmak5VZai8J 0Qe66aSpLxxNS5x8Yth+A5XAbF43z8Z3Un91hVU1RKNKrnUUAJxwwxWVJ9Ud/+zPcCfg /xS2wAoErMaekfwvkP8KRsmJrYajhfRPl51wu2oFwkyA0ZWFa97tIM8pmXc56JfjIAdR UYXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=3drdAB/Ysv7b/95Bp1bXTdhhQUjkvKgh+U3fUP4ZGXw=; b=oa3mTyBlad4RNvRE4374WkMHQJkDU2anJx8o6466euvWVFpF94tczh/sUV7eS6ntO1 suRD2n3g6FkRPWIKzk1efQRUyXzYg9kAWwUlze/Uok9GmrS1YzHk0dMy1aXNqs6/KP2a tNOjnJIAl4c0nleaaAOXa8B03F0NnyUIchnC/Mom1MKtFi1VexiiwH+eIyBXbLvcEyOP HnVr4Wmrz/ciJGyRO0xFf+EoqTJzkIvsD4KT3HJqkCvxta4mpC01GOFIPk+PXVE9z3ap nSlyEZSNL181zHIpLElId1OtHgKuSHA4kmpoc15zCgFIzYkufCP/FtP6mqaH+OYRdM1i 9Dkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="OTU/pYYh"; 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 i22-v6si3334609pfi.105.2018.07.04.03.00.58; Wed, 04 Jul 2018 03:01:13 -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="OTU/pYYh"; 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 S1753635AbeGDKAJ (ORCPT + 99 others); Wed, 4 Jul 2018 06:00:09 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34841 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753048AbeGDKAH (ORCPT ); Wed, 4 Jul 2018 06:00:07 -0400 Received: by mail-pl0-f66.google.com with SMTP id k1-v6so2448943plt.2 for ; Wed, 04 Jul 2018 03:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3drdAB/Ysv7b/95Bp1bXTdhhQUjkvKgh+U3fUP4ZGXw=; b=OTU/pYYhJbFYmjBwC7NrZ2JbV5XXZJAtUvCeCxsWnVmA/LCjhco00nwNPDXEWfNC6L xiQfyV2MrE8W03xLUvg/5DbJYFrKyQspcHPwOkZisawLHO+6AbXe417xHeWGwd5gU1TW GK5PDKQY8KXiNGx4DpeHDJrNwBflSGEwDpSkk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3drdAB/Ysv7b/95Bp1bXTdhhQUjkvKgh+U3fUP4ZGXw=; b=i6AQ39WtqBS/K0esqC/iz/tXxyHp+wev3KaUzhITwVfWbvE2b8ArqkOYhqzfi34XPZ IhVxrw/Z++VtzCw09JZaUZyRkIAvtMg4qc9Vq/0hMr0afuMZ8d6ZzgfkFJh7B4bNcTVG jkjVSWnUVorRGhxs4AZVg/h5Dp1uEcD9edsVXiuP/TAJiURXduk1IJ0KHCq6C0B4vX07 ah8HYHwh+di/82aqj3sYQTp4HKXTh12zEMDd7el9zrZz8sEFpGCd7E5rHOElMvmpMA0+ Z8PL7DP9co8PbpzCjyLX9QQ64qYBNKqKL20XoLI/SvB4gYtV5XhnJGeaR8I/urLn8nBj Rntg== X-Gm-Message-State: APt69E1hBHXkvV96vmlaWqFkXa0eAsbm57fCl2ZAt2oFMdCsHLZI8vBR veY+JCdyFmhUaZ3OUxtJ/4swHw== X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr1424273plb.274.1530698407105; Wed, 04 Jul 2018 03:00:07 -0700 (PDT) Received: from localhost ([122.172.117.17]) by smtp.gmail.com with ESMTPSA id j129-v6sm6329936pfb.113.2018.07.04.03.00.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jul 2018 03:00:05 -0700 (PDT) Date: Wed, 4 Jul 2018 15:30:03 +0530 From: Viresh Kumar To: Matthias Kaehlcke Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Norris , Douglas Anderson , Enric Balletbo i Serra , "Rafael J . Wysocki" , Lee Jones , Benson Leung , Olof Johansson Subject: Re: [PATCH v5 09/12] dt-bindings: misc: add bindings for throttler Message-ID: <20180704100003.u4fagd2vxwwbp443@vireshk-i7> References: <20180703234705.227473-1-mka@chromium.org> <20180703234705.227473-10-mka@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703234705.227473-10-mka@chromium.org> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-07-18, 16:47, Matthias Kaehlcke wrote: > The Throttler is used for non-thermal throttling of system components > like CPUs or devfreq devices. > > Signed-off-by: Matthias Kaehlcke > -- > Changes in v5: > - patch added to the series (replacing "dt-bindings: PM / OPP: add > opp-throttlers property") > --- > .../devicetree/bindings/misc/throttler.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 Documentation/devicetree/bindings/misc/throttler.txt > > diff --git a/Documentation/devicetree/bindings/misc/throttler.txt b/Documentation/devicetree/bindings/misc/throttler.txt > new file mode 100644 > index 000000000000..2ea80c62dbe1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/throttler.txt > @@ -0,0 +1,13 @@ > +Throttler driver > + > +The Throttler is used for non-thermal throttling of system components like > +CPUs or devfreq devices. > + > +Required properties: > +- throttler-opps Array of OPP-v2 phandles with the OPPs used for > + throttling. > + > +Example: > + throttler { > + throttler-opps = <&cpu0_opp03, &cpu1_opp02, &gpu_opp03>; > + }; All you do with these phandles for now is that you parse them and read "opp-hz" value. For that purpose current bindings look sufficient. From OPP point of view: Acked-by: Viresh Kumar -- viresh