From patchwork Wed Nov 18 09:53:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 7647741 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 00E45BF90C for ; Wed, 18 Nov 2015 09:58:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29F96205F7 for ; Wed, 18 Nov 2015 09:58:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D820204D3 for ; Wed, 18 Nov 2015 09:58:11 +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 1ZyzTC-0001ht-O6; Wed, 18 Nov 2015 09:56:06 +0000 Received: from regular1.263xmail.com ([211.150.99.132]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZyzT8-0001Ye-E1; Wed, 18 Nov 2015 09:56:03 +0000 Received: from andy.yan?rock-chips.com (unknown [192.168.167.78]) by regular1.263xmail.com (Postfix) with SMTP id C00828E5C; Wed, 18 Nov 2015 17:55:34 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id E71D929B04; Wed, 18 Nov 2015 17:55:26 +0800 (CST) X-RL-SENDER: andy.yan@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: andy.yan@rock-chips.com X-UNIQUE-TAG: <0c98b12acf95ed4e721a77c04b260642> X-ATTACHMENT-NUM: 0 X-SENDER: yxj@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 21101QX0R8G; Wed, 18 Nov 2015 17:55:29 +0800 (CST) From: Andy Yan To: heiko@sntech.de, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/5] dt-bindings: soc: add document for rockchip reboot notifier driver Date: Wed, 18 Nov 2015 17:53:30 +0800 Message-Id: <1447840410-19794-1-git-send-email-andy.yan@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447840044-19689-1-git-send-email-andy.yan@rock-chips.com> References: <1447840044-19689-1-git-send-email-andy.yan@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151118_015603_404452_C4AD0CEE X-CRM114-Status: UNSURE ( 7.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, khilman@linaro.org, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, benchan@google.com, sjg@chromium.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, Andy Yan , treding@nvidia.com, linux-arm-kernel@lists.infradead.org, wxt@rock-chips.com 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=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Add devicetree binding document for rockchip reboot nofifier driver Signed-off-by: Andy Yan --- Changes in v3: - add dt binding Changes in v2: None .../bindings/soc/rockchip/rockchip-reboot.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/rockchip/rockchip-reboot.txt diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-reboot.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-reboot.txt new file mode 100644 index 0000000..6f69c8d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip-reboot.txt @@ -0,0 +1,18 @@ +Rockchip reboot notifier driver + +This driver get reboot mode arguments from userspace +and stores it in special register. Then the bootloader +will read it and take different action according the +argument stored. + +Required properties: +- compatible: should be "rockchip,reboot" +- regmap: this is phandle to the register map node +- offset: offset in the register map for the storage register (in bytes) + +Examples: + reboot { + compatible = "rockchip,reboot"; + regmap = <&pmu>; + offset = <0x94>; + };