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: 51544 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 81201214B7 for ; Mon, 27 Jul 2015 15:20:58 +0000 (UTC) Received: by lbvb1 with SMTP id b1sf28740818lbv.3 for ; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=TMbKxmEJwSM7TEHdaCE7nSd2ndFFfysL62Imkrat1eo=; b=dHT8wLTzCUZ1P7sAM0/as6IgFjA//oEjeyyhGoA69Iw8zsExWC6FByACOxu3qd3EZ0 eA8OG8whgmugszz6JQMklUR4g1kB349vhILOT76RPRTOTFoEF1fzc2Zdu1M4Mver3qyS RqzvtUIZODvCxBuVK7+93tlUEwPjUyryT0OJO6OCHgxhBCGLX8GcyEVFl4rK7TJMukBc /L1kjFKehxWgzkouLflb3cQFXocjHAYuCqKLBeBVcmTNq7KLZV/n1mECwZWTodM/DBp6 0/YgbaaJ6Sqdb2KJh1kX6iY3Du5g5uC93fhACemGJCJoedZA6SJD+lZQSp09pYVxuYYg dZtg== X-Gm-Message-State: ALoCoQmUMSRcsoxtwDalaYzrhDPxMRf5GBaOdwG549QBdgyjXL+XQE+VL3w82KDYR2UNjxIhlvbd X-Received: by 10.180.96.137 with SMTP id ds9mr5496567wib.2.1438010457476; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.1 with SMTP id o1ls689120lao.12.gmail; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) X-Received: by 10.112.25.69 with SMTP id a5mr27181015lbg.16.1438010457289; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id lf6si15516005lac.25.2015.07.27.08.20.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 08:20:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbyj8 with SMTP id yj8so55851634lbb.0 for ; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) X-Received: by 10.152.25.228 with SMTP id f4mr27067176lag.112.1438010457195; Mon, 27 Jul 2015 08:20:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1591287lba; Mon, 27 Jul 2015 08:20:56 -0700 (PDT) X-Received: by 10.107.137.42 with SMTP id l42mr44470005iod.150.1438010455564; Mon, 27 Jul 2015 08:20:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si6356586igg.2.2015.07.27.08.20.54; Mon, 27 Jul 2015 08:20:55 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754151AbbG0PUk (ORCPT + 28 others); Mon, 27 Jul 2015 11:20:40 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38559 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752909AbbG0PUh (ORCPT ); Mon, 27 Jul 2015 11:20:37 -0400 Received: by wibxm9 with SMTP id xm9so121806609wib.1 for ; Mon, 27 Jul 2015 08:20:36 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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.