lkml.org 
[lkml]   [2024]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/13] i2c: nomadik: fetch timeout-usecs property from devicetree

> + /* Slave response timeout */
> + if (!of_property_read_u32(np, "timeout-usecs", &timeout_usecs))
> + priv->timeout_usecs = timeout_usecs;
> + else
> + priv->timeout_usecs = 200 * USEC_PER_MSEC;

I could imagine to add 'transfer_timeout_us' to struct i2c_timings.
Then, you could use 'i2c_parse_fw_timings' to obtain the value. What
values/value range do you use here? I can't find them in the DTS
additions.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2024-05-27 15:24    [W:0.274 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site