Re: [PATCH] serial: Fix incorrect rs485 polarity on uart open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 04, 2022 at 04:11:26PM +0000, Roosen Henri wrote:
> On Thu, 2022-08-04 at 17:52 +0200, Lukas Wunner wrote:
> > On Thu, Aug 04, 2022 at 02:38:23PM +0000, Roosen Henri wrote:
> > > unfortunately this commit, which has been backported to v5.4.x,
> > > seems
> > > to break RS485 functionality on our iMX boards.
> > 
> > What exactly broke?  Are you seeing incorrect polarity after opening
> > the tty but correct polarity after the first send? Or is polarity
> > always incorrect?
> 
> I'm not sure about the state before opening, I have to measure that
> when I'm back at the office.
> 
> After opening, the polarity is always incorrect (inverted) when this
> patch is applied. We open the tty and try to receive, which now fails
> because the rs485 transmitter is on.

Does reception work after you send something?

Please provide the contents of the pinctrl_uart2_rs485 node in your DT.

Thanks,

Lukas



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux