From patchwork Sat Jan 24 21:12:49 2015 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: 5700311 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A447FC058D for ; Sat, 24 Jan 2015 21:16:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C69AB2024F for ; Sat, 24 Jan 2015 21:16:23 +0000 (UTC) Received: from bombadil.infradead.org (unknown [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 DDF4920115 for ; Sat, 24 Jan 2015 21:16:22 +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 1YF81g-0006pg-Kv; Sat, 24 Jan 2015 21:13:52 +0000 Received: from mail-bn1bon0114.outbound.protection.outlook.com ([157.56.111.114] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YF81N-0006km-Jz for linux-arm-kernel@lists.infradead.org; Sat, 24 Jan 2015 21:13:34 +0000 Received: from DM2PR0301MB0749.namprd03.prod.outlook.com (25.160.97.145) by DM2PR0301MB0638.namprd03.prod.outlook.com (25.160.96.12) with Microsoft SMTP Server (TLS) id 15.1.65.19; Sat, 24 Jan 2015 21:13:11 +0000 Received: from BY2PR03CA073.namprd03.prod.outlook.com (10.141.249.46) by DM2PR0301MB0749.namprd03.prod.outlook.com (25.160.97.145) with Microsoft SMTP Server (TLS) id 15.1.59.20; Sat, 24 Jan 2015 21:13:10 +0000 Received: from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::125) by BY2PR03CA073.outlook.office365.com (2a01:111:e400:2c5d::46) with Microsoft SMTP Server (TLS) id 15.1.65.19 via Frontend Transport; Sat, 24 Jan 2015 21:13:09 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (TLS) id 15.1.75.11 via Frontend Transport; Sat, 24 Jan 2015 21:13:08 +0000 Received: from lvd5567.zin33.ap.freescale.net (lvd5567.ap.freescale.net [10.232.34.57]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t0OLCwHM004989; Sat, 24 Jan 2015 14:13:04 -0700 From: Bhupesh Sharma To: , Subject: [RESEND PATCH v7 1/5] Documentation: DT: Add bindings for FSL NS16550A UART Date: Sun, 25 Jan 2015 02:42:49 +0530 Message-ID: <1422133973-16460-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.7.4 In-Reply-To: <1422133973-16460-1-git-send-email-bhupesh.sharma@freescale.com> References: <1422133973-16460-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=bhupesh.sharma@freescale.com; lixom.net; dkim=none (message not signed) header.d=none;lixom.net; dmarc=permerror action=none header.from=freescale.com; X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(48376002)(47776003)(50466002)(46102003)(50986999)(105606002)(92566002)(76176999)(106466001)(85426001)(19580405001)(19580395003)(229853001)(6806004)(77096005)(2950100001)(77156002)(36756003)(86362001)(104016003)(33646002)(62966003)(50226001)(87936001)(7059030)(217873001)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0749; H:tx30smr01.am.freescale.net; FPR:; SPF:None; MLV:sfv; LANG:en; MIME-Version: 1.0 X-DmarcAction-Test: None X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(3005004);SRVR:DM2PR0301MB0749; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:DM2PR0301MB0749; X-Forefront-PRVS: 0466CA5A45 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0749; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2015 21:13:08.4896 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0749 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0638; X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150124_131333_890294_B7B22065 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: mark.rutland@arm.com, arnab_basu@rocketmail.com, marc.zyngier@arm.com, Catalin.Marinas@arm.com, stuart.yoder@freescale.com, bhupesh.sharma@freescale.com, olof@lixom.net, bhupesh.linux@gmail.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=-3.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RDNS_NONE,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 Acked-by: Mark Rutland --- .../devicetree/bindings/serial/of-serial.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/of-serial.txt b/Documentation/devicetree/bindings/serial/of-serial.txt index 8c4fd03..1b3220b 100644 --- a/Documentation/devicetree/bindings/serial/of-serial.txt +++ b/Documentation/devicetree/bindings/serial/of-serial.txt @@ -15,6 +15,7 @@ Required properties: - "altr,16550-FIFO64" - "altr,16550-FIFO128" - "fsl,16550-FIFO64" + - "fsl,ns16550" - "serial" if the port type is unknown. - reg : offset and length of the register set for the device. - interrupts : should contain uart interrupt. @@ -39,6 +40,17 @@ Optional properties: driver is allowed to detect support for the capability even without this property. +Note: +* fsl,ns16550: + ------------ + 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). + + Represents a single port that is compatible with the DUART found + on many Freescale chips (examples include mpc8349, mpc8548, + mpc8641d, p4080 and ls2085a). + Example: uart@80230000 {