Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2098610ybp; Thu, 10 Oct 2019 02:09:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9rI7dmeHLbGBASUvWI+oUUl+rS0Qgmby7wHkG0vCHTPLpcPNVGb+RJnQ+V0iyKFokrHam X-Received: by 2002:a50:f704:: with SMTP id g4mr6911571edn.255.1570698568403; Thu, 10 Oct 2019 02:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570698568; cv=none; d=google.com; s=arc-20160816; b=KhhFojfx/xJgLiCLIaQrEV5ihRQ6tdLpAeK7faimEqnU/20kH0yd62I/yqH/ytKwGY AVnpOkxDuXefE8baRHEkc5ovtTaglBddlXe35CmvcZX5GZxEy9pk1+7tFETT8Sv8nSSR BrnuX5g0tRDLA+laIROzSFsE0z/2ll+WG9tmR+4QxIKD/CVxFIqJYu50yA5N/m8kAG+c v/JV08qs0dl2kRzZHzQNbwgep+q27m668vqWwuDxZG/MCHP4XazIkWddzUeeQFVMlVMW g92uosDVTBF+XZjHoaAilmZ8/RhT6dOxQ3xhyFyOqqmam3uSFLaWMlSuSJGFowdgcu1Q sREA== 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=2fgd2l6+nhvba6d5xhQeF+8JspNWlPKGdsyPoD0BV2o=; b=zAGnJOvt34bH4jO4WPbABfcgStOh5Fv8+K/ASBCkIgfCLES4bbgHMRSz9VE1MUNCPh 5Z76hMjQ2I6RRRg7uZlsIGlNafeRMGdz8lKggTkvhFcwhaQq1/v5N7T/374XUhV1iTAK le1rid7YlaibPc+oLdstPNn4epGAKyWKRBd4BdbqId6FnJUk758LiPyTCaIKvSSYP6jX F1tRrpesQzrNattnD00tp0vhZFcThYqv/Nki1FNFO00JKqNriMHBMZ8nnmeEV0ajBikd GwW+3AhwW28zlh8bJZmQqY9XrowNJmFWvQS1l9frjwLqu8ZAo+164rSSmfRcqX2gTfwQ fTlg== 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 j7si2724644ejv.225.2019.10.10.02.09.04; Thu, 10 Oct 2019 02:09:28 -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 S2387478AbfJJJI0 (ORCPT + 99 others); Thu, 10 Oct 2019 05:08:26 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:39835 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733144AbfJJJI0 (ORCPT ); Thu, 10 Oct 2019 05:08:26 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46plcR3d7hz1rQCD; Thu, 10 Oct 2019 11:08:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46plcR0bYQz1qqkQ; Thu, 10 Oct 2019 11:08:23 +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 GACLg3BAFslI; Thu, 10 Oct 2019 11:08:20 +0200 (CEST) X-Auth-Info: 3yv9RJi5v/uCUl5RBM3UxIXknte+Kate4wyyjunP9RI= 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; Thu, 10 Oct 2019 11:08:20 +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 , Robin Murphy Subject: [PATCH v2] dts: Disable DMA support on the BK4 vf610 device's fsl_lpuart driver Date: Thu, 10 Oct 2019 11:08:02 +0200 Message-Id: <20191010090802.16383-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 Suggested-by: Robin Murphy --- Changes for v2: - Use /delete-property/dma-names; instead of dma-names = "",""; --- 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..830c85476b3d 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>; + /delete-property/dma-names; status = "okay"; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + /delete-property/dma-names; status = "okay"; }; &uart2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; + /delete-property/dma-names; status = "okay"; }; &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; + /delete-property/dma-names; status = "okay"; }; -- 2.20.1