From patchwork Mon Jan 30 10:51:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 9544797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D3FE8604A8 for ; Mon, 30 Jan 2017 10:51:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B463F1FF60 for ; Mon, 30 Jan 2017 10:51:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A93C726E75; Mon, 30 Jan 2017 10:51:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D44ED1FF60 for ; Mon, 30 Jan 2017 10:51:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbdA3Kvf (ORCPT ); Mon, 30 Jan 2017 05:51:35 -0500 Received: from mail-wj0-f195.google.com ([209.85.210.195]:33318 "EHLO mail-wj0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504AbdA3Kvf (ORCPT ); Mon, 30 Jan 2017 05:51:35 -0500 Received: by mail-wj0-f195.google.com with SMTP id un2so7238861wjb.0; Mon, 30 Jan 2017 02:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p8szkpBqdzbq6KjKiRQbLMNdqrNzyQkP+otuqjYyEf8=; b=dDemNO0xic5tMMHHsaSoncythlBI+LcxkcLa83IxwegyeEOMh4As0ERB5fyEUNTpTI EkpYTXzt8retMGminqfNKu07k0lsgcXtRjaxOxlZ2LXiWKe2blJKdhPNVZ6mQxq+zojd S7DV0C0MPLk9BFvO1IM12cGdSiYz7YvzBHHZeN8R7l3Um/p5cjZAUvfk7dP0MSaxymlh aj88aFK2yJGYpbBkajs8eNJa9exCCBBI7pcmLyQa0wxtv6UxEll7qHIIvVLGbZTT9UjE fluGRJRI46zBHTrCw/IcvuNT7GpLd2Q0V415A3kfXBIJkCxC40K6Ls+N0Zs3StgxV6qR JAeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=p8szkpBqdzbq6KjKiRQbLMNdqrNzyQkP+otuqjYyEf8=; b=jspOKmy3NKxr21GosZ9SEOZlwPrNfJ/iKcyYuUnQO3S5WVQGpVbxLvdz1MhzFBj2rR CYWd1vKWriKvXRSCOTc35D4h3f18om/Lk2dADrB/6IUOGKJBhDIhbCs5lH6+vIAFADXn 4B93C2J6QdSMlnJDxLfkSw3N5LO8VQb7QyUmuzrwk4wolLdM58Q1kQ/SSLJG5rYjm9Sp ArKx3QBlsPD49Lu8CL1UWLFrjCUZnqih6mcQomhAI8VCBzZyzX85+JT/MWTeWoNOLbZ3 g8T3Jn1LJJJfkkVjGFw+foNkaEt0A6Q2WYYZJN5LyP/dSv/OCn/9OWjFgSi02018vB/T N55Q== X-Gm-Message-State: AIkVDXIwIotupCmvGtI0/gIEP1oNKXK0qHKzyYo79cXsOqqjveFZH8PDh+Y1vZulA6DXCw== X-Received: by 10.28.97.2 with SMTP id v2mr14460234wmb.3.1485773488318; Mon, 30 Jan 2017 02:51:28 -0800 (PST) Received: from localhost (port-6519.pppoe.wtnet.de. [84.46.25.144]) by smtp.gmail.com with ESMTPSA id g5sm22153874wrd.0.2017.01.30.02.51.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jan 2017 02:51:27 -0800 (PST) From: Thierry Reding To: Rob Herring Cc: Guenter Roeck , Sebastian Reichel , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Pawel Moll , Mark Rutland Subject: [PATCH 3/3] dt-bindings: power: reset: qnap-poweroff: Drop reference to pm_power_off Date: Mon, 30 Jan 2017 11:51:22 +0100 Message-Id: <20170130105122.6475-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170130105122.6475-1-thierry.reding@gmail.com> References: <20170130105122.6475-1-thierry.reding@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Guenter Roeck Replace reference to pm_power_off (which is an implementation detail) and replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Acked-by: Andrew Lunn Signed-off-by: Guenter Roeck Signed-off-by: Thierry Reding --- Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt b/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt index af25e77c0e0c..c363d7173129 100644 --- a/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt +++ b/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt @@ -3,8 +3,7 @@ QNAP NAS devices have a microcontroller controlling the main power supply. This microcontroller is connected to UART1 of the Kirkwood and Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the -microcontroller to turn the power off. This driver adds a handler to -pm_power_off which is called to turn the power off. +microcontroller to turn the power off. Synology NAS devices use a similar scheme, but a different baud rate, 9600, and a different character, '1'.