[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251215190806.11003-1-tomasborquez13@gmail.com>
Date: Mon, 15 Dec 2025 16:08:01 -0300
From: Tomas Borquez <tomasborquez13@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>
Cc: David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
linux-kernel@...r.kernel.org,
linux-iio@...r.kernel.org,
linux-staging@...ts.linux.dev,
Tomas Borquez <tomasborquez13@...il.com>
Subject: [PATCH 0/5] staging: ad9832: driver cleanup
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
Powered by blists - more mailing lists