On Tue, Mar 27, 2012 at 01:07:51PM +0530, Viresh Kumar wrote: > 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. My reasoning is that device tree is in firmware and it might be desirable to override firmware in certain cases. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html