From patchwork Sun Jan 18 22:40:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Burton X-Patchwork-Id: 430261 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CF0EA1401F6 for ; Mon, 19 Jan 2015 09:41:10 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751341AbbARWlJ (ORCPT ); Sun, 18 Jan 2015 17:41:09 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:44846 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbbARWlJ (ORCPT ); Sun, 18 Jan 2015 17:41:09 -0500 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 3DD22A443CC1D; Sun, 18 Jan 2015 22:41:03 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 18 Jan 2015 22:41:07 +0000 Received: from localhost (192.168.159.114) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Sun, 18 Jan 2015 22:41:01 +0000 From: Paul Burton To: CC: Paul Burton , Lars-Peter Clausen , Subject: [PATCH 24/36] devicetree: document ingenic,jz4740-uart binding Date: Sun, 18 Jan 2015 14:40:59 -0800 Message-ID: <1421620859-24991-1-git-send-email-paul.burton@imgtec.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1421620067-23933-1-git-send-email-paul.burton@imgtec.com> References: <1421620067-23933-1-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.159.114] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding documentation for Ingenic jz4740 UARTs. Signed-off-by: Paul Burton Cc: Lars-Peter Clausen Cc: devicetree@vger.kernel.org --- .../bindings/serial/ingenic,jz4740-uart.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/ingenic,jz4740-uart.txt diff --git a/Documentation/devicetree/bindings/serial/ingenic,jz4740-uart.txt b/Documentation/devicetree/bindings/serial/ingenic,jz4740-uart.txt new file mode 100644 index 0000000..cdb21d4 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/ingenic,jz4740-uart.txt @@ -0,0 +1,22 @@ +* Ingenic jz4740 UART + +Required properties: +- compatible : "ingenic,jz4740-uart" +- reg : offset and length of the register set for the device. +- interrupts : should contain uart interrupt. +- clocks : phandles to the module & baud clocks. +- clock-names: tuple listing input clock names. + Required elements: "baud", "module" + +Example: + +uart0: serial@10030000 { + compatible = "ingenic,jz4740-uart"; + reg = <0x10030000 0x100>; + + interrupt-parent = <&intc>; + interrupts = <9>; + + clocks = <&ext>, <&cgu JZ4740_CLK_UART0>; + clock-names = "baud", "module"; +};