[lkml]   [2012]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Input: twl6040-vibra: Update for device tree support
    Hi Peter,

    On Wed, May 16, 2012 at 02:19:46PM +0300, Peter Ujfalusi wrote:
    > The twl6040 DT support implementation has been changed from the originally
    > planned.
    > None of the child devices going to have compatible_of property which means
    > that the child devices of twl6040 will be created as traditional MFD devices.
    > The mfd core driver will decide (based on the DT blob) to create a device
    > for the twl6040-vibra or not. If the DT blob has 'vibra' section the device
    > will be created without pdata.
    > In this case the vibra driver will reach up to the parent node to get the
    > needed properties.

    So in this case why don't you have parent parse all DT data and
    construct instance of pdata for vibra driver to consume?



     \ /
      Last update: 2012-05-16 22:21    [W:0.026 / U:11.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site