[lkml]   [2009]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] [PATCH] Device Tree on ARM platform
    On Thu, 2009-05-28 at 01:57 +0200, Robert Schwebel wrote:
    > On Wed, May 27, 2009 at 02:22:50PM -0600, Grant Likely wrote:
    > > 2) Driver binding mechanism: device tree nodes usually have a
    > > "compatible" property which is a list of strings. The first string
    > > describes exactly what the device is (ie. "atmel,24c08") and an
    > > optional list of other devices which it is register interface
    > > backwards compatible with.
    > This is a good example. The "exact" description above doesn't say
    > anything about some of the details the driver needs to know. Here is the
    > at24 driver:
    > Where do we get the page size & flags from?

    Easy, add properties for them in the node for that device ! The
    device-tree actually makes that really easy, a lot easier than anything
    else I've seen so far.


     \ /
      Last update: 2009-05-28 09:55    [W:0.020 / U:15.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site