Skip to content

Reintroduce i.MX EPIT Timer

Clément Péron linux-arm-kernel linux-devicetree lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 11 repliesIn review
  2. v65 patches 11 repliesSuperseded
  3. v54 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v45 patches9 repliesSuperseded
v35 patches0 repliesSuperseded
v25 patches7 repliesSuperseded
v15 patches4 repliesApplied

Changes in v7 from the cover letter

-fix indent

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: imx6: add EPIT clock supportdrivers/clk/imx/clk-imx6q.c include/dt-bindings/clock/imx6qdl-clock.h+5 -10 replies
2/5ARM: imx: remove inexistant EPIT timer initarch/arm/mach-imx/common.h+0 -10 replies
3/5dt-bindings: timer: add i.MX EPIT timer bindingDocumentation/devicetree/bindings/timer/fsl,imxepit.txt+21 -01 reply
4/5clocksource: add driver for i.MX EPIT timerdrivers/clocksource/Kconfig drivers/clocksource/Makefile drivers/clocksource/timer-imx-epit.c+277 -04 replies
5/5ARM: dts: imx: add missing compatible and clock properties for EPITarch/arm/boot/dts/imx25.dtsi arch/arm/boot/dts/imx6qdl.dtsi arch/arm/boot/dts/imx6sl.dtsi +2 more+38 -100 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchFabio EstevamRob HerringVladimir Zapolskiy
1/5R-b A-b
2/5R-b R-b T-b
3/5R-b R-b
4/5R-b T-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/5] Reintroduce i.MX EPIT Timer

From: Cl?ment Peron <[email protected]>

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 v6:
-fix indent

Changes since v5:
- change epit to timer in doc example
- fix typo in imx6sl.dtsi

Changes since v4:
- removed ipg clk
- change in dt epit to timer
- add introduction in doc
- add all compatibles in doc
- update epit entry for other i.MX device-trees

Changes since v3:
- Clean Kconfig
- Rename imx6q-epit to imx31-epit
- Update doc and bindings
- Indent and fix

Changes since v2 (Thanks Fabio Estevam):
- Removed unused ckil clock
- Add out_iounmap
- Check and handle if clk_prepare_enable failed
- Fix comment typo

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
dt-bindings: timer: add i.MX EPIT timer binding

Colin Didier (3):
clk: imx6: add EPIT clock support
clocksource: add driver for i.MX EPIT timer
ARM: dts: imx: add missing compatible and clock properties for EPIT

 .../devicetree/bindings/timer/fsl,imxepit.txt |  21 ++
 arch/arm/boot/dts/imx25.dtsi                  |   8 +-
 arch/arm/boot/dts/imx6qdl.dtsi                |  10 +-
 arch/arm/boot/dts/imx6sl.dtsi                 |  10 +-
 arch/arm/boot/dts/imx6sx.dtsi                 |  10 +-
 arch/arm/boot/dts/imx6ul.dtsi                 |  10 +-
 arch/arm/mach-imx/common.h                    |   1 -
 drivers/clk/imx/clk-imx6q.c                   |   2 +
 drivers/clocksource/Kconfig                   |  11 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/timer-imx-epit.c          | 265 ++++++++++++++++++
 include/dt-bindings/clock/imx6qdl-clock.h     |   4 +-
 12 files changed, 341 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/fsl,imxepit.txt
 create mode 100644 drivers/clocksource/timer-imx-epit.c
Signature · 1 line
2.17.1