ptp: support DPAA FMan 1588 timer in ptp_qoriq
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 25 Jun 2018 12:37:08 +0000 (20:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:15:14 +0000 (22:15 +0900)
commita8f62d0c6fe533e07cd1acce7588278f9d6e7720
tree0b531d7e111700573f22ed1cf30642f7ea486281
parentc4015302565c9869bfc16824096211a32ba4d416
ptp: support DPAA FMan 1588 timer in ptp_qoriq

This patch is to support DPAA (Data Path Acceleration Architecture)
1588 timer by adding "fsl,fman-ptp-timer" compatible, sharing
interrupt with FMan, adding FSL_DPAA_ETH dependency, and fixing
up register offset.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/Kconfig
drivers/ptp/ptp_qoriq.c
include/linux/fsl/ptp_qoriq.h