From patchwork Thu Nov 6 14:23:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5243251 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 863D29F4D4 for ; Thu, 6 Nov 2014 14:26:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B83B20125 for ; Thu, 6 Nov 2014 14:26:45 +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 79172200FF for ; Thu, 6 Nov 2014 14:26:44 +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 1XmNyp-00084Y-OG; Thu, 06 Nov 2014 14:24:07 +0000 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmNuy-0002y7-Mn for linux-arm-kernel@lists.infradead.org; Thu, 06 Nov 2014 14:20:09 +0000 Received: by mail-wg0-f46.google.com with SMTP id x13so1300219wgg.5 for ; Thu, 06 Nov 2014 06:19:46 -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=X3vFhNgaQw8vbbElb1Ajb/HiyCq6FnFrXKTjp0MvPaU=; b=P+b1UE4DTRRVRRx0Xd3aqrab4MeLbFB0Xy8ykPq8jXUOO69t0e5zLIjRu10OAOch9C 4WGDqKT61P/CqVn6ZNAnn0Mm8+SpvK/zzp7UK5EzZZKihDLqgvh8lWjrqVnB0xFosJa1 ISgNT9CKsyngr5BFHT13Xdn4XPdvgtVWD/Hx+9V0kIpb+3Yx1ymNeZIzjsck6YWaL3yb BKn1Npfn9qz0K53MyH6zm8JYZp6JwipAMTFq6GLRDrdtwNMPMqdq/y47lJcDpYvYyo5G IklozCy6t1FMS19NAnRPuqv/B1QK3bhAw/qNvZY5tL7pFfPMEPnSwg8J4Vr/NL+/xYS5 KK9Q== X-Received: by 10.194.237.9 with SMTP id uy9mr5890018wjc.69.1415283586810; Thu, 06 Nov 2014 06:19:46 -0800 (PST) Received: from localhost.localdomain (AToulouse-554-1-154-42.w86-213.abo.wanadoo.fr. [86.213.97.42]) by mx.google.com with ESMTPSA id fa7sm7986138wjd.27.2014.11.06.06.19.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Nov 2014 06:19:46 -0800 (PST) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v3 2/2] dt-bindings: Update documentation for "system-power-controller" and fix misspellings Date: Thu, 6 Nov 2014 14:23:03 +0000 Message-Id: <1415283784-10885-3-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415283784-10885-1-git-send-email-romain.perier@gmail.com> References: <1415283784-10885-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141106_062008_958193_C42CD89E X-CRM114-Status: GOOD ( 11.57 ) X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, johan@kernel.org, broonie@kernel.org, balbi@ti.com, grant.likely@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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, 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..9afa847 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_is_system_power_controller" from of.h . Example: act8846: act8846@5 { compatible = "active-semi,act8846"; status = "okay"; - poweroff-source; + system-power-controller; }