Re: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource

From: Haojian Zhuang
Date: Mon Sep 10 2012 - 11:11:30 EST


On Wed, Aug 8, 2012 at 11:20 PM, Haojian Zhuang
<haojian.zhuang@xxxxxxxxx> wrote:
> On Wed, Aug 8, 2012 at 3:46 AM, Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>>> Cc: stable@xxxxxxxxxxxxxxx (v3.4+)
>>
>> (whole series)
>>
>> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
>>
> Acked-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
> Tested-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
>
> 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

Hi Samuel,

Is it OK to merge Mark's patch and my patch into your MFD tree for v3.7?

You can also find those patches in git://github.com/hzhuang1/linux.git
mfd_pmic branch

Best Regards
Haojian
--
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/