[lkml]   [2013]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v7] gpio: davinci: use {readl|writel}_relaxed() instead of __raw_*
On Friday 13 December 2013 09:34 AM, Prabhakar Lad wrote:
> Hi Linus,
> On Fri, Dec 13, 2013 at 2:01 AM, Linus Walleij <> wrote:
>> On Wed, Dec 11, 2013 at 6:52 PM, Prabhakar Lad
>> <> wrote:
>>> From: "Lad, Prabhakar" <>
>>> This patch replaces the __raw_readl/writel with
>>> {readl|writel}_relaxed(), Altough the code runs on ARMv5
>>> based SOCs, changing this will help copying the code


>>> for other uses.

Call out usability on big-endian machines specifically here.

>>> Signed-off-by: Lad, Prabhakar <>
>>> ---
>>> This patch is part of series [1] rest of the patches
>>> are Acked/reviewed so posting this patch independently
>>> and marking it as v7.
>>> [1]
>>> drivers/gpio/gpio-davinci.c | 36 ++++++++++++++++++------------------
>> Acked-by: Linus Walleij <>
> Thanks for the Ack.
>> Should I take this into the GPIO tree, or should it go
>> in through the DaVinci tree?
> To avoid dependencies its better it goes via DaVinci tree.

I added this to v3.14/gpio branch of my tree (with modifications I
mentioned above).

I dont think there are dependencies for this particular patch though
(applies and builds nicely on latest Linus T's tree). Even then, there
are too many GPIO patches floating around and I think it is better for
me to collect them for a while and if there really are no platform code
dependencies overall, I can probably hand that branch off to Linus W. We
will see.


 \ /
  Last update: 2013-12-15 13:21    [W:0.034 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site