Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1006501ybp; Wed, 9 Oct 2019 07:33:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjTah69KBIVPYKDlYFK8FH5OVN/jyX9p9ZM/6sowK8MBmDeAbOTwstDqBFG+C+lCzuAMn5 X-Received: by 2002:a17:906:2cca:: with SMTP id r10mr3196915ejr.108.1570631613695; Wed, 09 Oct 2019 07:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570631613; cv=none; d=google.com; s=arc-20160816; b=Q5THRAwRP3q0ntU79boxbefpjzmJnCwPEARMBHdJrWf7jTowrzNm+vFl4nesce6uip hymdDmlQb50FFuvvvno6hezyjknVOiC5woAoj6nFzvj+4DFi2LmqFDGwYUtJnrMXz/O5 y6Z1Z9e9QjJJ6Zf8f5w4DH6bC3RvIm9KXMQNzJji6L0PaBIbNVXbqxrJ7hZdF1vmzI0p 5MGtKyAbPm7cuSlMMEVc831LxLXqTdVhxFX+bCfw88ShNrzs4+4xRXVffhveDag3kN4E 0L2r/r7kTJYnXu9Xj58iHoyiVEtpNd0/C9v7PCGLqISvu6YIhu1tfmXe4QEpkQZga+ip nExg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=mtgyTW+zO/9AVsEIYs3GE4MHQ+kHVqf1jVjGdTVB7AM=; b=dOmwHG9tONzRy+fNP+zGYoVLpb9F2hec+PQmQOCEUma+WFWHsM5f3UfzhES0mUlNlf SDnry/+pjH6sZmnilgj0jv+s6P1jwLMlq0D1vBIre5+aaoNz+xFB8WCa16bP3xW5490Q zx2fH7szeC5utmmj34+tWwlaDEMXhtQgy+vwei/K32Oibgq/sqOAxzSSOsgtfiHiBET4 U4XUo6T/tTHCGPORK6co43c8seKIpWCrinlkmr/sJA/v4BrC/lxBHLyfVjF00N8N306q AYQo02yl6ScWSh+Hg0Sa+xP9cpFFQZBcTPMkDkmrmGRt790F4sQ/qtT4hR0BRhwo5Bca 4FFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b26si1365110edy.108.2019.10.09.07.33.02; Wed, 09 Oct 2019 07:33:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731350AbfJIOas (ORCPT + 99 others); Wed, 9 Oct 2019 10:30:48 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:58313 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729865AbfJIOar (ORCPT ); Wed, 9 Oct 2019 10:30:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46pGps0HzDz1rlTd; Wed, 9 Oct 2019 16:30:45 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46pGpr6VZNz1qqkM; Wed, 9 Oct 2019 16:30:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fEcgMaq_WGfq; Wed, 9 Oct 2019 16:30:43 +0200 (CEST) X-Auth-Info: 8jCoUJU72/vk/KsFCOcDAPeNz8S2Ssm9kKp9j/ctXwc= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 9 Oct 2019 16:30:43 +0200 (CEST) From: Lukasz Majewski To: linux-kernel@vger.kernel.org, Shawn Guo Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Rutland , Rob Herring , Stefan Agner , Pengutronix Kernel Team , Sascha Hauer , Lukasz Majewski Subject: [PATCH] dts: Disable DMA support on the BK4 vf610 device's fsl_lpuart driver Date: Wed, 9 Oct 2019 16:30:32 +0200 Message-Id: <20191009143032.9261-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change disables the DMA support (RX/TX) on the NXP's fsl_lpuart driver - the PIO mode is used instead. This change is necessary for better robustness of BK4's device use cases with many potentially interrupted short serial transfers. Without it the driver hangs when some distortion happens on UART lines. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/vf610-bk4.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/vf610-bk4.dts b/arch/arm/boot/dts/vf610-bk4.dts index 0f3870d3b099..ad20f3442d40 100644 --- a/arch/arm/boot/dts/vf610-bk4.dts +++ b/arch/arm/boot/dts/vf610-bk4.dts @@ -259,24 +259,28 @@ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart0>; + dma-names = "",""; status = "okay"; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + dma-names = "",""; status = "okay"; }; &uart2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; + dma-names = "",""; status = "okay"; }; &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; + dma-names = "",""; status = "okay"; }; -- 2.20.1