From patchwork Tue Mar 4 17:17:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 3764671 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 2A5F69F1EE for ; Tue, 4 Mar 2014 17:48:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C96220397 for ; Tue, 4 Mar 2014 17:48:58 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 9C48520220 for ; Tue, 4 Mar 2014 17:48:56 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WKtST-0006Ep-1Q; Tue, 04 Mar 2014 17:48:49 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WKtSQ-0005Ls-D2; Tue, 04 Mar 2014 17:48:46 +0000 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WKtSO-0005K3-0y for linux-arm-kernel@lists.infradead.org; Tue, 04 Mar 2014 17:48:44 +0000 Received: by mail-ig0-f182.google.com with SMTP id uy17so2016347igb.3 for ; Tue, 04 Mar 2014 09:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=jMIbXZXF+ckyaLwQds7vj7Mp3+4bwq3zeA3rJy31LBM=; b=UvBJj6/kKZJ++r0CBjtnWqgO6HedSMw1hNXou559lIEqYBCIXapx4657eORY7W7pmj 6DLN8U0QNoN5gvUWJQ701psGwIblRqTRHslU0QvqBHbd0STXNXvQmh2x822UL3hTvUtY 7zJPIbyn/LSAruyNGk7HlxWFoYx1vWkP7nHA4/Im9w4B9hHChwPZwLhbsPR70aB58Sja dtavuokfPXfd/ES+9Qacf4VO599a8MR8blb2sswTIA/BDHNnALv1Tk2/j4H0+ai/yios 99He4tZK61dRjtfl1w7e4MQRE/V+SbnJjl8amQreJl39gltfCbjNH0Uh7N5PHrlsbfPj W9aw== X-Received: by 10.50.66.205 with SMTP id h13mr4401611igt.19.1393953470480; Tue, 04 Mar 2014 09:17:50 -0800 (PST) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id hs6sm51788114igb.2.2014.03.04.09.17.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Mar 2014 09:17:49 -0800 (PST) From: Soren Brinkmann To: Russell King , Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH RFC 4/6] tty: cadence: Document DT binding Date: Tue, 4 Mar 2014 09:17:27 -0800 Message-Id: <1393953449-28551-5-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.9.0.1.g4196000 In-Reply-To: <1393953449-28551-1-git-send-email-soren.brinkmann@xilinx.com> References: <1393953449-28551-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140304_124844_097002_BA82335C X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.1 (+) Cc: Peter Crosthwaite , Kevin Hilman , Arnd Bergmann , Michal Simek , linux-kernel@vger.kernel.org, Soren Brinkmann , linux-serial@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no 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 binding documentation for the Cadence UART. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite --- .../devicetree/bindings/serial/cadence_uart.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/cadence_uart.txt diff --git a/Documentation/devicetree/bindings/serial/cadence_uart.txt b/Documentation/devicetree/bindings/serial/cadence_uart.txt new file mode 100644 index 000000000000..fc8ac527dee8 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cadence_uart.txt @@ -0,0 +1,20 @@ +Binding for Cadence UART Controller + +Required properties: +- compatible : should be "cdns,uart-r1p8" +- reg: Should contain UART controller registers location and length. +- interrupts: Should contain UART controller interrupts. +- clocks: Must contain phandles to the UART clocks + See ../clocks/clock-bindings.txt for details. +- clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk" + See ../clocks/clock-bindings.txt for details. + + +Example: + uart@e0000000 { + compatible = "cdns,uart-r1p8"; + clocks = <&clkc 23>, <&clkc 40>; + clock-names = "uart_clk", "pclk"; + reg = <0xE0000000 0x1000>; + interrupts = <0 27 4>; + };