linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default.
@ 2018-06-01 14:11 Giulio Benetti
  2018-06-01 14:11 ` [PATCH 2/2] serial: 8250: Add SERIAL_MCTRL_GPIO support to 8250 Giulio Benetti
  2018-06-04 11:49 ` [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Giulio Benetti @ 2018-06-01 14:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, Andy Shevchenko, Kees Cook, Matthias Brugger,
	Allen Pais, Sean Young, Ed Blake, Stefan Potyra, Philipp Zabel,
	Joshua Scott, Vignesh R, Rolf Evers-Fischer, Aaron Sierra,
	Rafael Gago, Joel Stanley, Sean Wang, linux-serial, linux-kernel,
	Giulio Benetti

It can be useful to override 8250 mctrl lines with gpios, for rts on
rs485 for example, when rts is not mapped correctly to HW RTS pin.

Enable SERIAL_MCTRL_GPIO by default.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
 drivers/tty/serial/8250/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index f005eaf8bc57..c7992b94fece 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -7,6 +7,7 @@ config SERIAL_8250
 	tristate "8250/16550 and compatible serial support"
 	depends on !S390
 	select SERIAL_CORE
+	select SERIAL_MCTRL_GPIO if GPIOLIB
 	---help---
 	  This selects whether you want to include the driver for the standard
 	  serial ports.  The standard answer is Y.  People who might say N
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-05 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 14:11 [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default Giulio Benetti
2018-06-01 14:11 ` [PATCH 2/2] serial: 8250: Add SERIAL_MCTRL_GPIO support to 8250 Giulio Benetti
2018-06-04 11:49 ` [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default Andy Shevchenko
2018-06-04 18:57   ` Giulio Benetti
2018-06-05 10:00     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).