All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] clocksource: Generalize Faraday timer
@ 2017-05-17 14:05 ` Linus Walleij
  0 siblings, 0 replies; 40+ messages in thread
From: Linus Walleij @ 2017-05-17 14:05 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Joel Stanley, Jonas Jensen
  Cc: Janos Laube, Paulius Zaleckas, linux-arm-kernel, Hans Ulli Kroll,
	Florian Fainelli, linux-kernel, Linus Walleij

It turns out that the Moxa is using a Faraday IP timer named
FTTMR010. This is also what Aspeed's derivative is based on.

This series attempts to merge these two drivers into one to
get lesser code to maintain. Also it incidentally adds a
sched_clock() implementation to the Moxa and Aspeed, which
is nice.

The patches can also be grabbed from here:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?h=fttmr010

Future ideas include supporting the optional EXTCLK
(32kHz clock) and delay timers. This will then get available
on all three supported platforms = big win.

The patches can be applied as soon as Jonas Jensen and Joel
Stanley says they work for them.

I have chosen to work on this body of code (rather than the
Moxart code) as it is derived from code originally posted
by Faraday themselves here:
https://lwn.net/Articles/447919/

I hope we can get this to work!

Linus Walleij (8):
  clocksource/drivers/fttmr010: Fix the clock handling
  clocksource/drivers/fttmr010: Merge FTTMR010 DT bindings
  clocksource/drivers/fttmr010: Drop Gemini specifics
  clocksource/drivers/fttmr010: Use state container
  clocksource/drivers/fttmr010: Switch to use bitops
  clocksource/drivers/fttmr010: Switch to use TIMER2 src
  clocksource/drivers/fttmr010: Merge Moxa into FTTMR010
  ARM: dts: augment Moxa and Aspeed DTS for FTTMR010

 .../devicetree/bindings/timer/faraday,fttmr010.txt |   4 +-
 .../bindings/timer/moxa,moxart-timer.txt           |  19 --
 arch/arm/boot/dts/aspeed-g4.dtsi                   |   7 +-
 arch/arm/boot/dts/aspeed-g5.dtsi                   |   6 +-
 arch/arm/boot/dts/moxart.dtsi                      |   3 +-
 arch/arm/mach-aspeed/Kconfig                       |   2 +-
 arch/arm/mach-moxart/Kconfig                       |   2 +-
 drivers/clocksource/Kconfig                        |   7 -
 drivers/clocksource/Makefile                       |   1 -
 drivers/clocksource/moxart_timer.c                 | 256 --------------
 drivers/clocksource/timer-fttmr010.c               | 377 +++++++++++----------
 11 files changed, 214 insertions(+), 470 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/moxa,moxart-timer.txt
 delete mode 100644 drivers/clocksource/moxart_timer.c

-- 
2.9.3

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2017-05-23  0:51 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 14:05 [PATCH 0/8] clocksource: Generalize Faraday timer Linus Walleij
2017-05-17 14:05 ` Linus Walleij
2017-05-17 14:05 ` [PATCH 1/8] clocksource/drivers/fttmr010: Fix the clock handling Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05 ` [PATCH 2/8] clocksource/drivers/fttmr010: Merge FTTMR010 DT bindings Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-23  0:51   ` Rob Herring
2017-05-23  0:51     ` Rob Herring
2017-05-23  0:51     ` Rob Herring
2017-05-17 14:05 ` [PATCH 3/8] clocksource/drivers/fttmr010: Drop Gemini specifics Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05 ` [PATCH 4/8] clocksource/drivers/fttmr010: Use state container Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05 ` [PATCH 5/8] clocksource/drivers/fttmr010: Switch to use bitops Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05 ` [PATCH 6/8] clocksource/drivers/fttmr010: Switch to use TIMER2 src Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-17 14:05 ` [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-18  7:22   ` Joel Stanley
2017-05-18  7:22     ` Joel Stanley
2017-05-18 12:43     ` Linus Walleij
2017-05-18 12:43       ` Linus Walleij
2017-05-18 13:12       ` Cédric Le Goater
2017-05-18 13:12         ` Cédric Le Goater
2017-05-18 20:20       ` Linus Walleij
2017-05-18 20:20         ` Linus Walleij
2017-05-18 21:09         ` Cédric Le Goater
2017-05-18 21:09           ` Cédric Le Goater
2017-05-19  7:59           ` Cédric Le Goater
2017-05-19  7:59             ` Cédric Le Goater
2017-05-17 14:05 ` [PATCH 8/8] ARM: dts: augment Moxa and Aspeed DTS for FTTMR010 Linus Walleij
2017-05-17 14:05   ` Linus Walleij
2017-05-18 10:32 ` [PATCH 0/8] clocksource: Generalize Faraday timer Jonas Jensen
2017-05-18 10:32   ` Jonas Jensen
2017-05-18 12:11   ` Linus Walleij
2017-05-18 12:11     ` Linus Walleij
2017-05-18 13:31     ` Daniel Lezcano
2017-05-18 13:31       ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.