From patchwork Fri May 15 18:29:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6415861 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 1D9A79F440 for ; Fri, 15 May 2015 18:32:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3806A204FF for ; Fri, 15 May 2015 18:32:34 +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 713F4204E1 for ; Fri, 15 May 2015 18:32:33 +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 1YtKNK-0000RF-II; Fri, 15 May 2015 18:30:22 +0000 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtKMq-0007Rt-7s for linux-arm-kernel@lists.infradead.org; Fri, 15 May 2015 18:29:53 +0000 Received: by labbd9 with SMTP id bd9so133174357lab.2 for ; Fri, 15 May 2015 11:29:30 -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=ts1E7C7hmusescBnDe1kKyFB6t81GcbhV1NJQZ5olho=; b=gn52bCgdbqsRtLw0BjlF7JlweFBa8BVOsTCY+WpDMfeyZn6Xf3S+gVdga50dMafdbx VHSoijexmnOxMEJcC1gcpYitf0mh0N13AEwMjPQN9ckTwO5Wv4+MOBKhRfb6BpJBGPBa kFWSXhpFYFSswJvquVCoVi55hNOozhTZKieWRyB4x23peVnHQ33+5qCn2NdMa5xJ+v4L tSI6uWwu4ZlRSEBNGtZ6tQkk0h7lpz62+Hc1CctT/o0gzmD6gXytaeNIWw9Bo85QVGEh B47jyeaDDO3CL6sHAuQqjXoUs8bGepCH9/MJexTkzcuykfuEslYQruXdRWpp7S9KdthP /IaA== X-Received: by 10.112.147.9 with SMTP id tg9mr8116077lbb.94.1431714570099; Fri, 15 May 2015 11:29:30 -0700 (PDT) Received: from localhost.localdomain (183.90-149-48.nextgentel.com. [90.149.48.183]) by mx.google.com with ESMTPSA id cq3sm618026lad.14.2015.05.15.11.29.28 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 May 2015 11:29:29 -0700 (PDT) From: Joachim Eastwood To: gregkh@linuxfoundation.org, arnd@arndb.de Subject: [PATCH 2/2] doc: dt: add documentation for nxp,lpc1850-uart Date: Fri, 15 May 2015 20:29:15 +0200 Message-Id: <1431714555-7063-3-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1431714555-7063-1-git-send-email-manabian@gmail.com> References: <1431714555-7063-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150515_112952_526248_6AB6519E X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, Joachim Eastwood , linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org 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=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 device tree binding documentation for nxp,lpc1850-uart. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/serial/nxp,lpc1850-uart.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt diff --git a/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt b/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt new file mode 100644 index 000000000000..68d1f3292585 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/nxp,lpc1850-uart.txt @@ -0,0 +1,21 @@ +* NXP LPC1850 UART + +Required properties: +- compatible : "nxp,lpc1850-uart", "ns16550a". +- reg : offset and length of the register set for the device. +- interrupts : should contain uart interrupt. +- clocks : phandle to the input clocks. +- clock-names : required elements: "uartclk", "reg". + +Since it's also possible to also use the of_serial.c driver all +parameters from 8250.txt also apply but are optional. + +Example: +uart0: serial@40081000 { + compatible = "nxp,lpc1850-uart", "ns16550a"; + reg = <0x40081000 0x1000>; + reg-shift = <2>; + interrupts = <24>; + clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; + clock-names = "uartclk", "reg"; +};