[lkml]   [2018]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH v2 10/14] m68k: mac: Convert to clocksource API
On Mon, Nov 19, 2018 at 2:22 AM Finn Thain <> wrote:

> Add a platform clocksource by adapting the existing arch_gettimeoffset
> implementation.
> Signed-off-by: Finn Thain <>
> Acked-by: Linus Walleij <>
> Tested-by: Stan Johnson <>

As noted for the Amiga CIA (which is pretty much a sibling to this
MOS 6522 VIA) this chip also has two counters and could use one
as clocksource and the other as clock event.

Again I bet this is just using one timer out of habit.

It will be an easy feat to make a clean clocksource+clock event
for this hardware as well once this refactoring is complete.

Linus Walleij

 \ /
  Last update: 2018-11-20 09:16    [W:0.149 / U:12.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site