From patchwork Wed Dec 11 15:52:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3327121 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 9420D9F37A for ; Wed, 11 Dec 2013 15:53:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7505C207F2 for ; Wed, 11 Dec 2013 15:53:45 +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 ACEB4207EF for ; Wed, 11 Dec 2013 15:53:40 +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 1Vqm6F-0005uY-PH; Wed, 11 Dec 2013 15:53:23 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vqm6A-00005K-5Q; Wed, 11 Dec 2013 15:53:18 +0000 Received: from smtp40.i.mail.ru ([94.100.177.100]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vqm66-0008WS-MI for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2013 15:53:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=4vJyxgoj3rh1yZyYsZuUAV+SNc+D82r2HE39C8n7380=; b=sT0ksPxfO9Y43vyGEjLjomrEKhLllMndCIG0J1AGkyyyrQ1qgyd2FNu2VvvxhFM7cnLqvFJ+mHk1crCXBlM0wwGJ3bgDYN1q84bGZ9gtUlziwW5TweMMDzLCRHXYz5B5Dpvs47u4W4Hy6JvUN0zPRhVCTYrwuwUAuQsnyiJ+BvE=; Received: from [188.134.40.128] (port=39794 helo=shc.zet) by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1Vqm5j-00032b-Pc; Wed, 11 Dec 2013 19:52:52 +0400 From: Alexander Shiyan To: linux-serial@vger.kernel.org Subject: [PATCH 2/2] serial: clps711x: dts: Add bindings documentation for the CLPS711X UART Date: Wed, 11 Dec 2013 19:52:35 +0400 Message-Id: <1386777155-24851-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131211_105315_026080_2399BF3A X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Arnd Bergmann , Stephen Warren , Greg Kroah-Hartman , Ian Campbell , Rob Herring , Grant Likely , Alexander Shiyan , Rob Landley , Olof Johansson , Jiri Slaby , 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=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,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 This patch adds the devicetree documentation for the Cirrus Logic CLPS711X UART. Signed-off-by: Alexander Shiyan --- .../bindings/serial/cirrus,clps711x-uart.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt diff --git a/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt b/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt new file mode 100644 index 0000000..8bbdd21 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt @@ -0,0 +1,29 @@ +* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART) + +Required properties: +- compatible: Should be "cirrus,clps711x-uart". +- reg: Address and length of the register set for the device. +- interrupts: Should contain UART TX and RX interrupt. +- clocks: Should contain UART core clock number. +- syscon: Phandle to SYSCON node, which contain UART control bits. + +Optional properties: +- uart-use-ms: Indicate the UART has modem signal (DCD, DSR, CTS). +- uart-use-irda: Indicate the UART use IRDA mode. + +Note: Each UART port should have an alias correctly numbered +in "aliases" node. + +Example: + aliases { + serial0 = &uart1; + }; + + uart1: uart@80000480 { + compatible = "cirrus,clps711x-uart"; + reg = <0x80000480 0x80>; + interrupts = <12 13>; + clocks = <&clks 11>; + syscon = <&syscon1>; + uart-use-ms; + };