From patchwork Tue Sep 1 15:12:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 7106071 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1C0609F36E for ; Tue, 1 Sep 2015 15:12:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41392205B3 for ; Tue, 1 Sep 2015 15:12:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58152205DD for ; Tue, 1 Sep 2015 15:12:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbbIAPMn (ORCPT ); Tue, 1 Sep 2015 11:12:43 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:49586 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752411AbbIAPMn (ORCPT ); Tue, 1 Sep 2015 11:12:43 -0400 Received: from ayla.of.borg ([31.5.182.137]) by michel.telenet-ops.be with bizsmtp id BrCg1r0052yGKqv06rCgqP; Tue, 01 Sep 2015 17:12:41 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZWnEl-0004OO-On; Tue, 01 Sep 2015 17:12:39 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZWnEp-0000L7-12; Tue, 01 Sep 2015 17:12:43 +0200 From: Geert Uytterhoeven To: Magnus Damm , Simon Horman Cc: Michael Turquette , Stephen Boyd , Rob Herring , Philipp Zabel , linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/6] reset: Add renesas,rst DT bindings. Date: Tue, 1 Sep 2015 17:12:36 +0200 Message-Id: <1441120361-1232-2-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441120361-1232-1-git-send-email-geert+renesas@glider.be> References: <1441120361-1232-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 DT bindings for the Renesas R-Car Reset Controller Signed-off-by: Geert Uytterhoeven Acked-by: Magnus Damm --- .../devicetree/bindings/reset/renesas,rst.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/renesas,rst.txt diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt new file mode 100644 index 0000000000000000..aabf8dc6bce86ffc --- /dev/null +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -0,0 +1,28 @@ +DT bindings for the Renesas R-Car Reset Controller + +The R-Car Reset Controller provides reset control, and implements the following +functions: + - Register-based reset control for the various CPU cores, + - Latching of the levels on mode pins when PRESET# is negated, + - Mode monitoring register, + - Boot address registers for the various CPU cores. + + +Required properties: + - compatible: Should be "renesas,rst-", and "syscon". + Examples with soctypes are: + - "renesas,rst-r8a7790" (R-Car H2) + - "renesas,rst-r8a7791" (R-Car M2-W) + - "renesas,rst-r8a7792" (R-Car V2H + - "renesas,rst-r8a7793" (R-Car M2-N) + - "renesas,rst-r8a7794" (R-Car E2) + - "renesas,rst-r8a7795" (R-Car H3) + - reg: Address start and address range for the device. + + +Example: + + rst: reset-controller@e6160000 { + compatible = "renesas,rst-r8a7795", "syscon"; + reg = <0 0xe6160000 0 0x0200>; + };