[PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

Linus Walleij linus.walleij at linaro.org
Mon Sep 3 21:58:04 EST 2012


On Mon, Sep 3, 2012 at 1:32 PM, Lee Jones <lee.jones at linaro.org> wrote:

> No, this is wrong. Platform data should not override DT.
>
> If DT is enabled and passed, it should have highest priority.

Oh is that so.

Rob: do we have a clear consensus on this? Then we should document
it in Documentation/devicetree/usage-model.txt.

(That document isn't part of the binding I believe, so we could define
Linux-specific behaviours in it.)

I always thought it was the other way around, that pdata took priority.

Usecase: hardcoded bootloader passer erroneous DT to a platform.
No way out. What to do? Override with pdata.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list