diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-01-21 18:41:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-22 20:21:57 -0800 |
commit | 19df7510d5cf077c2e88a7690fb7617e6d341beb (patch) | |
tree | 8f1c49592e7b63d60ff65a299078a6192005f8af /drivers/ptp/Kconfig | |
parent | 47205e2985d9338ccdb5ffc84147260ed7864015 (diff) | |
download | linux-stable-19df7510d5cf077c2e88a7690fb7617e6d341beb.tar.gz linux-stable-19df7510d5cf077c2e88a7690fb7617e6d341beb.tar.bz2 linux-stable-19df7510d5cf077c2e88a7690fb7617e6d341beb.zip |
ptp: add debugfs support for ptp_qoriq
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>
Diffstat (limited to 'drivers/ptp/Kconfig')
-rw-r--r-- | drivers/ptp/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index d137c480db46..aeb4a8b2e0af 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -53,7 +53,7 @@ config PTP_1588_CLOCK_QORIQ packets using the SO_TIMESTAMPING API. To compile this driver as a module, choose M here: the module - will be called ptp_qoriq. + will be called ptp-qoriq. config PTP_1588_CLOCK_IXP46X tristate "Intel IXP46x as PTP clock" |