summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorMarius Cristea <marius.cristea@microchip.com>2024-02-22 18:42:06 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-28 19:26:37 +0000
commit0fb528c8255bd2de6a2fba26ed28d75a7f0cb630 (patch)
tree34826fe420eafd132ececc3f4afbb4e522e6d198 /Documentation/ABI
parenta8ce0b4e5653c3aafd602be1e3aaf5d08cb00923 (diff)
downloadlinux-0fb528c8255bd2de6a2fba26ed28d75a7f0cb630.tar.gz
linux-0fb528c8255bd2de6a2fba26ed28d75a7f0cb630.tar.bz2
linux-0fb528c8255bd2de6a2fba26ed28d75a7f0cb630.zip
iio: adc: adding support for PAC193x
This is the iio driver for Microchip PAC193X series of Power Monitor with Accumulator chip family. Signed-off-by: Marius Cristea <marius.cristea@microchip.com> Link: https://lore.kernel.org/r/20240222164206.65700-3-marius.cristea@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-adc-pac19349
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934 b/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934
new file mode 100644
index 000000000000..625b7f867847
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934
@@ -0,0 +1,9 @@
+What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY
+KernelVersion: 6.7
+Contact: linux-iio@vger.kernel.org
+Description:
+ The value of the shunt resistor may be known only at runtime
+ and set by a client application. This attribute allows to
+ set its value in micro-ohms. X is the IIO index of the device.
+ Y is the channel number. The value is used to calculate
+ current, power and accumulated energy.