From patchwork Sat Apr 5 00:23:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 3941661 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D9001BFF02 for ; Sat, 5 Apr 2014 00:27:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D890320225 for ; Sat, 5 Apr 2014 00:27:53 +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 7D8DA20383 for ; Sat, 5 Apr 2014 00:27:52 +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 1WWEQn-0007FV-6e; Sat, 05 Apr 2014 00:25:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WWEQQ-0002xP-JC; Sat, 05 Apr 2014 00:25:34 +0000 Received: from mail-qc0-x22c.google.com ([2607:f8b0:400d:c01::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WWEPY-0002no-OT for linux-arm-kernel@lists.infradead.org; Sat, 05 Apr 2014 00:24:54 +0000 Received: by mail-qc0-f172.google.com with SMTP id i8so4294013qcq.3 for ; Fri, 04 Apr 2014 17:24:19 -0700 (PDT) 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=hy1PR9cgwgkAjXRubUH7TaDX6WnlymS5v+h0O6jK98A=; b=WzyIyR73U4kkaRa7GBbkpl3lZLUWZKlj+YuLoOgCXJPNMWp0q/y3TzHupQcZDNIL9n 5Jye6xFq/t/5ju+SxVFjGV65S33F8ebW4sVqp7OB2Pgr2ITetPN6pZr3+3IzFiQ+4HjC Oysg8iaR8n040BwnW0MTUbC2o4iP3OSwoPk276aKENBztfvvdSEJyFtjhzWkgh19zmzs aDvtwio9xiMGbGazZrp0BqSTLYb0rNWWPbX7UYW2z1IsPsAzS/yP7H9hA2vCN7GYQe1P bd2NjZOFtZdbrsBYtUWAsoubpK32GgIdgDjM+H2iFKfaee0xx1kGV5eAwHFyVHsF5IBA twGw== X-Received: by 10.140.30.225 with SMTP id d88mr17033198qgd.62.1396657459615; Fri, 04 Apr 2014 17:24:19 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id e67sm13160825qge.13.2014.04.04.17.24.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 04 Apr 2014 17:24:18 -0700 (PDT) From: Soren Brinkmann To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Randy Dunlap , Russell King , Michal Simek , Greg Kroah-Hartman , Jiri Slaby , Grant Likely Subject: [RESEND PATCH v3 8/9] tty: cadence: Document DT binding Date: Fri, 4 Apr 2014 17:23:44 -0700 Message-Id: <1396657425-31029-8-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.9.1.1.gbb9f595 In-Reply-To: <1396657425-31029-1-git-send-email-soren.brinkmann@xilinx.com> References: <1396657425-31029-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140404_202441_023525_FD081722 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: One Thousand Gnomes , Peter Crosthwaite , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Soren Brinkmann 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=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 binding documentation for the Cadence UART. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite Acked-by: Rob Herring Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None .../devicetree/bindings/serial/cdns,uart.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/cdns,uart.txt diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.txt b/Documentation/devicetree/bindings/serial/cdns,uart.txt new file mode 100644 index 000000000000..a3eb154c32ca --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cdns,uart.txt @@ -0,0 +1,20 @@ +Binding for Cadence UART Controller + +Required properties: +- compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps" +- 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>; + };