Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380589 > unrolled thread

Re: [PATCH 1/2] clocksource: sp804: Add support for OX810SE 24bit timer width

Started byNeil Armstrong <narmstrong@baylibre.com>
First post2016-04-16 21:10 +0200
Last post2016-04-16 21:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] clocksource: sp804: Add support for OX810SE 24bit  timer width Neil Armstrong <narmstrong@baylibre.com> - 2016-04-16 21:10 +0200

#1380589 — Re: [PATCH 1/2] clocksource: sp804: Add support for OX810SE 24bit timer width

FromNeil Armstrong <narmstrong@baylibre.com>
Date2016-04-16 21:10 +0200
SubjectRe: [PATCH 1/2] clocksource: sp804: Add support for OX810SE 24bit timer width
Message-ID<roDLs-8sy-29@gated-at.bofh.it>
On 04/01/2016 05:33 PM, Mathieu Poirier wrote:
> On 1 April 2016 at 08:22, Neil Armstrong <narmstrong@baylibre.com> wrote:
Hi Matthieu,
Thanks for the review.

>> +       /* OX810SE Uses a special 24bit width */
>> +       if (of_device_is_compatible(np, "oxsemi,ox810se-rps-timer"))
>> +               width = 24;
> 
> Wouldn't it be better to add a new optional property for this?  If the
> property is not specified then we default to a width of 32.  Otherwise
> the new width is configured.  That way we don't have to add a new
> compatible string every time (however often) a special width is
> encountered.
As explained by Rob Herring, this HW is compatible with SP804 but is /not/ an IP from ARM
and has been customized to support 24bit.
Having a DT property for this width is not wanted actually since it makes no sense for the
original SP804 IP, so it should be handled per vendor.

> 
> Otherwise I think the code facelift looks good,
> Mathieu

Is there any other blocking points ?

The point to have a change on sp804 is to economize a new very similar driver for oxnas.

Neil

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web