[PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

Linus Walleij linus.walleij at linaro.org
Thu Aug 30 19:30:55 EDT 2012


On Mon, Aug 20, 2012 at 1:02 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> On 00:42 Sun 19 Aug     , Linus Walleij wrote:

> no I mean why
>> >> +     OF_DEV_AUXDATA("arm,primecell", INTEGRATOR_RTC_BASE,
>> >> +             "rtc", NULL),
>> >> +     OF_DEV_AUXDATA("arm,primecell", KMI0_BASE,
>> >> +             "kmi0", NULL),
>> >> +     OF_DEV_AUXDATA("arm,primecell", KMI1_BASE,
>> >> +             "kmi1", NULL),
>
> no platform data why do you use the AUXDATA?
>
> as the OF_DEV_AUXDATA is deprecated now

OK this is to get the right bus names of the devices.

As I support boot from both device tree and without device tree, I cannot
change all the names that e.g. the clock framework is tied to.

Once we switch to pure device tree this can be changed at the user
sites and all auxdata be removed.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list