]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 28 May 2017 11:27:02 +0000 (14:27 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 27 Jul 2017 13:40:17 +0000 (16:40 +0300)
commit8630ad19ab5fd567cb3a7d2ffd0f2bb52d10c91a
tree37f9e2ca5c6243f01e0c35004873086c73dfedab
parent43407c661b74c65b1633616ca9d0c76b7b0d92b7
net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request

Add the missing option to enable the PTP_CLK_PPS function.
In this case pin should be configured as 1PPS IN first and
then it will be connected to PPS mechanism.
Events will be reported as PTP_CLOCK_PPSUSR events to relevant sysfs.

Fixes: e4ade0b7f5ed ('net/mlx5e: Implement 1PPS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c