From patchwork Mon Apr 27 22:30:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6283801 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C413E9F1C2 for ; Mon, 27 Apr 2015 22:34:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA45A2028D for ; Mon, 27 Apr 2015 22:34:50 +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 331EA202B8 for ; Mon, 27 Apr 2015 22:34:50 +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 1YmrZa-0000bE-U9; Mon, 27 Apr 2015 22:32:18 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmrYu-0000DS-Lg for linux-arm-kernel@bombadil.infradead.org; Mon, 27 Apr 2015 22:31:36 +0000 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmrYq-00074j-17 for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2015 22:31:32 +0000 Received: by lbbuc2 with SMTP id uc2so93456713lbb.2 for ; Mon, 27 Apr 2015 15:31:06 -0700 (PDT) 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=cjz5WkJTFnVY5ZRFkSxQU1zsyZn0f3sW7clWJXhX2wY=; b=07QAVWM0OvWniDQ0UF4ByH71uhkiSSGbyDtomRrAGKkWIHoDqwVi8Lk6/DZf+9eCQw CDVWCZNg34UDvikNzUw4kig7m6EpR/GSEpomR+SjXmwMf7KEBMkxgYVNUxvJgEDXXd2q Y14trHzStjis2I1VeDpliIG/7cnYr5GC8LeIETQ15AF4CcoK4qH9WMq6t9Zr79BTrKdo LCyHm99EWn8mPqmtFd9ErckINMFG4nLw5/FALjdqhtDdtt5ZycToki5ifcHL3gwai1Og afH//JzhJ2eMpbe7IOCWxSyhU5RjRpkti4o8P9XHIdtInbH1YTQI6Txfy8h6JxntgPYN VLcQ== X-Received: by 10.112.40.9 with SMTP id t9mr12155391lbk.55.1430173866497; Mon, 27 Apr 2015 15:31:06 -0700 (PDT) Received: from localhost.localdomain ([90.149.48.183]) by mx.google.com with ESMTPSA id yq18sm5086204lbb.47.2015.04.27.15.31.05 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Apr 2015 15:31:05 -0700 (PDT) From: Joachim Eastwood To: p.zabel@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] doc: dt: add documentation for lpc1850-rgu reset driver Date: Tue, 28 Apr 2015 00:30:43 +0200 Message-Id: <1430173843-11648-3-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1430173843-11648-1-git-send-email-manabian@gmail.com> References: <1430173843-11648-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_183132_238334_2F2669AF X-CRM114-Status: GOOD ( 10.64 ) X-Spam-Score: -2.7 (--) Cc: Joachim Eastwood , ezequiel@vanguardiasur.com.ar, arnd@arndb.de, ariel.dalessandro@gmail.com 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/reset/nxp,lpc1850-rgu.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt diff --git a/Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt b/Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt new file mode 100644 index 000000000000..45dbd6087731 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt @@ -0,0 +1,38 @@ +NXP LPC1850 Reset Generation Unit (RGU) +======================================== + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Required properties: +- compatible: Should be "nxp,lpc1850-rgu" +- reg: register base and length +- clocks: phandle and clock specifier to RGU clocks +- clock-names: should contain "delay" and "reg" +- #reset-cells: should be 1 + +Refer to NXP LPC18xx or LPC43xx user manual for a description of the +reset signals and the connected block/peripheral. + +Reset provider example: +rgu: reset-controller@40053000 { + compatible = "nxp,lpc1850-rgu"; + reg = <0x40053000 0x1000>; + clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_BUS>; + clock-names = "delay", "reg"; + #reset-cells = <1>; +}; + +Reset consumer example: +mac: ethernet@40010000 { + compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac"; + reg = <0x40010000 0x2000>; + interrupts = <5>; + interrupt-names = "macirq"; + clocks = <&ccu1 CLK_CPU_ETHERNET>; + clock-names = "stmmaceth"; + resets = <&rgu 22>; + reset-names = "stmmaceth"; + status = "disabled"; +}; +