]> 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)
commit07e4cac98f833931e705dd444ddcb1670c4ebb7e
treed0167d7ea61919806a34b82682bd98fd8d90790f
parent01710cfbf514c59c9b383424b531e035fc89054e
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