[PATCH V2 2/2] Input: spear-keyboard: add device tree bindings
Viresh Kumar
viresh.kumar at st.com
Tue Mar 27 18:37:51 EST 2012
On 3/27/2012 12:43 PM, Dmitry Torokhov wrote:
> 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.
--
viresh
More information about the devicetree-discuss
mailing list