From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932764AbdAGVoB (ORCPT ); Sat, 7 Jan 2017 16:44:01 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:34559 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbdAGVnt (ORCPT ); Sat, 7 Jan 2017 16:43:49 -0500 MIME-Version: 1.0 In-Reply-To: <20170107205930.GA12367@archie.localdomain> References: <20170104160024.GA13442@archie.localdomain> <20170106225026.GA3804@archie.localdomain> <20170107134557.GA12299@archie.localdomain> <20170107153434.GA13307@archie.localdomain> <20170107205930.GA12367@archie.localdomain> From: Fabio Estevam Date: Sat, 7 Jan 2017 19:43:48 -0200 Message-ID: Subject: Re: imx: RS-485 problems during TX, maybe DMA related To: Clemens Gruber Cc: "linux-serial@vger.kernel.org" , Greg Kroah-Hartman , Sascha Hauer , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Nandor Han , Lucas Stach , "linux-arm-kernel@lists.infradead.org" , linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Clemens, On Sat, Jan 7, 2017 at 6:59 PM, Clemens Gruber wrote: > Great! > > Did you observe the same effect I described, with the doubling of > characters in the front and the leftovers from previous transmissions at > the end? No, I don't observe these errors when I use 'rts-gpios' in the device tree. Maybe you could try to use 'rts-gpios' for a quick test by applying the patches I have just sent. If you run this test, please remove 'uart-has-rtscts' from your dts. According to Documentation/devicetree/bindings/serial/serial.txt they are mutually-exclusive. Regards, Fabio Estevam