[PATCH v2 0/2] iio: adc: ltc2309: Add LTC2305 read delay and optimize chip_info
From: Carlos Jones Jr
Date: Mon Mar 30 2026 - 21:26:20 EST
This series adds missing read delay support for the LTC2305 and optimizes
the chip_info structure for better memory safety and efficiency.
The LTC2305 requires a 1.6μs delay between I2C channel selection and
data read operations - a timing requirement identified by the hardware
designer that wasn't captured in the initial LTC2305 support
(commit 8625d418d24b ("iio: adc: ltc2309: add support for ltc2305")).
Additionally, the chip_info structure is enhanced with __counted_by_ptr()
annotation for improved bounds checking and reorganized to minimize
padding.
Changes in v2:
- Split into two logical patches as suggested by Andy Shevchenko:
* Patch 1: Read delay functionality
* Patch 2: Structure optimization
- No code changes from v1, only reorganization
Link to v1:
https://lore.kernel.org/linux-iio/20260327034159.15545-1-carlosjr.jones@xxxxxxxxxx/
Carlos Jones Jr (2):
iio: adc: ltc2309: add read delay for ltc2305
iio: adc: ltc2309: Optimize chip_info structure layout
drivers/iio/adc/ltc2309.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
--
2.43.0