diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-03-24 22:32:35 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-04-07 16:23:08 +0200 |
commit | 28e71e2fe8fe6cdbd1bdc61601ea50d6423d3cf0 (patch) | |
tree | 745688ebc21f151d9a7bcbce406d77bd22f3dd3c /drivers/pwm | |
parent | f5bf0ee4ebf779e256bb710f638b4452d94e97fb (diff) | |
download | linux-28e71e2fe8fe6cdbd1bdc61601ea50d6423d3cf0.tar.gz linux-28e71e2fe8fe6cdbd1bdc61601ea50d6423d3cf0.tar.bz2 linux-28e71e2fe8fe6cdbd1bdc61601ea50d6423d3cf0.zip |
clocksource/drivers/fttmr010: Refactor to handle clock
The plain Faraday FTTMR010 timer needs a clock to figure out its
tick rate, and the gemini reads it directly from the system
controller set-up. Split the init function and add two paths for
the two compatible-strings. We only support clocking using PCLK
because of lack of documentation on how EXTCLK works.
The Gemini still works like before, but we can also support a
generic, clock-based version.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions