[PATCH] Input: twl6040-vibra: Update for device tree support

Dmitry Torokhov dmitry.torokhov at gmail.com
Thu May 17 10:59:14 EST 2012


"Ujfalusi, Peter" <peter.ujfalusi at ti.com> wrote:

>Hi Dmitry,
>
>On Wed, May 16, 2012 at 10:35 PM, Dmitry Torokhov
><dmitry.torokhov at gmail.com> wrote:
>> So in this case why don't you have parent parse all DT data and
>> construct instance of pdata for vibra driver to consume?
>
>If there is a need to change the parameters (add new ones for example)
>for the vibra driver in this way the change in code only need to be
>done in the vibra driver.
>If the MFD core would construct the pdata, in this case I would need
>to modify both the MFD core and vibra driver.
>

Ok, fair enough.

Thanks.


--
Dmitry


More information about the devicetree-discuss mailing list