summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-dpaa2/rtc/Makefile
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2018-04-23 11:55:00 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:53:05 +0200
commit9bdf43b3d40f8c0066eb12c7693509d2b4c5bdac (patch)
treecdd7663d700c962328b63954e00b6cc864915e9a /drivers/staging/fsl-dpaa2/rtc/Makefile
parentd08e2f9728ca5ceeb1ba026a2a1c741d7833d756 (diff)
staging: fsl-dpaa2/rtc: add rtc driver
This patch is to add driver for the DPAA2 1588 timer module (RTC) which interfaces to up to an unlimited number of 10/100/1000 or 10G ethernet MACs, providing current time, alarm, and fiper support. The 1588 IP control block includes these distinctive features. - External GPIO trigger for time-stamping - 2 Time-stamp alarms - 3 FIPER pulse generators - Phase adjusted output timer clock Currently this driver only supports basic functions like settime/gettime/adjtime/adjfreq. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-dpaa2/rtc/Makefile')
-rw-r--r--drivers/staging/fsl-dpaa2/rtc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/fsl-dpaa2/rtc/Makefile b/drivers/staging/fsl-dpaa2/rtc/Makefile
new file mode 100644
index 000000000000..5468da071163
--- /dev/null
+++ b/drivers/staging/fsl-dpaa2/rtc/Makefile
@@ -0,0 +1,7 @@
+#
+# Makefile for the Freescale DPAA2 PTP clock
+#
+
+obj-$(CONFIG_FSL_DPAA2_PTP_CLOCK) += dpaa2-rtc.o
+
+dpaa2-rtc-objs := rtc.o dprtc.o