mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
2d7de7a301
Add a small PtP driver which allows user space to get the values of the physical and tod clock. This allows programs like chrony to use STP as clock source and steer the kernel clock. The physical clock can be used as a debugging aid to get the clock without any additional offsets like STP steering or LPAR offset. Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Link: https://patch.msgid.link/20241023065601.449586-3-svens@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
26 lines
1.0 KiB
Makefile
26 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for PTP 1588 clock support.
|
|
#
|
|
|
|
ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o ptp_vclock.o
|
|
ptp_kvm-$(CONFIG_X86) := ptp_kvm_x86.o ptp_kvm_common.o
|
|
ptp_kvm-$(CONFIG_HAVE_ARM_SMCCC) := ptp_kvm_arm.o ptp_kvm_common.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK) += ptp.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_DTE) += ptp_dte.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_INES) += ptp_ines.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_PCH) += ptp_pch.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_KVM) += ptp_kvm.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_VMCLOCK) += ptp_vmclock.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_QORIQ) += ptp-qoriq.o
|
|
ptp-qoriq-y += ptp_qoriq.o
|
|
ptp-qoriq-$(CONFIG_DEBUG_FS) += ptp_qoriq_debugfs.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_IDTCM) += ptp_clockmatrix.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_FC3W) += ptp_fc3.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_IDT82P33) += ptp_idt82p33.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_MOCK) += ptp_mock.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_VMW) += ptp_vmw.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_OCP) += ptp_ocp.o
|
|
obj-$(CONFIG_PTP_DFL_TOD) += ptp_dfl_tod.o
|
|
obj-$(CONFIG_PTP_S390) += ptp_s390.o
|