mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ptp: Added a clock that uses the eTSEC found on the MPC85xx.
The eTSEC includes a PTP clock with quite a few features. This patch adds support for the basic clock adjustment functions, plus two external time stamps, one alarm, and the PPS callback. Signed-off-by: Richard Cochran <[email protected]> Acked-by: David S. Miller <[email protected]> Acked-by: John Stultz <[email protected]> Signed-off-by: John Stultz <[email protected]>
This commit is contained in:
parent
d94ba80ebb
commit
c78275f366
8 changed files with 708 additions and 0 deletions
|
|
@ -27,4 +27,17 @@ config PTP_1588_CLOCK
|
|||
To compile this driver as a module, choose M here: the module
|
||||
will be called ptp.
|
||||
|
||||
config PTP_1588_CLOCK_GIANFAR
|
||||
tristate "Freescale eTSEC as PTP clock"
|
||||
depends on PTP_1588_CLOCK
|
||||
depends on GIANFAR
|
||||
help
|
||||
This driver adds support for using the eTSEC as a PTP
|
||||
clock. This clock is only useful if your PTP programs are
|
||||
getting hardware time stamps on the PTP Ethernet packets
|
||||
using the SO_TIMESTAMPING API.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called gianfar_ptp.
|
||||
|
||||
endmenu
|
||||
|
|
|
|||
Loading…
Reference in a new issue