lkml.org 
[lkml]   [2019]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/2] spi: npcm-fiu: add NPCM FIU controller driver
    On Thu, Aug 08, 2019 at 06:37:06PM +0300, Tomer Maimon wrote:

    > for example in our driver we modify the access type (singe, dual or quad)
    > according the op->addr.buswidth
    > for example in the npcm_fiu_set_drd function.

    > regmap_update_bits(fiu->regmap, NPCM_FIU_DRD_CFG,
    > NPCM_FIU_DRD_CFG_ACCTYPE,
    > ilog2(op->addr.buswidth) <<
    > NPCM_FIU_DRD_ACCTYPE_SHIFT);

    > we also modify it in the UMA R/W functions.

    Ah, it's only for the flash functions - that's fine.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2019-08-08 20:56    [W:3.652 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site