]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/gemini: Add driver for the Cortina Gemini
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 22 Jan 2017 12:17:17 +0000 (13:17 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 7 Feb 2017 19:58:30 +0000 (20:58 +0100)
commit7fe4a4d42cc40e3e8432a5c7bd7a5532ab87e12b
treecd2c3e8a7ddfe10d838032f0ffdc19bb3c6c6efd
parent27e32a7fe5b70d7d28e5a0926adb713cb98887d0
clocksource/drivers/gemini: Add driver for the Cortina Gemini

This is a rewrite of the Gemini timer
driver in arch/arm/mach-gemini/timer.c trying to do everything
the device tree way:

- Make every IO-access relative to a base address and dynamic
  so we can do a dynamic ioremap and get going.
- Do not poke around directly in the global syscon registers,
  access them using the syscon regmap style design pattern for
  the one register we need to check.
- Find register range and interrupt from the device tree.

Cc: Janos Laube <janos.dev@gmail.com>
Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/timer-gemini.c [new file with mode: 0644]