iio: adc: ad7768-1: Ensure SYNC_IN pulse minimum timing requirement
authorJonathan Santos <Jonathan.Santos@analog.com>
Wed, 4 Jun 2025 19:35:21 +0000 (16:35 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:37 +0000 (07:45 +0100)
commit7e54d932873d91a55d1b89b7389876d78aeeab32
treeb2e8c0915535e93e9e3ac4edb26f2cc1cf7d5782
parenta238572b90876c9030655b7fb062b79b5972034f
iio: adc: ad7768-1: Ensure SYNC_IN pulse minimum timing requirement

The SYNC_IN pulse width must be at least 1.5 x Tmclk, corresponding to
~2.5 µs at the lowest supported MCLK frequency. Add a 3 µs delay to
ensure reliable synchronization timing even for the worst-case scenario.

Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/d3ee92a533cd1207cf5c5cc4d7bdbb5c6c267f68.1749063024.git.Jonathan.Santos@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7768-1.c