From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Subject: Re: imx: RS-485 problems during TX, maybe DMA related Date: Sat, 7 Jan 2017 14:48:03 -0200 Message-ID: References: <20170104160024.GA13442@archie.localdomain> <20170106225026.GA3804@archie.localdomain> <20170107134557.GA12299@archie.localdomain> <20170107153434.GA13307@archie.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170107153434.GA13307@archie.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Clemens Gruber Cc: Fabio Estevam , Greg Kroah-Hartman , Sascha Hauer , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , linux-kernel , "linux-serial@vger.kernel.org" , Nandor Han , "linux-arm-kernel@lists.infradead.org" , Lucas Stach List-Id: linux-serial@vger.kernel.org On Sat, Jan 7, 2017 at 1:34 PM, Clemens Gruber wrote: > Hi Fabio, > > On Sat, Jan 07, 2017 at 12:57:10PM -0200, Fabio Estevam wrote: >> The MX6QDL_PAD_CSI0_DAT16__UART4_CTS_B option is only valid in dte mode. > > Ah, the input select is limited in that way, I see. > > You wrote that you tried rts-gpios. > What about setting cts-gpios to gpio6 2 in the DT? > > Or can you remux RX and TX to be switched to work in dte mode? I managed to get RS485 in half-duplex working with rts-gios. Will send a patch shortly. Thanks