public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2 0/6] staging: ad9832: driver cleanup
@ 2025-12-30 20:34 Tomas Borquez
  2025-12-30 20:34 ` [PATCH v2 1/6] staging: iio: ad9832: cleanup dev_err_probe() Tomas Borquez
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Tomas Borquez @ 2025-12-30 20:34 UTC (permalink / raw)
  To: Jonathan Cameron, Greg Kroah-Hartman, Lars-Peter Clausen,
	Michael Hennerich
  Cc: David Lechner, Nuno Sá, Andy Shevchenko, linux-kernel,
	linux-iio, linux-staging, Tomas Borquez

This series cleans up the ad9832 driver with the goal of (eventually)
graduating it from staging. The main change is converting custom sysfs
attributes to IIO channel interface and adding sysfs documentation.

Changes since v1:
  - Reordered patches: moved dev_err_probe cleanup before guard(mutex)
    conversion (Marcelo)
  - Split channel conversion into two patches: 
      - dds.h removal
      - channel interface conversion (ABI change) (Jonathan)
  - Added devm_mutex_init() conversion as separate patch (Marcelo)
  - Used MICRO macro for phase calculations instead of hardcoded values
    for better readability (Marcelo)
  - Fixed FIELD_PREP usage in pinctrl_en for consistency (Marcelo)
  - Renamed ext_info macro parameter from _channel to _select since
    it represents register selection not channel number (Marcelo)
  - Ensured patches apply cleanly on top of IIO testing branch
  - Made sysfs ABI documentation generic using capital letters for
    channel and symbol indices (Marcelo, Jonathan)
  - Changed attribute naming to hierarchical structure 
    (out_altcurrentY_frequency_symbolZ) (Marcelo)
  - Made descriptions hardware-agnostic and removed chip-specific
    implementation details (Jonathan)
  - Renamed documentation file to sysfs-bus-iio-frequency instead of
    chip-specific name (Jonathan)

Tomas Borquez (6):
  staging: iio: ad9832: cleanup dev_err_probe()
  staging: iio: ad9832: convert to guard(mutex)
  staging: iio: ad9832: convert to devm_mutex_init()
  staging: iio: ad9832: remove dds.h dependency
  staging: iio: ad9832: convert to iio channels and ext_info attrs
  staging: iio: ad9832: add sysfs documentation

 .../iio/Documentation/sysfs-bus-iio-frequency |  40 +++
 drivers/staging/iio/frequency/ad9832.c        | 327 +++++++++++++-----
 2 files changed, 279 insertions(+), 88 deletions(-)
 create mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-frequency

-- 
2.43.0


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

end of thread, other threads:[~2026-01-14  1:32 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-30 20:34 [PATCH v2 0/6] staging: ad9832: driver cleanup Tomas Borquez
2025-12-30 20:34 ` [PATCH v2 1/6] staging: iio: ad9832: cleanup dev_err_probe() Tomas Borquez
2025-12-30 22:47   ` Andy Shevchenko
2025-12-31 18:02     ` Jonathan Cameron
2025-12-30 20:34 ` [PATCH v2 2/6] staging: iio: ad9832: convert to guard(mutex) Tomas Borquez
2025-12-30 22:50   ` Andy Shevchenko
2025-12-31 17:01     ` Tomas Borquez
2025-12-30 20:34 ` [PATCH v2 3/6] staging: iio: ad9832: convert to devm_mutex_init() Tomas Borquez
2026-01-14  1:34   ` Marcelo Schmitt
2025-12-30 20:34 ` [PATCH v2 4/6] staging: iio: ad9832: remove dds.h dependency Tomas Borquez
2025-12-30 22:46   ` Andy Shevchenko
2026-01-04  5:25     ` Tomas Borquez
2026-01-05 15:52       ` Andy Shevchenko
2025-12-31 18:09   ` Jonathan Cameron
2025-12-31 18:11     ` Jonathan Cameron
2026-01-04  5:38       ` Tomas Borquez
2026-01-11 12:13         ` Jonathan Cameron
2025-12-30 20:34 ` [PATCH v2 5/6] staging: iio: ad9832: convert to iio channels and ext_info attrs Tomas Borquez
2025-12-30 22:55   ` Andy Shevchenko
2025-12-31 17:08     ` Tomas Borquez
2026-01-11 12:20       ` Jonathan Cameron
2025-12-31 18:21   ` Jonathan Cameron
2025-12-30 20:34 ` [PATCH v2 6/6] staging: iio: ad9832: add sysfs documentation Tomas Borquez
2025-12-30 22:57   ` Andy Shevchenko
2025-12-31 18:35   ` Jonathan Cameron

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