From patchwork Fri Aug 15 09:49:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "bhupesh.sharma@freescale.com" X-Patchwork-Id: 4726721 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 B5D319F319 for ; Fri, 15 Aug 2014 09:53:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDFE7201F5 for ; Fri, 15 Aug 2014 09:53:30 +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 12C0D201F2 for ; Fri, 15 Aug 2014 09:53:30 +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 1XIE9e-0006Nh-8T; Fri, 15 Aug 2014 09:50:38 +0000 Received: from mail-bn1lp0141.outbound.protection.outlook.com ([207.46.163.141] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XIE9Y-0006ED-Mh for linux-arm-kernel@lists.infradead.org; Fri, 15 Aug 2014 09:50:33 +0000 Received: from BN3PR0301CA0048.namprd03.prod.outlook.com (25.160.152.144) by BY2PR0301MB0744.namprd03.prod.outlook.com (25.160.63.22) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Fri, 15 Aug 2014 09:50:07 +0000 Received: from BL2FFO11FD029.protection.gbl (2a01:111:f400:7c09::175) by BN3PR0301CA0048.outlook.office365.com (2a01:111:e400:401e::16) with Microsoft SMTP Server (TLS) id 15.0.1005.10 via Frontend Transport; Fri, 15 Aug 2014 09:50:06 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD029.mail.protection.outlook.com (10.173.160.69) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Fri, 15 Aug 2014 09:50:06 +0000 Received: from b45370.ap.freescale.net ([10.214.249.36]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s7F9nIOA000811; Fri, 15 Aug 2014 02:50:01 -0700 From: Bhupesh Sharma To: , Subject: [PATCH 1/6] Documentation: DT: Add bindings for FSL NS16550A UART Date: Fri, 15 Aug 2014 15:19:10 +0530 Message-ID: <1408096156-29772-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1408096156-29772-1-git-send-email-bhupesh.sharma@freescale.com> References: <1408096156-29772-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(199003)(189002)(68736004)(74502001)(50986999)(20776003)(104166001)(87936001)(19580405001)(102836001)(47776003)(83322001)(85852003)(26826002)(48376002)(69596002)(50466002)(6806004)(93916002)(84676001)(44976005)(87286001)(89996001)(85306004)(104016003)(83072002)(88136002)(74662001)(81156004)(50226001)(33646002)(107046002)(92726001)(105606002)(19580395003)(80022001)(81342001)(76482001)(21056001)(31966008)(229853001)(77156001)(79102001)(99396002)(36756003)(97736001)(81542001)(92566001)(95666004)(77982001)(46102001)(86362001)(4396001)(62966002)(106466001)(76176999)(64706001); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR0301MB0744; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0304E36CA3 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=bhupesh.sharma@freescale.com; X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140815_025032_993269_E27CEEAB X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: arnd@arndb.de, Bhupesh Sharma , Will.Deacon@arm.com, stuart.yoder@freescale.com, grant.likely@secretlab.ca, arnab.basu@freescale.com, linux-arm-kernel@lists.infradead.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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 This patch addss the device-tree documentation for Freescale's NS16550 UART (also called DUART). There is a specific errata fix required in FSL NS16550 UART which ensures that an random interrupt storm is not observed when a break is provided as an input to the UART. Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/serial/fsl-ns16550.txt | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/fsl-ns16550.txt diff --git a/Documentation/devicetree/bindings/serial/fsl-ns16550.txt b/Documentation/devicetree/bindings/serial/fsl-ns16550.txt new file mode 100644 index 0000000..9926e10 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/fsl-ns16550.txt @@ -0,0 +1,24 @@ +* Freescale DUART is very similar to the PC16552D (and to a + pair of NS16550A), albeit with some nonstandard behavior such as + erratum A-004737 (relating to incorrect BRK handling). + +- compatible: "fsl,ns16550" + + Represents a single port that is compatible with the DUART found + on many Freescale chips (examples include mpc8349, mpc8548, + mpc8641d, p4080 and ls2085a). + +- reg: The base address of the UART register bank. + +- interrupts: A single interrupt specifier. + +- clock-frequency = Input clock to the baud rate divider. + +Example: + serial1: serial@21c4600 { + compatible = "fsl,ns16550", "ns16550a"; + reg = <0x0 0x21c4600 0x0 0x100>; + clock-frequency = <0>; + interrupts = <0 32 0x1>; + }; +