mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
19df7510d5
This patch is to add debugfs support for ptp_qoriq. Current debugfs supports to control fiper1/fiper2 loopback mode. If the loopback mode is enabled, the fiper1/fiper2 pulse is looped back into trigger1/ trigger2 input. This is very useful for validating hardware and driver without external hardware. Below is an example to enable fiper1 loopback. echo 1 > /sys/kernel/debug/2d10e00.ptp_clock/fiper1-loopback Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
492 B
Makefile
15 lines
492 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for PTP 1588 clock support.
|
|
#
|
|
|
|
ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK) += ptp.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_DTE) += ptp_dte.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_IXP46X) += ptp_ixp46x.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_PCH) += ptp_pch.o
|
|
obj-$(CONFIG_PTP_1588_CLOCK_KVM) += ptp_kvm.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
|