lkml.org 
[lkml]   [2015]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] spi: dts: sun4i: Add support for hardware-based wait time between words
From
2015-12-14 8:31 GMT+01:00 Marcus Weseloh <mweseloh42@gmail.com>:
> [...]
>>> + /* Setup wait time between words */
>>> + of_property_read_u32(spi->dev.of_node, "spi-word-wait-ns",
>>> + &wait_ns);
>>
>> Read this in probe and save the value rather than fetching every
>> transfer.
>
> But this is a slave property I'm using here. If I read and store it in
> probe in the spi-sun4i driver, I won't have access to the slave node
> property, will I?

Sorry, I think I get it now. I would need to read the value in SPI
core, when the slave device gets probed. I will send an updated patch.

Thanks,

Marcus


\
 
 \ /
  Last update: 2015-12-14 09:21    [W:0.040 / U:5.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site