From patchwork Fri Nov 1 22:08:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 3128531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 75112BEEB2 for ; Fri, 1 Nov 2013 22:10:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFB0C20498 for ; Fri, 1 Nov 2013 22:10:09 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C059B203DF for ; Fri, 1 Nov 2013 22:10:08 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcMuW-0003Z0-E2; Fri, 01 Nov 2013 22:09:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcMuP-00027K-IK; Fri, 01 Nov 2013 22:09:37 +0000 Received: from smtp.codeaurora.org ([198.145.11.231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcMuC-00024I-5M for linux-arm-kernel@lists.infradead.org; Fri, 01 Nov 2013 22:09:25 +0000 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 580E313F076; Fri, 1 Nov 2013 22:09:03 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 4B12413F2A5; Fri, 1 Nov 2013 22:09:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from sboyd-linux.qualcomm.com (i-global252.qualcomm.com [199.106.103.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C795A13F076; Fri, 1 Nov 2013 22:09:02 +0000 (UTC) From: Stephen Boyd To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/11] devicetree: bindings: Document qcom,saw2 node Date: Fri, 1 Nov 2013 15:08:52 -0700 Message-Id: <1383343739-23080-5-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 1.8.4.2.564.g0d6cf24 In-Reply-To: <1383343739-23080-1-git-send-email-sboyd@codeaurora.org> References: <1383343739-23080-1-git-send-email-sboyd@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131101_180924_334894_63AEC2D5 X-CRM114-Status: GOOD ( 15.76 ) X-Spam-Score: -2.4 (--) Cc: linux-arm-msm@vger.kernel.org, David Brown , Rohit Vaswani , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The saw2 binding describes the SPM/AVS wrapper hardware used to control the regulator supplying voltage to the Krait CPUs. Cc: Signed-off-by: Stephen Boyd --- When a SAW is for a CPU it is put behind the CPU alias region similar to the ACC and timers. I haven't documented that here because I'm not using it right now. I'm also thinking perhaps l2-saw2 is not important (technically its the same hardware block as a CPU's saw). Instead I should point to this node via the l2-cache node via some *-supply property. Thoughts? .../devicetree/bindings/arm/msm/qcom,saw2.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt b/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt new file mode 100644 index 0000000..6360db2 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt @@ -0,0 +1,23 @@ +* SPM AVS Wrapper 2 (SAW2) + +The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the +Adaptive Voltage Scaling (AVS) hardware. The SPM is programmable +micro-controller that transitions a piece of hardware (like a processor) into +and out of low power modes via a direct connection to the PMIC. It can also +be wired up to interact with other processors in the system, notifying them +when a low power state is entered or exited. + +Required Properties: + +- compatible : Shall contain "qcom,saw2". + A more specific property can be specified as follows: + "qcom,l2-saw2" +- reg: Specifies the base address and size of the register region. + +Example: + + regulator@f9012000 { + compatible = "qcom,l2-saw2", "qcom,saw2"; + reg = <0xf9012000 0x1000>; + }; +