mbox series

[0/3] PtP driver for s390 clocks

Message ID 20241015084728.1833876-1-svens@linux.ibm.com (mailing list archive)
Headers show
Series PtP driver for s390 clocks | expand

Message

Sven Schnelle Oct. 15, 2024, 8:47 a.m. UTC
Hi,

these patches add support for using the s390 physical and TOD clock as ptp
clock. To do so, the first patch adds a clock id to the s390 TOD clock. The
second patch adds sending a udev event when a ptp device is added, so that
userspace is able to generate stable device names for virtual ptp devices.
The last patch adds the PtP driver itself.

Sven Schnelle (3):
  s390/time: Add clocksource id to TOD clock
  ptp: Add clock name to uevent
  s390/time: Add PtP driver

 MAINTAINERS                     |   6 ++
 arch/s390/include/asm/timex.h   |   8 ++
 arch/s390/kernel/time.c         |   8 ++
 drivers/ptp/Kconfig             |  11 +++
 drivers/ptp/Makefile            |   1 +
 drivers/ptp/ptp_clock.c         |  11 ++-
 drivers/ptp/ptp_s390.c          | 127 ++++++++++++++++++++++++++++++++
 include/linux/clocksource_ids.h |   1 +
 8 files changed, 172 insertions(+), 1 deletion(-)
 create mode 100644 drivers/ptp/ptp_s390.c