From 9bdf43b3d40f8c0066eb12c7693509d2b4c5bdac Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Mon, 23 Apr 2018 11:55:00 +0800 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/fsl-dpaa2/rtc/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 drivers/staging/fsl-dpaa2/rtc/Makefile (limited to 'drivers/staging/fsl-dpaa2/rtc/Makefile') 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 -- cgit v1.2.3