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: 500473 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1183B1402C6 for ; Tue, 28 Jul 2015 01:21:09 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754100AbbG0PUi (ORCPT ); Mon, 27 Jul 2015 11:20:38 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33557 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753339AbbG0PUh (ORCPT ); Mon, 27 Jul 2015 11:20:37 -0400 Received: by wicmv11 with SMTP id mv11so143872069wic.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=apeQBWzPxxwZlzB72nS1k+CAxOPCzWsE5ZgDHVvUGy0yxuDRTC8o4EowzeBFGNLlFJ z6nf4tu+NhVWVNVkJIleM525clTt9Dg1kMUBbAk3A7hjD42M12w2U4EHTXcpGxIVTiwA uvioB6cmzWgSBvwKzIgOfvFJfhMa3SE83xoh1cM5WHNFc19iQJdTQfwoJo3A8YD9dlMB 2HBdq859iPsEQW6h8Y46PhrD6zMqYLho8fB5WXX7ncN//jcp1SvJ6JhX/mBPQEfcJafm lejvxnOqWtT3quQNm2AjfYRg0z1/rjDMzxbyLg7ZHvQR3UgWaFCnjiy+4Hs0MT6vtdt0 fxzQ== X-Gm-Message-State: ALoCoQnTAWFVV8VGfazpaLGRfA4VMAU17/e2ml2qDNUy+8zfFrmLesKCnecS1bmJxMvUFZXg8Cc3 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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.