lkml.org 
[lkml]   [2012]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource
From
On Wed, Aug 8, 2012 at 3:46 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Tuesday 07 August 2012, Mark Brown wrote:
>> The removal of mach/io.h from most ARM platforms also set the range of
>> valid IO ports to be empty for most platforms when previously any 32
>> bit integer had been valid. This makes it impossible to add IO resources
>> as the added range is smaller than that of the root resource for IO ports.
>>
>> Since we're not really using IO memory at all fix this by defining our
>> own root resource outside the normal tree and make that the parent of
>> all IO resources. This also ensures we won't conflict with read IO ports
>> if we ever run on a platform which happens to use them.
>>
>> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
>> Cc: stable@vger.kernel.org (v3.4+)
>
> (whole series)
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com>

And I also attached my 3 patches for 88pm860x since the old self-defined
IORESOURCE_IO should be changed to register offset (IORESOURCE_REG).
Otherwise, it still fails in my platform.

Regards
Haojian


\
 
 \ /
  Last update: 2012-08-08 20:42    [W:0.106 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site