Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp27768imm; Fri, 25 May 2018 13:32:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoNAmVR7twjYxfqfIbT5DGw+Why3EQ6uGMYT7Ph4zPV7KtbXEyXUTAg6LmXf8SZRWQ1EkYa X-Received: by 2002:a17:902:265:: with SMTP id 92-v6mr3966967plc.368.1527280369420; Fri, 25 May 2018 13:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527280369; cv=none; d=google.com; s=arc-20160816; b=nEFVvOG5rENn8y5Bbib7XDxJ/ClsUjGfn3AzSCWldowBTHBirGhevmNtlLKbZE+pCo DS2+xl3JDZwXSaUcVK2i9A3VPnJgiNVM5qxxAZNRlnwovTgfbmw/i0FqohDJf4i+ZqKt WvAciTx/rAhbE5OYiy7JR9th3QVQFy0/v4V+K7e3BjF9aOR/DHBh5o7aoMntjFjWnqzo jk2Z48hnN1se3k47B+lGn/iVU6h3nrk2KNGDYQd5KI/MRi0wBOBk1e9hbB97OS//YxIx 9caZ6pLDPoB1KMQbU7e3+sApp6SxWvmAaPN3YADgqH1/BHokG+rd/HDIY62iqN+gj7IF 5zzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=dwNKF/O/EtyI2Dyb4YixW3LAyXIQJY2q52tRq5XnyLg=; b=QjwrO1MbA9haonF/ldTalB8Mmc7rlv+49CW9sAxjVd6gbUMAtMetrdfn/HifwBjk8q Hje7g/ChB5awgQDFR6au7yL0g6GofNL4e1MdzDF8s0/3Jnx8TA6wFQkWrl3atkOr6QJz ljdO7io7Uds8rWlMq+l5knym3PicCFHQn2fvaaCRCy5Rd4M9JSV8CNbIk2dOms/QuOnL kWUctppxafwnO453M3+NpCaoNcV2j2f5q31rnB4PXT9f09vRFyMOdqa4hd8cXIR3F3cK ugOOXFwDP8Pn+b0DHkJiiyxastCjewmRtN3LMa0fWQpvyY/xIxRno9yNkPT7wycbQDwd sfJg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si24727372plz.66.2018.05.25.13.32.34; Fri, 25 May 2018 13:32:49 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030366AbeEYUcE (ORCPT + 99 others); Fri, 25 May 2018 16:32:04 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43598 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030297AbeEYUba (ORCPT ); Fri, 25 May 2018 16:31:30 -0400 Received: by mail-pf0-f195.google.com with SMTP id j20-v6so3082992pff.10 for ; Fri, 25 May 2018 13:31:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dwNKF/O/EtyI2Dyb4YixW3LAyXIQJY2q52tRq5XnyLg=; b=LcTFCZGEYmYKyVBojFBvH4vHj6g0KtZiJTkooYCKrVZPuORDaT7RvraKZ59qgb5HLQ eQXxApJe5S+8JN6BKSZqNo6RX0LwFT7vdxwt8DMksMFNxUB0FNgtIi1+SDVPPUq9wDr3 Bbwe/1cJZf2gTsL/QVa1D8xGq1af/Zz4HFd83jHAV4aIzKvWeEYWCANjyxQKjNl+uI0B iYwoJvAiq+kLvBpxeDYlEtlEw04jN0e3eDiPd51ngsg8klrS2bQbIje88gDpOCJE6gsG uC0oDErsf5EfaPFd+ToqjvomO81FQJF0PNY6E1XnxLcLcQubt6W6gk6ieSqdfeF3MTxM dyGg== X-Gm-Message-State: ALKqPwfbRMsabaGFv5wEIzOFaHw0YLl4I0oaKmwzPJWpwvYgUC8sdr75 cWfYcYS2cWQJ9lg2AURn7tz2Kw== X-Received: by 2002:a65:4b49:: with SMTP id k9-v6mr3067329pgt.369.1527280289607; Fri, 25 May 2018 13:31:29 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id p1-v6sm42912360pfp.137.2018.05.25.13.31.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 13:31:28 -0700 (PDT) From: Matthias Kaehlcke To: MyungJoo Ham Cc: 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 , Matthias Kaehlcke Subject: [PATCH 10/11] dt-bindings: misc: add bindings for throttler Date: Fri, 25 May 2018 13:30:42 -0700 Message-Id: <20180525203043.249193-11-mka@chromium.org> X-Mailer: git-send-email 2.17.0.921.gf22659ad46-goog In-Reply-To: <20180525203043.249193-1-mka@chromium.org> References: <20180525203043.249193-1-mka@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Matthias Kaehlcke --- .../devicetree/bindings/misc/throttler.txt | 41 +++++++++++++++++++ 1 file changed, 41 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..92f13e94451a --- /dev/null +++ b/Documentation/devicetree/bindings/misc/throttler.txt @@ -0,0 +1,41 @@ +Throttler driver + +The Throttler is used for non-thermal throttling of system components like +CPUs or devfreq devices. + + +Optional properties: +-------------------- +- cpufreq: A sub-node which is container of only cpufreq + Type: sub-mode nodes, used to describe the throttling settings + for a CPU (or CPU group sharing the same policy). + +- devfreq: A sub-node which is container of only devfreq + Type: sub-mode nodes, used to describe the throttling settings + for a devfreq device. + +cpufreq node: +============= + +Required properties: +-------------------- +- cpu: The id of the CPU to be throttled. + Type: unsigned + Size: one cell + +- throttling-frequencies: Frequencies used for throttling, corresponding + Type: unsigned to throttling level 1, 2, ... + Size: array + + +devfreq node: +============= + +Required properties: +-------------------- +- devfreq: A phandle of the devfreq device to be throttled. + Type: phandle + +- throttling-frequencies: Frequencies used for throttling, corresponding + Type: unsigned to throttling level 1, 2, ... + Size: array -- 2.17.0.921.gf22659ad46-goog