commit | e37e45934afed32f00e16db745c410d5c675456d | [log] [tgz] |
---|---|---|
author | Maxime Coquelin <mcoquelin.stm32@gmail.com> | Fri May 22 23:03:33 2015 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Jun 02 12:10:15 2015 +0200 |
tree | 6ad9e2026ff0753ae5e2fa311d8ecabd39c2ef52 | |
parent | 4853914ffcea925ded0ac2be205f55688f302caa [diff] |
clockevents/drivers: Add STM32 Timer driver STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. The drivers detects whether the time is 16 or 32 bits, and applies a 1024 prescaler value if it is 16 bits. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>