Skip to content

Commit 3a6ba7d

Browse files
vincentc-renesasdavem330
authored andcommitted
ptp: Add a ptp clock driver for IDT ClockMatrix.
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]>
1 parent 5c5e7aa commit 3a6ba7d

File tree

5 files changed

+2201
-0
lines changed

5 files changed

+2201
-0
lines changed

drivers/ptp/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,16 @@ config PTP_1588_CLOCK_KVM
119119
To compile this driver as a module, choose M here: the module
120120
will be called ptp_kvm.
121121

122+
config PTP_1588_CLOCK_IDTCM
123+
tristate "IDT CLOCKMATRIX as PTP clock"
124+
select PTP_1588_CLOCK
125+
default n
126+
help
127+
This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP
128+
clock. This clock is only useful if your time stamping MAC
129+
is connected to the IDT chip.
130+
131+
To compile this driver as a module, choose M here: the module
132+
will be called ptp_clockmatrix.
133+
122134
endmenu

drivers/ptp/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ obj-$(CONFIG_PTP_1588_CLOCK_KVM) += ptp_kvm.o
1212
obj-$(CONFIG_PTP_1588_CLOCK_QORIQ) += ptp-qoriq.o
1313
ptp-qoriq-y += ptp_qoriq.o
1414
ptp-qoriq-$(CONFIG_DEBUG_FS) += ptp_qoriq_debugfs.o
15+
obj-$(CONFIG_PTP_1588_CLOCK_IDTCM) += ptp_clockmatrix.o

0 commit comments

Comments
 (0)