Skip to content

RFC omap-serial: A way to implement modem lines through GPIO

Raphaël Assénat linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2omap-serial: Overriding omap-serial built in serial_in/out functionsarch/arm/plat-omap/include/plat/omap-serial.h drivers/tty/serial/omap-serial.c+18 -40 replies
2/2omap-serial: Allow board files to override serial_in/outarch/arm/mach-omap2/serial.c arch/arm/plat-omap/include/plat/serial.h+30 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] omap-serial: A way to implement modem lines through GPIO

Hello,

At least in the am3505/3517 CPUs, the built-in uarts only expose the RX/TX/RTS/CTS signals. Other signals such as DTR/DSR/RI and DCD, while very useful when controlling a modem, are not available.

My design has the above mentioned extra signals wired to GPIOs. Controlling them through sysfs is possible, but not convenient as I needed the standard serial port ioctls to work.

There did not seem to be anything in place to do this so I've come up with the following two patches which I am using for now.

What do you think? Is there a simpler, more obvious solution? Did anyone attempt doing something to attain a similar goal in the past?

Best regards,
Raphaël Assénat
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html