]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: document inv_icm42600 driver private sysfs attributes
authorJean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Wed, 5 Jun 2024 19:59:48 +0000 (19:59 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 13 Jun 2024 18:19:26 +0000 (19:19 +0100)
Add ABI documentation for inv_icm42600 private sysfs attributes.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240605195949.766677-2-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 b/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600
new file mode 100644 (file)
index 0000000..7eeacfb
--- /dev/null
@@ -0,0 +1,18 @@
+What:          /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode
+KernelVersion: 6.11
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Accelerometer power mode. Setting this attribute will set the
+               requested power mode to use if the ODR support it. If ODR
+               support only 1 mode, power mode will be enforced.
+               Reading this attribute will return the current accelerometer
+               power mode if the sensor is on, or the requested value if the
+               sensor is off. The value between real and requested value can
+               be different for ODR supporting only 1 mode.
+
+What:          /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode_available
+KernelVersion: 6.11
+Contact:       linux-iio@vger.kernel.org
+Description:
+               List of available accelerometer power modes that can be set in
+               in_accel_power_mode attribute.
index c870bc6b8d6321190930fa237b8e0e7c467175ea..be590c462d9188f9e71864857f272a813f7d2815 100644 (file)
@@ -11520,6 +11520,7 @@ M:      Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
 L:     linux-iio@vger.kernel.org
 S:     Maintained
 W:     https://invensense.tdk.com/
+F:     Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600
 F:     Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml
 F:     drivers/iio/imu/inv_icm42600/