[PATCH v4 08/15] clockevents/drivers: Add STM32 Timer driver

2015-03-31 Thread Maxime Coquelin
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 Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin ---

[PATCH v4 08/15] clockevents/drivers: Add STM32 Timer driver

2015-03-31 Thread Maxime Coquelin
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.wall...@linaro.org Tested-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: