Skip to content

driver model bring-up of omap timer on dra72, dra74, am335x and am437x-sk evm

Mugunthan V N u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest19 patches 0 repliesNew
  2. v10 of 19 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19arm: omap-common: do not build timer when CONFIG_TIMER definedarch/arm/cpu/armv7/omap-common/Makefile+6 -02 replies
2/19dm: timer: uclass: add timer init to add timer devicedoc/device-tree-bindings/chosen.txt drivers/timer/timer-uclass.c lib/time.c+87 -1110 replies
2/19dm: timer: uclass: add timer init to add timer device+0 -00 replies
3/19dm: timer: uclass: Add flag to control sequence numberingdrivers/timer/timer-uclass.c+1 -03 replies
4/19drivers: timer: omap_timer: add timer driver for omap devices based on dmdrivers/timer/Kconfig drivers/timer/Makefile drivers/timer/omap-timer.c+115 -02 replies
5/19am43xx_evm: timer: do not define CONFIG_TIMER for splinclude/configs/am43xx_evm.h+1 -02 replies
6/19arm: dts: am437x-sk-evm: add tick-timer to chosen nodearch/arm/dts/am437x-sk-evm.dts+1 -02 replies
7/19defconfig: am437x_sk_evm: enable timer driver modelconfigs/am437x_sk_evm_defconfig+2 -02 replies
8/19arm: dts: am437x-gp-evm: add tick-timer to chosen nodearch/arm/dts/am437x-gp-evm.dts+1 -02 replies
9/19defconfig: am437x_gp_evm: enable timer driver modelconfigs/am437x_gp_evm_defconfig+2 -02 replies
10/19am335x_evm: timer: do not define CONFIG_TIMER for splinclude/configs/am335x_evm.h+1 -02 replies
11/19arm: dts: am335x-boneblack: add tick-timer to chosen nodearch/arm/dts/am335x-boneblack.dts+1 -02 replies
12/19defconfig: am335x_boneblack_vboot: enable timer driver modelconfigs/am335x_boneblack_vboot_defconfig+2 -02 replies
13/19arm: dts: am335x-evm: add tick-timer to chosen nodearch/arm/dts/am335x-evm.dts+1 -02 replies
14/19defconfig: am335x_gp_evm: enable timer driver modelconfigs/am335x_gp_evm_defconfig+2 -02 replies
15/19ti_omap5_common: timer: do not define CONFIG_TIMER for splinclude/configs/ti_omap5_common.h+1 -02 replies
16/19arm: dts: dra72-evm: add tick-timer to chosen nodearch/arm/dts/dra72-evm.dts+1 -02 replies
17/19defconfig: dra72_evm: enable timer driver modelconfigs/dra72_evm_defconfig+2 -02 replies
18/19arm: dts: dra7-evm: add tick-timer to chosen nodearch/arm/dts/dra7-evm.dts+1 -02 replies
19/19defconfig: dra74_evm: enable timer driver modelconfigs/dra74_evm_defconfig+2 -02 replies

Reviews trailers per patch

17 of 20 patches have a Reviewed-by or Acked-by.

PatchSimon GlassBin MengTom Rini
1/19R-b
2/19
2/19
3/19R-b R-b R-b R-b
4/19
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19R-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 v2 thread

Cover letter [U-Boot] [PATCH v2 00/19] driver model bring-up of omap timer on dra72, dra74, am335x and am437x-sk evm

This patch series enables omap timer to adopt driver model. This has been tested on the following evms (logs [1]) by invoking 'sleep 10' command with minicom timestamps.
* dra72 evm
* dra74 evm
* am335x evm
* am335x bbb
* am437x-sk evm
* am437x-gp evm

Also pushed a branch for testing [2]

[1] - http://pastebin.ubuntu.com/14190309/
[2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-timer-v2

Changes from initial->v2:
* Moved get timer either from choosen/first available timer from dm_timer_init to timer_init.
* Fixed typo errors in doc and comments
* Changed omap_timer_get_count dedfinition as per latest code base.

Mugunthan V N (19):
arm: omap-common: do not build timer when CONFIG_TIMER defined
dm: timer: uclass: add timer init to add timer device
dm: timer: uclass: Add flag to control sequence numbering
drivers: timer: omap_timer: add timer driver for omap devices based on
dm
am43xx_evm: timer: do not define CONFIG_TIMER for spl
arm: dts: am437x-sk-evm: add tick-timer to chosen node
defconfig: am437x_sk_evm: enable timer driver model
arm: dts: am437x-gp-evm: add tick-timer to chosen node
defconfig: am437x_gp_evm: enable timer driver model
am335x_evm: timer: do not define CONFIG_TIMER for spl
arm: dts: am335x-boneblack: add tick-timer to chosen node
defconfig: am335x_boneblack_vboot: enable timer driver model
arm: dts: am335x-evm: add tick-timer to chosen node
defconfig: am335x_gp_evm: enable timer driver model
ti_omap5_common: timer: do not define CONFIG_TIMER for spl
arm: dts: dra72-evm: add tick-timer to chosen node
defconfig: dra72_evm: enable timer driver model
arm: dts: dra7-evm: add tick-timer to chosen node
defconfig: dra74_evm: enable timer driver model

 arch/arm/cpu/armv7/omap-common/Makefile  |   6 ++
 arch/arm/dts/am335x-boneblack.dts        |   1 +
 arch/arm/dts/am335x-evm.dts              |   1 +
 arch/arm/dts/am437x-gp-evm.dts           |   1 +
 arch/arm/dts/am437x-sk-evm.dts           |   1 +
 arch/arm/dts/dra7-evm.dts                |   1 +
 arch/arm/dts/dra72-evm.dts               |   1 +
 configs/am335x_boneblack_vboot_defconfig |   2 +
 configs/am335x_gp_evm_defconfig          |   2 +
 configs/am437x_gp_evm_defconfig          |   2 +
 configs/am437x_sk_evm_defconfig          |   2 +
 configs/dra72_evm_defconfig              |   2 +
 configs/dra74_evm_defconfig              |   2 +
 doc/device-tree-bindings/chosen.txt      |  43 ++++++++++++
 drivers/timer/Kconfig                    |   6 ++
 drivers/timer/Makefile                   |   1 +
 drivers/timer/omap-timer.c               | 108 +++++++++++++++++++++++++++++++
 drivers/timer/timer-uclass.c             |  43 ++++++++++++
 include/configs/am335x_evm.h             |   1 +
 include/configs/am43xx_evm.h             |   1 +
 include/configs/ti_omap5_common.h        |   1 +
 lib/time.c                               |  13 +---
 22 files changed, 230 insertions(+), 11 deletions(-)
 create mode 100644 doc/device-tree-bindings/chosen.txt
 create mode 100644 drivers/timer/omap-timer.c
Signature · 1 line
2.7.0.rc1.5.gf3adf45