lkml.org 
[lkml]   [2014]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI
    From
    Hi Mark,

    On Fri, Apr 4, 2014 at 8:12 PM, Mark Brown <broonie@kernel.org> wrote:
    > On Fri, Apr 04, 2014 at 07:38:14PM +0530, Harini Katakam wrote:
    >
    >> OK. I understand.
    >> Can you comment on the case where a decoder is used?
    >
    >> There is support for adding a decoder where extended slaves can be selected
    >> through the IP's control register.
    >> (This is not currently implemented in the driver but will be in the future.)
    >
    >> How should the driver know whether it is 4 or 16 select lines for example?
    >> This has to be written to master->num_chipselect.
    >
    > That's the sort of case where it's useful yes - depending on how the
    > implementation is done it may be sensible to just have a property
    > specifying if a decoder is there (if it just changes the encoding in the
    > register for example).

    OK, great. That approach will work.

    Regards,
    Harini


    \
     
     \ /
      Last update: 2014-04-04 17:21    [W:4.266 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site