Re: [PATCH] sh-sci: fix transition from noflow to HW flow control

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

 



Hi Geert,

> > On calling close() sci_set_mctrl() and sci_shutdown() are called
> in this order.
> 
> OK, so it works on subsequent uses as the flag is kept in .c_cflag?

yes, indeed. If you close the port and open it again, the settings are correct and communication works.
Unfortunately e.g. hciattach opens the port, sets it to some defaults (115200, noflow) and then evaluates the command line values. This way the connection always fails if you specify flow control.


> > No, I haven't tried GPIO RTS/CTS so far. How would this be
> configured?
> 
> In DT, instead of specifying "uart-has-rtscts" and pinctrl for the
> "ctrl" group, you specify "rts-gpios" and "cts-gpios".

Thanks, I will have a look.




Regards,
Christoph




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux