Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH 0/5] staging: ad9832: driver cleanup
@ 2025-12-15 19:08 Tomas Borquez
  2025-12-15 19:08 ` [PATCH 1/5] staging: iio: ad9832: clean up whitespace Tomas Borquez
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Tomas Borquez @ 2025-12-15 19:08 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 RFC:
  - Split unrelated changes into separate patches: whitespace cleanup,
    guard() conversion and dev_err_probe() (Jonathan)
  - Changed channel type from IIO_ALTVOLTAGE to IIO_ALTCURRENT since
    this is a current source DAC (Jonathan)
  - Kept single channel with ext_info for frequencyN/phaseN attributes
    rather than multiple indexed channels, as the device has only one
    output (Jonathan)
  - Phase attributes now accept radians directly instead of raw register
    values, driver performs the conversion internally (Jonathan)
  - Added read callbacks for frequency and phase attributes
  - Added TODO comment for pincontrol_en noting it should become a DT
    property during graduation (Jonathan)
  - Added ABI documentation for new sysfs attributes

Tomas Borquez (5):
  staging: iio: ad9832: clean up whitespace
  staging: iio: ad9832: convert to guard(mutex)
  staging: iio: ad9832: cleanup dev_err_probe()
  staging: iio: ad9832: convert to iio channels and ext_info attrs
  staging: iio: ad9832: add sysfs documentation

 .../Documentation/sysfs-bus-iio-dds-ad9832    |  41 +++
 drivers/staging/iio/frequency/ad9832.c        | 315 +++++++++++++-----
 2 files changed, 270 insertions(+), 86 deletions(-)
 create mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-dds-ad9832

-- 
2.43.0


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

end of thread, other threads:[~2025-12-21 19:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 19:08 [PATCH 0/5] staging: ad9832: driver cleanup Tomas Borquez
2025-12-15 19:08 ` [PATCH 1/5] staging: iio: ad9832: clean up whitespace Tomas Borquez
2025-12-18 14:27   ` Marcelo Schmitt
2025-12-21 19:17     ` Jonathan Cameron
2025-12-15 19:08 ` [PATCH 2/5] staging: iio: ad9832: convert to guard(mutex) Tomas Borquez
2025-12-18 14:34   ` Marcelo Schmitt
2025-12-18 15:16     ` Tomas Borquez
2025-12-21 19:22       ` Jonathan Cameron
2025-12-15 19:08 ` [PATCH 3/5] staging: iio: ad9832: cleanup dev_err_probe() Tomas Borquez
2025-12-18 14:38   ` Marcelo Schmitt
2025-12-21 19:25     ` Jonathan Cameron
2025-12-15 19:08 ` [PATCH 4/5] staging: iio: ad9832: convert to iio channels and ext_info attrs Tomas Borquez
2025-12-18 15:04   ` Marcelo Schmitt
2025-12-18 15:46     ` Tomas Borquez
2025-12-21 19:36   ` Jonathan Cameron
2025-12-15 19:08 ` [PATCH 5/5] staging: iio: ad9832: add sysfs documentation Tomas Borquez
2025-12-18 15:10   ` Marcelo Schmitt
2025-12-21 19:43     ` Jonathan Cameron

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