[RFC PATCH v3 1/2] drivers/amba: create devices from device tree

Linus Walleij linus.walleij at linaro.org
Thu May 26 17:41:06 EST 2011


2011/5/25 Rob Herring <robherring2 at gmail.com>:

Trivia:

> +       /* Allow the arm,amba-deviceid value to override the h/w value */
> +       prop = of_get_property(node, "arm,amba-deviceid", NULL);
> +       if (prop)
> +               dev->periphid = of_read_ulong(prop, 1);

That currently does not override the H/W value at all. But when/if patch
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=6829/1
gets merged, it eventually will.

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list