From: Clément Peron <clement.pe...@devialet.com> As suggested in the commit message we have added the device tree support, proper bindings and we moved the driver into the correct folder.
Moreover we made some changes like use of relaxed IO accesor, implement sched_clock, delay_timer and reduce the clockevents min_delta. Changes since v1 (Thanks Vladimir Zapolskiy): - Add OF dependency in Kconfig - Sort header - Use BIT macro - Remove useless comments - Fix incorrect indent - Fix memory leak - Add check and handle possible returned error Clément Peron (2): ARM: imx: remove inexistant EPIT timer init Documentation: DT: add i.MX EPIT timer binding Colin Didier (3): ARM: clk-imx6q: add EPIT clock support clocksource: add driver for i.MX EPIT timer ARM: dts: imx6qdl: add missing compatible and clock properties for EPIT .../devicetree/bindings/clock/imx6q,epit.txt | 25 ++ arch/arm/boot/dts/imx6qdl.dtsi | 12 + arch/arm/mach-imx/common.h | 1 - drivers/clk/imx/clk-imx6q.c | 2 + drivers/clocksource/Kconfig | 12 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-imx-epit.c | 273 ++++++++++++++++++ include/dt-bindings/clock/imx6qdl-clock.h | 4 +- 8 files changed, 328 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/imx6q,epit.txt create mode 100644 drivers/clocksource/timer-imx-epit.c -- 2.17.0