lkml.org 
[lkml]   [2008]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remove} calls
    From
    Date
    On Wed, 2008-10-22 at 14:04 -0700, David Brownell wrote:
    > > So if we register the board infos after
    > > the controller registered, then nobody will probe the board infos.
    >
    > See above. If you're doing it right, there's no problem.
    > That is, scan the OF tables early. Just like PNP tables
    > get scanned early, for example.

    It's still pretty yucky in that case to scan the device-tree to convert
    it into some kind of fugly board info ... I'd rather have the end
    drivers that actually use those GPIOs scan the device-tree directly.

    But then, I'm not a believer in generic drivers for things like GPIOs,
    i2c devices, etc.. :-)

    Ben.




    \
     
     \ /
      Last update: 2008-10-23 06:51    [W:0.021 / U:29.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site