[RFC 0/3] Add PPS generators

Rodolfo Giometti
2024-10-08T13:53:44Z

PPS generators are special hardware which are able to produce PPS
(Pulse Per Second) signals.

This RFC patchset adds the class pps-gen to the kernel in order to get
feedback useful to produce a well-thought-out and well-defined
interface for these devices.

Rodolfo Giometti (3):
drivers pps: add PPS generators support
Documentation pps.rst: add PPS generators documentation
Documentation ABI: add PPS generators documentaion

Documentation/ABI/testing/sysfs-pps-gen | 44 ++++
Documentation/driver-api/pps.rst | 40 ++++
drivers/pps/Makefile | 3 +-
drivers/pps/generators/Kconfig | 19 +-
drivers/pps/generators/Makefile | 4 +
drivers/pps/generators/pps_gen-dummy.c | 83 +++++++
drivers/pps/generators/pps_gen.c | 283 ++++++++++++++++++++++++
drivers/pps/generators/sysfs.c | 89 ++++++++
include/linux/pps_gen_kernel.h | 57 +++++
include/uapi/linux/pps_gen.h | 35 +++
10 files changed, 655 insertions(+), 2 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-pps-gen
create mode 100644 drivers/pps/generators/pps_gen-dummy.c
create mode 100644 drivers/pps/generators/pps_gen.c
create mode 100644 drivers/pps/generators/sysfs.c
create mode 100644 include/linux/pps_gen_kernel.h
create mode 100644 include/uapi/linux/pps_gen.h

--
2.34.1