Re: Trivial clocksource driver
From: Thomas Gleixner
Date: Tue Sep 29 2015 - 16:50:38 EST
On Tue, 29 Sep 2015, Måns Rullgård wrote:
> Mason <slash.tmp@xxxxxxx> writes:
>
> > On 29/09/2015 20:32, Thomas Gleixner wrote:
> >
> >> On Tue, 29 Sep 2015, Mason wrote:
> >>
> >>> I am trying to submit a new ARM port, and Arnd pointed out that the
> >>> clocksource code could not live in arch/arm/$PLATFORM, but had to
> >>> move to drivers/clocksource (and it had to support DT).
> >>>
> >>> Did I understand correctly? Is this the right place to submit code
> >>> as provided below?
> >>
> >> Yes, drivers/clocksource is the right place. You just need to submit a
> >> formal patch, which includes a proper subject line, changelog, plus
> >> the necessary Makefile and Kconfig modifications.
> >
> > OK, I'll send a formal patch tomorrow.
> > There are no Kconfig modifications, is that OK?
>
> Why don't you use my driver? It's even simpler, and it works just fine
> on the 87xx chip.
>
> https://github.com/mansr/linux-tangox/blob/master/drivers/clocksource/clksrc-tangox.c
Perhaps because that driver is not upstream either?
Thanks,
tglx