public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fwd: Add method to allow switching kernel level PPS signal from DCD to CTS serial pin
@ 2024-05-08  1:52 Bagas Sanjaya
  2024-05-08 18:28 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Bagas Sanjaya @ 2024-05-08  1:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Jiri Slaby
  Cc: Linux Kernel Mailing List, Linux Serial, Elvis

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

Hi Greg, hi maintainers,

On Bugzilla, Elvis <elvisimprsntr@gmail.com> requested a new RJ45 UART
feature [1]:

> BACKGROUND
> 
> There are appliances that do not have a full DE9 RS-232 port and only RJ45 COM ports, which do not include the DCD pin required for PPS signal detection.  
> 
> RJ45 COM port do include the CTS input pin #8, which can be used for PPS signal detection.  This is a feature that has been available in FreeBSD for some time.  
> 
> https://man.freebsd.org/cgi/man.cgi?query=uart
> 
> FreeBSD allows switching from DCD to CTS pin on the fly using a system tunable in a loader.conf file.  Example: dev.uart.0.pps_mode="1"
> 
> This allow one to connect a serial GPS receiver with PPS output to a RJ45 COM port for a Stratum 0 GPS+PPS source.  
> 
> https://github.com/elvisimprsntr/pfsense-ntp-gps?tab=readme-ov-file
> 
> KERNAL PATCH HACKS
> 
> Some kernel patches have demonstrated receiving PPS on the CTS pin, but requires hacking up the kernel and will will not persist on kernel update to new installations.  
> 
> https://github.com/not1337/pps-stuff
> 
> FEATURE REQUEST
> 
> Add a tunable option to allow the end user to switch between PPS on DCD to CTS pin, similar to the way FreeBSD does.

What do you think about above feature request?

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218813

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2024-05-09 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08  1:52 Fwd: Add method to allow switching kernel level PPS signal from DCD to CTS serial pin Bagas Sanjaya
2024-05-08 18:28 ` Greg Kroah-Hartman
2024-05-09  6:24   ` Theodore Ts'o
2024-05-09 10:41     ` Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox