Re: [PATCH v4] clocksource/drivers/tango_xtal: Add new timer for Tango SoCs
From: Måns Rullgård
Date: Fri Oct 09 2015 - 12:01:40 EST
Marc Gonzalez <marc_gonzalez@xxxxxxxxxxxxxxxx> writes:
> Måns Rullgård wrote:
>
>> Marc Gonzalez wrote:
>>
>>> Sigma Designs Tango platforms provide a 27 MHz crystal oscillator.
>>> Use it for clocksource, sched_clock, and delay_timer.
>>
>> Given the nature of this hardware, I think it would make much more sense
>> to support it in a generic fashion. Otherwise the next chip that comes
>> along with a similar counter will result in near duplicate of this
>> "driver", and so on.
>
> I didn't /want/ to write this driver, or rather this "driver" as you put it
> (implying that it is so trivial that I am lame even to submit it). It was
> living happily in arch/arm/clock-tango.c, but Arnd pointed out that such
> code must migrate to drivers/clocksource.
>
> I find your claim that this minimal device (a single register really) should
> be supported in a generic fashion questionable. No one seems to have ever
> needed this, yet it has suddenly become urgent to have it right now?
Apparently, nobody has needed it before (I can't say for sure that no
existing drivers could be simplified). That doesn't mean that nobody
will need it again. When something can be supported in a generic way,
it is usually a good idea to do that. It saves work in the long term.
> I'm sorry if my mainlining effort is not compatible with your schedule, but
> I've been working on this port for 6 months, and I can't wait a few more
> weeks just because you're not quite ready. (Have you mainstreamed the eth
> and intc driver? I would actually need those.)
You (Sigma) had the chance to contract me to help out with this work and
strongly indicated ("we will send you a contract for review by the end
of the week") that you would. Then you backtracked in a rather ugly
manner. Forgive me if I'm less than motivated to suddenly spend hours
of unpaid time helping you get things in shape. If you don't want to
pay me, you also don't get to set my schedule. Besides, you've never
shown any interest whatsoever in upstreaming before, so I really don't
see why it is so urgent for you now.
--
Måns Rullgård
mans@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/