[PATCH v2 2/2] spi: npcm-fiu: add NPCM FIU controller driver
Tomer Maimon
tmaimon77 at gmail.com
Sat Aug 10 01:31:10 AEST 2019
Hi Mark,
Thanks for your prompt reply.
I will like to send another patch with support for the spi_mem_op->addr
field.
I am going to vacation until 25/08 I will send the new patch (V3) as soon I
will be back.
Thanks for your support,
Tomer
On Thu, 8 Aug 2019 at 21:55, Mark Brown <broonie at kernel.org> wrote:
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190809/649d44f6/attachment.htm>
More information about the openbmc
mailing list