]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: add support for event capture
authorBrandon Streiff <brandon.streiff@ni.com>
Wed, 14 Feb 2018 00:07:47 +0000 (01:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2018 19:33:37 +0000 (14:33 -0500)
commit4625267aae3738b65c1fdd3f34d593931168592f
treed0167d7ea61919806a34b82682bd98fd8d90790f
parent31fdb3642a5dc312fec1b0c60fd7394482cd077b
net: dsa: mv88e6xxx: add support for event capture

This patch adds support for configuring mv88e6xxx GPIO lines as PTP
pins, so that they may be used for time stamping external events or for
periodic output.

Checkpatch and reverse Christmas tree fixes by Andrew Lunn

Periodic output removed by Richard Cochran, until a better abstraction
of a VCO is added to Linux in general.

Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/ptp.c
drivers/net/dsa/mv88e6xxx/ptp.h