Skip to content

Commit

Permalink
ptp: Add a ptp clock driver for IDT ClockMatrix.
Browse files Browse the repository at this point in the history
The IDT ClockMatrix (TM) family includes integrated devices that provide
eight PLL channels.  Each PLL channel can be independently configured as a
frequency synthesizer, jitter attenuator, digitally controlled
oscillator (DCO), or a digital phase lock loop (DPLL).  Typically
these devices are used as timing references and clock sources for PTP
applications.  This patch adds support for the device.

Co-developed-by: Richard Cochran <[email protected]>
Signed-off-by: Richard Cochran <[email protected]>
Signed-off-by: Vincent Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
vincentc-renesas authored and davem330 committed Nov 4, 2019
1 parent 5c5e7aa commit 3a6ba7d
Show file tree
Hide file tree
Showing 5 changed files with 2,201 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/ptp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,16 @@ config PTP_1588_CLOCK_KVM
To compile this driver as a module, choose M here: the module
will be called ptp_kvm.

config PTP_1588_CLOCK_IDTCM
tristate "IDT CLOCKMATRIX as PTP clock"
select PTP_1588_CLOCK
default n
help
This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP
clock. This clock is only useful if your time stamping MAC
is connected to the IDT chip.

To compile this driver as a module, choose M here: the module
will be called ptp_clockmatrix.

endmenu
1 change: 1 addition & 0 deletions drivers/ptp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ 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
obj-$(CONFIG_PTP_1588_CLOCK_IDTCM) += ptp_clockmatrix.o
Loading

0 comments on commit 3a6ba7d

Please sign in to comment.