[PATCH 1/5] iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio
From: Joseph Telaak
Date: Mon Nov 16 2026 - 18:00:18 EST
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@xxxxxxxxxx>
---
Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 | 8 --------
MAINTAINERS | 1 -
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 5e987c502b13..28ce219caf81 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -2017,6 +2017,15 @@ 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
+KernelVersion: 4.9
+Contact: linux-iio@xxxxxxxxxxxxxxx
+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@xxxxxxxxxxxxxxx
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@xxxxxxxxxx>
-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 02015eaec312..9cb91ee8a56d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16680,7 +16680,6 @@ MCP4018 AND MCP4531 MICROCHIP DIGITAL POTENTIOMETER DRIVERS
M: Peter Rosin <peda@xxxxxxxxxxxxxx>
L: linux-iio@xxxxxxxxxxxxxxx
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)