Renesas Ethernet AVB PTP clock driver
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 10 Jun 2015 22:02:30 +0000 (01:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 07:24:12 +0000 (00:24 -0700)
commita0d2f20650e81407d8e51ad2cbdc492861c74e9c
tree56c9c1c4f4fcf26d246f3a0a8649729e496edf22
parentc156633f1353264634135dea86ffcae74f2122fc
Renesas Ethernet AVB PTP clock driver

Ethernet AVB device includes the gPTP  timer, so we can implement a PTP clock
driver.  We're doing that in a separate file, with  the main Ethernet driver
calling the PTP driver's [de]initialization and interrupt handler functions.
Unfortunately, the clock seems tightly coupled with the AVB-DMAC, so when that
one leaves the operation mode, we have to unregister the PTP clock... :-(

Based on the original patches by Masaru Nagai.

Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/Makefile
drivers/net/ethernet/renesas/ravb.c [deleted file]
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c [new file with mode: 0644]
drivers/net/ethernet/renesas/ravb_ptp.c [new file with mode: 0644]