Re: [PATCH V2 2/2] Input: spear-keyboard: add device tree bindings
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2012-03-27 07:51:52
Also in:
linux-devicetree
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2012-03-27 07:51:52
Also in:
linux-devicetree
On Tue, Mar 27, 2012 at 01:07:51PM +0530, Viresh Kumar wrote:
On 3/27/2012 12:43 PM, Dmitry Torokhov wrote:quoted
I think the opposite order woudl make more sense - if pdata is supplied by the platform code then we should use it, otherwise try to see if there is OF data available instead. This way one can easily override OF data, if needed.Okay. Just for better understanding, why should we give more preference to pdata? I thought, a single image with pdata can be booted with or without DT support for keyboard. So, if we are booting without of DT for keyboard, then use pdata, otherwise use DT data.
My reasoning is that device tree is in firmware and it might be desirable to override firmware in certain cases. Thanks. -- Dmitry