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

From
Baumann, Christoph (C.) <hidden>
Date
2016-08-16 11:15:32
Also in
linux-renesas-soc
Hi Geert,
quoted
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.

quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help