cpsw: add a DT field for the active time stamping port
commit78ca0b287314ad6b7b06161b3ff9b13e8a8bcce0
authorRichard Cochran <richardcochran@gmail.com>
Mon, 29 Oct 2012 08:45:18 +0000 (29 08:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:21:32 +0000 (1 12:21 -0400)
tree99ab480436bf31cb253c334f57b5b9b039ad9f0a
parent6b60393e08f9263c7b129d54eeb261e8f970175c
cpsw: add a DT field for the active time stamping port

Because time stamping on both external ports of the switch simultaneously
is positively useless from the application's point of view, this patch
provides a DT configuration method to choose the active port.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/cpsw.txt
drivers/net/ethernet/ti/cpsw.c
include/linux/platform_data/cpsw.h