Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] Add sys-bus-iio ABI frequency options to events and oversampling
@ 2025-03-21 14:50 Jorge Marques
  2025-03-21 14:50 ` [PATCH 1/2] Documentation: ABI: add events sampling frequency in sysfs-bus-iio Jorge Marques
  2025-03-21 14:50 ` [PATCH 2/2] Documentation: ABI: add oversampling " Jorge Marques
  0 siblings, 2 replies; 13+ messages in thread
From: Jorge Marques @ 2025-03-21 14:50 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen
  Cc: dlechner, Michael.Hennerich, linux-iio, linux-kernel,
	Jorge Marques

Some device families such as Analog Device's max1363, ad7606, ad799x, and
ad4052 contain internal clocks used by monitor modes and oversampling.
Devices' monitor modes are exposed as IIO events.
The max1363 driver included the events/sampling_frequency in
commit 168c9d95a940 ("iio:adc:max1363 move from staging.")
and ad799x in
commit ba1d79613df3 ("staging:iio:ad799x: Use event spec for threshold
hysteresis")
but went undocumented so far.

The oversampling sampling frequency is a planned feature to be patched
onto the ad7606 driver.
In this particular device, it is called oversampling padding.
The upcoming ad4052 linux driver will utilize both entries,
it is worth noting, however, there is a single register for both
options. Since the device is never concurrently in both modes, the
values will be safely cached on the device state.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
---
Jorge Marques (2):
      Documentation: ABI: add events sampling frequency in sysfs-bus-iio
      Documentation: ABI: add oversampling frequency in sysfs-bus-iio

 Documentation/ABI/testing/sysfs-bus-iio | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
base-commit: 9f36acefb2621d980734a5bb7d74e0e24e0af166
change-id: 20250321-abi-oversampling-events-frequency-436c64fcece0

Best regards,
-- 
Jorge Marques <jorge.marques@analog.com>


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

end of thread, other threads:[~2025-04-07 18:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 14:50 [PATCH 0/2] Add sys-bus-iio ABI frequency options to events and oversampling Jorge Marques
2025-03-21 14:50 ` [PATCH 1/2] Documentation: ABI: add events sampling frequency in sysfs-bus-iio Jorge Marques
2025-03-30 17:08   ` Jonathan Cameron
2025-03-21 14:50 ` [PATCH 2/2] Documentation: ABI: add oversampling " Jorge Marques
2025-03-30 17:13   ` Jonathan Cameron
2025-03-30 17:34     ` David Lechner
2025-03-30 17:53       ` Jonathan Cameron
2025-04-02 13:47         ` Jorge Marques
2025-04-02 20:27           ` David Lechner
2025-04-03  8:35             ` Jorge Marques
2025-04-06 10:25               ` Jonathan Cameron
2025-04-07 16:28                 ` Jorge Marques
2025-04-07 18:40                   ` Jonathan Cameron

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