From: Joseph Telaak <joseph@telaak.dev>
To: "Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Peter Rosin" <peda@lysator.liu.se>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Joseph Telaak" <joseph@telaak.dev>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux@analog.com, devicetree@vger.kernel.org
Subject: [PATCH v2 1/6] iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio
Date: Wed, 25 Nov 2026 15:22:28 -0500 [thread overview]
Message-ID: <20261125-iio-ad5246-v2-1-8feeb630f0b6@telaak.dev> (raw)
In-Reply-To: <20261125-iio-ad5246-v2-0-8feeb630f0b6@telaak.dev>
The available raw values of a resistance output were documented only
for the mcp4531, without the channel index. ds1803, mcp4531, tpl0102
and x9250 all report them, and indexed channels name the attribute
out_resistanceY_raw_available. Document both forms with the other
generic resistance attributes and drop the driver-specific file.
Signed-off-by: Joseph Telaak <joseph@telaak.dev>
---
Documentation/ABI/testing/sysfs-bus-iio | 10 ++++++++++
Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 | 8 --------
MAINTAINERS | 1 -
3 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 54800847f2ca..83eb616862ea 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -2034,6 +2034,16 @@ Description:
Raw (unscaled no offset etc.) resistance reading.
Units after application of scale and offset are ohms.
+What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw_available
+What: /sys/bus/iio/devices/iio:deviceX/out_resistanceY_raw_available
+Date: October 2016
+KernelVersion: 4.9
+Contact: linux-iio@vger.kernel.org
+Description:
+ The range of available raw values, as the minimum value, the
+ step and the maximum value, all enclosed in square brackets.
+ Example: [0 1 256]
+
What: /sys/bus/iio/devices/iio:deviceX/in_coverageY_raw
KernelVersion: 7.2
Contact: linux-iio@vger.kernel.org
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 b/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531
deleted file mode 100644
index 2a91fbe394fc..000000000000
--- a/Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531
+++ /dev/null
@@ -1,8 +0,0 @@
-What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw_available
-Date: October 2016
-KernelVersion: 4.9
-Contact: Peter Rosin <peda@axentia.se>
-Description:
- The range of available values represented as the minimum value,
- the step and the maximum value, all enclosed in square brackets.
- Example: [0 1 256]
diff --git a/MAINTAINERS b/MAINTAINERS
index c74dadb6cea9..ef6033c5edf3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16691,7 +16691,6 @@ MCP4018 AND MCP4531 MICROCHIP DIGITAL POTENTIOMETER DRIVERS
M: Peter Rosin <peda@lysator.liu.se>
L: linux-iio@vger.kernel.org
S: Maintained
-F: Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531
F: drivers/iio/potentiometer/mcp4018.c
F: drivers/iio/potentiometer/mcp4531.c
--
Git-155)
next prev parent reply other threads:[~2026-11-25 20:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 20:22 [PATCH v2 0/6] iio: potentiometer: mcp4018: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 20:22 ` Joseph Telaak [this message]
2026-11-25 23:37 ` [PATCH v2 1/6] iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio Jonathan Cameron
2026-11-25 20:22 ` [PATCH v2 2/6] iio: potentiometer: mcp4018: Report the available wiper positions Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 3/6] dt-bindings: iio: potentiometer: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 4/6] iio: potentiometer: mcp4018: Turn on the vdd supply Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 5/6] iio: potentiometer: mcp4018: Move the scale divisor into the per-part config Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 6/6] iio: potentiometer: mcp4018: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 23:46 ` Jonathan Cameron
2026-11-26 1:29 ` [PATCH v2 0/6] " Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125-iio-ad5246-v2-1-8feeb630f0b6@telaak.dev \
--to=joseph@telaak.dev \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@analog.com \
--cc=nuno.sa@analog.com \
--cc=peda@lysator.liu.se \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®