From patchwork Mon Oct 9 16:09:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 9993937 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ABA0860216 for ; Mon, 9 Oct 2017 16:36:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E0BB287BB for ; Mon, 9 Oct 2017 16:36:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92EAB287EA; Mon, 9 Oct 2017 16:36:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 40D86287BB for ; Mon, 9 Oct 2017 16:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=u95g/TSEdh5CkpYJFSp6/GLD4M7704mr4L68qIGQ1vA=; b=JzqoDC4oTOrE+g 55/d32N3hV9Pt/REisoybvYjo5oBXslk0WhaVBNl4RsEmPKk2r+XHwY48bvLPDm6ukMpeLYl+jWOk dQuybogMlXeJhwnA7D4l4ryw7L6Ryj3CuM0cUD4+FqAmG+oNNTC7u6ezs7t7IffqPyxeMNgkGgTPV mN+g0L5VOSD4EioyDZXvKN0aOZ6JlfitWuhe7naWs1ZyacNQRcVZAJxCTRpAnbpeQohdVjTdlY1ZF CAwvi500E6X42bVBzehkCVI1JSYd4PuW4gy4hL3dIdOHRjRCcYI8VW5X4rTX7u/FGE0GMmX5kA4CK nc0mQxmwIK5YlrJlHWOw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e1b2m-0001Ro-BS; Mon, 09 Oct 2017 16:36:40 +0000 Received: from esa3.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1agU-0002cf-1t for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2017 16:13:59 +0000 X-IronPort-AV: E=Sophos;i="5.42,500,1500966000"; d="scan'208";a="7771969" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Oct 2017 09:10:20 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.76.4) by chn-sv-exch04.mchp-main.com (10.10.76.105) with Microsoft SMTP Server id 14.3.352.0; Mon, 9 Oct 2017 09:10:19 -0700 From: Claudiu Beznea To: , , , , Subject: [PATCH 15/15] ARM: dts: at91: at91sam9x5ek: use DMA for USART0 Date: Mon, 9 Oct 2017 19:09:37 +0300 Message-ID: <1507565377-1545-16-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507565377-1545-1-git-send-email-claudiu.beznea@microchip.com> References: <1507565377-1545-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171009_091338_346121_A5024DAF X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use DMA for USART0 (which is used as ttyS1) as we have enough channels and to show how to specify DMA use with serial nodes. Signed-off-by: Nicolas Ferre Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 9d2bbc41a7b0..a85eb51e6aa8 100644 --- a/arch/arm/boot/dts/at91sam9x5ek.dtsi +++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi @@ -50,6 +50,8 @@ }; usart0: serial@f801c000 { + atmel,use-dma-rx; + atmel,use-dma-tx; status = "okay"; };