From patchwork Tue Nov 25 12:28:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5378301 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4D02D9F3D0 for ; Tue, 25 Nov 2014 12:31:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78D1F20142 for ; Tue, 25 Nov 2014 12:31:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09387200D9 for ; Tue, 25 Nov 2014 12:31:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtFFM-0005hF-47; Tue, 25 Nov 2014 12:29:32 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtFEn-0005K2-UZ for linux-arm-kernel@lists.infradead.org; Tue, 25 Nov 2014 12:28:59 +0000 Received: by mail-wi0-f178.google.com with SMTP id hi2so1235587wib.17 for ; Tue, 25 Nov 2014 04:28:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TIV1PrYOPyhCIWjOGfjTe7dhSGmZNIFqAV2aUSoHgvg=; b=WkcIq+w1fXEL4GJLnisNvnYCHhdhQngVAbPMojsajUR9df6y3JCyUSGfwYeigHFeZg 9uOfBefuu3Wmjh16GFhoSaAik0xclxYkdoFerZD9TfshRIgHF1/AeNU6cl8YUZUtF0tf 0bfm/pQnVpnG8ZD/GjbdDl5bucMRb7tBxAfeCb6hdbD+5ZEcHSbTWZICB+Xw95i7mxLO 0NAoIoihmeXCR4MT5X6RiEeY+56GT7tH5wxAIWTq1NtHgbe+0zM6hE00vg/O72W92+ef kaSjNIVlviCXrbZ39xO/tXG4CjmQFlU/bVD1bBauAn9LXMH8T5VJ2VV5yiMH4bCr4LwD gvjg== X-Received: by 10.180.14.226 with SMTP id s2mr30509459wic.61.1416918516239; Tue, 25 Nov 2014 04:28:36 -0800 (PST) Received: from localhost.localdomain (AToulouse-554-1-130-34.w90-60.abo.wanadoo.fr. [90.60.105.34]) by mx.google.com with ESMTPSA id s9sm2625598wiz.12.2014.11.25.04.28.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 04:28:35 -0800 (PST) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v5 2/2] dt-bindings: Update documentation for "system-power-controller" and fix misspellings Date: Tue, 25 Nov 2014 12:28:26 +0000 Message-Id: <1416918506-9366-3-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416918506-9366-1-git-send-email-romain.perier@gmail.com> References: <1416918506-9366-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141125_042858_182222_55DFA0EC X-CRM114-Status: GOOD ( 11.62 ) X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, robh@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, johan@kernel.org, balbi@ti.com, lgirdwood@gmail.com, broonie@kernel.org, grant.likely@linaro.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Romain Perier --- .../devicetree/bindings/power/power-controller.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree/bindings/power/power-controller.txt index 845868b..4f7a3bc 100644 --- a/Documentation/devicetree/bindings/power/power-controller.txt +++ b/Documentation/devicetree/bindings/power/power-controller.txt @@ -1,18 +1,18 @@ -* Generic Poweroff capability +* Generic system power control capability -Power-management integrated circuits or miscellaneous harware components are -sometimes able to control the system power. The device driver associated to these -components might needs to define poweroff capability, which tells to the kernel -how to switch off the system. The corresponding driver must have the standard -property "poweroff-source" in its device node. This property marks the device as -able to shutdown the system. In order to test if this property is found -programmatically, use the helper function "of_system_has_poweroff_source" from -of.h . +Power-management integrated circuits or miscellaneous hardware components are +sometimes able to control the system power. The device driver associated with these +components might need to define this capability, which tells the kernel that +it can be used to switch off the system. The corresponding device must have the +standard property "system-power-controller" in its device node. This property +marks the device as able to control the system power. In order to test if this +property is found programmatically, use the helper function +"of_device_is_system_power_controller" from of.h . Example: act8846: act8846@5 { compatible = "active-semi,act8846"; status = "okay"; - poweroff-source; + system-power-controller; }