mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [V1 0/4] Add PPS generators
@ 2024-10-18 14:39 Rodolfo Giometti
  2024-10-18 14:39 ` [V1 1/4] drivers pps: add PPS generators support Rodolfo Giometti
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Rodolfo Giometti @ 2024-10-18 14:39 UTC (permalink / raw)
  To: linux-doc, linux-kernel
  Cc: Andrew Morton, Greg KH, corbet, Hall Christopher S,
	Mohan Subramanian, tglx, andriy.shevchenko, Dong Eddie,
	N Pandith, T R Thejesh Reddy, Zage David, Chinnadurai Srinivasan,
	Rodolfo Giometti

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

This patchset adds PPS generators class in order to have a well-defined
interface for these devices.

Changelog:

RFC -> V1:
    * char device reworked (get_device/set_device)
    * dummy driver has been moved in a separate patch
    * idr_ replaced with ida_* functions
    * fixes in include/uapi/linux/pps_gen.h
    * MAINTAINERS updated
    * new ioctl PPS_GEN_USESYSTEMCLOCK added
    * new ioctl PPS_GEN_FETCHEVENT added
    * .compat_ioctl dropped
    * WARN_ON() removed from pps_gen_cdev_release()
    * not needed pr_*() calls removed or replaced with dev_*()
    * more quite driver
    * name attribute dropped
    * white spaces removed

Rodolfo Giometti (4):
  drivers pps: add PPS generators support
  drivers pps/generators: add dummy PPS generator
  Documentation pps.rst: add PPS generators documentation
  Documentation ABI: add PPS generators documentation

 Documentation/ABI/testing/sysfs-pps-gen       |  44 +++
 Documentation/driver-api/pps.rst              |  40 ++
 .../userspace-api/ioctl/ioctl-number.rst      |   1 +
 MAINTAINERS                                   |   1 +
 drivers/pps/Makefile                          |   3 +-
 drivers/pps/generators/Kconfig                |  22 +-
 drivers/pps/generators/Makefile               |   4 +
 drivers/pps/generators/pps_gen-dummy.c        |  96 +++++
 drivers/pps/generators/pps_gen.c              | 344 ++++++++++++++++++
 drivers/pps/generators/sysfs.c                |  75 ++++
 include/linux/pps_gen_kernel.h                |  78 ++++
 include/uapi/linux/pps_gen.h                  |  37 ++
 12 files changed, 743 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


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

end of thread, other threads:[~2024-10-20 17:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-18 14:39 [V1 0/4] Add PPS generators Rodolfo Giometti
2024-10-18 14:39 ` [V1 1/4] drivers pps: add PPS generators support Rodolfo Giometti
2024-10-18 14:39 ` [V1 2/4] drivers pps/generators: add dummy PPS generator Rodolfo Giometti
2024-10-20 17:43   ` Randy Dunlap
2024-10-18 14:39 ` [V1 3/4] Documentation pps.rst: add PPS generators documentation Rodolfo Giometti
2024-10-20 17:48   ` Randy Dunlap
2024-10-18 14:39 ` [V1 4/4] Documentation ABI: " Rodolfo Giometti
2024-10-18 14:56   ` Andy Shevchenko
2024-10-20 17:54   ` Randy Dunlap

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

all inboxes | Powered by JetHome®