From patchwork Mon Jul 27 15:20:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 6875201 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 374EDC05AC for ; Mon, 27 Jul 2015 15:21:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F069206F7 for ; Mon, 27 Jul 2015 15:21:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78760206F8 for ; Mon, 27 Jul 2015 15:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754124AbbG0PUj (ORCPT ); Mon, 27 Jul 2015 11:20:39 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:33557 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbbG0PUh (ORCPT ); Mon, 27 Jul 2015 11:20:37 -0400 Received: by wicmv11 with SMTP id mv11so143872068wic.0 for ; Mon, 27 Jul 2015 08:20:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wWiwbHypNrYac5VbxAKY8xfaiOlw5ox8Qv+Q/aXQzlU=; b=HkCcofQRbMgKuzFqKQJHtjP7eBjMz2eVeGVA+0gi1Mm+aOtkMk25W0tdb7M9YXZaeD dCTGU9rMo+s/55xZiaxkBY5LL35ot0lrkMogjOrp9f8UUS3Q0uVSjjZCQ2ABcZdGQEdU W7mQk8sd/Hrudar7G8fjHZk6i4eDXooz3lM4XZAamxMnh40eeKHc6ZvnYBmt/8txHhw9 P60rKX5lssesMNsby9QRn7u1A4ev6sTfIqjcYt8eJazLU+oKtaFe6T2EJlI0BWbuD4Rx Dp4gVF26werWqAOuzZFXX/kKBgmDKvk1KA2UhkC/KJnD7+vIISTgshFZ92TRnrI6BbA0 DGXg== X-Gm-Message-State: ALoCoQkhPA0OVD2oq0SIEkf9P5JYIcDoSUOG8QweiKbpgIsBfUA4ij3ky7Q0ZUZxZOy2b3wDIRTX X-Received: by 10.180.7.130 with SMTP id j2mr25574913wia.29.1438010436654; Mon, 27 Jul 2015 08:20:36 -0700 (PDT) Received: from localhost.localdomain (host81-129-173-55.range81-129.btcentralplus.com. [81.129.173.55]) by smtp.gmail.com with ESMTPSA id ul1sm28408275wjc.30.2015.07.27.08.20.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 08:20:35 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, ajitpal.singh@st.com, sre@kernel.org, dbaryshkov@gmail.com, Lee Jones Subject: [PATCH v4 1/2] dt: cpufreq: st: Provide bindings for ST's CPUFreq implementation Date: Mon, 27 Jul 2015 16:20:29 +0100 Message-Id: <1438010430-5802-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Viresh Kumar --- Changelog: - Using OPP-v2 - Moved (and linked) a bunch of documentation to ../power/ .../devicetree/bindings/cpufreq/cpufreq-st.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt new file mode 100644 index 0000000..79add9d --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt @@ -0,0 +1,40 @@ +Binding for ST's CPUFreq driver +=============================== + +Frequency Scaling only +---------------------- + +Located in CPU's node: + +- operating-points : [See: ../power/opp.txt] + +Example [safe] +-------------- + +cpus { + cpu@0 { + /* kHz uV */ + operating-points = <1500000 0 + 1200000 0 + 800000 0 + 500000 0>; + }; +}; + +Dynamic Voltage and Frequency Scaling (DVFS) +-------------------------------------------- + +Located in CPU's node: + +- operating-points-v2-sti : [See ../power/opp-st.txt] + +Example [unsafe] +---------------- + +cpus { + cpu@0 { + operating-points-v2 = <[OPP list phandle]>; + }; +}; + +For an example of an OPP list, see ../power/opp-st.txt.