public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: adc: ltc2309: Add LTC2305 read delay and optimize chip_info
@ 2026-03-31  1:24 Carlos Jones Jr
  2026-03-31  1:24 ` [PATCH v2 1/2] iio: adc: ltc2309: add read delay for ltc2305 Carlos Jones Jr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Carlos Jones Jr @ 2026-03-31  1:24 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Michael Hennerich, Liam Beguin,
	Nuno Sá, Andy Shevchenko, Jorge Marques
  Cc: linux-iio, linux-kernel

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@analog.com/

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-31 10:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31  1:24 [PATCH v2 0/2] iio: adc: ltc2309: Add LTC2305 read delay and optimize chip_info Carlos Jones Jr
2026-03-31  1:24 ` [PATCH v2 1/2] iio: adc: ltc2309: add read delay for ltc2305 Carlos Jones Jr
2026-03-31  1:24 ` [PATCH v2 2/2] iio: adc: ltc2309: Optimize chip_info structure layout Carlos Jones Jr
2026-03-31  7:01 ` [PATCH v2 0/2] iio: adc: ltc2309: Add LTC2305 read delay and optimize chip_info Andy Shevchenko
2026-03-31 10:44 ` Nuno Sá

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox