[PATCHv7 3/3] Documentation: ABI: Add i2c-slave-mqueue sysfs documentation

Eduardo Valentin
2019-06-05T16:46:51Z

Document the slave-mqueue sysfs attribute used by
the i2c-slave-mqueue driver.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduval@amazon.com>
---

changes from V6 to V7:
- none

.../ABI/testing/sysfs-bus-i2c-devices-slave-mqueue | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-i2c-devices-slave-mqueue

diff --git a/Documentation/ABI/testing/sysfs-bus-i2c-devices-slave-mqueue b/Documentation/ABI/testing/sysfs-bus-i2c-devices-slave-mqueue
new file mode 100644
index 000000000000..28318108ce85
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-i2c-devices-slave-mqueue
@@ -0,0 +1,10 @@
+What: /sys/bus/i2c/devices/*/slave-mqueue
+Date: May 2019
+KernelVersion: 5.2
+Contact: Eduardo Valentin <eduval@amazon.com>
+Description:
+ Reading to this file will return exactly one message,
+ when available, of the i2c-slave-mqueue device attached
+ to that bus. Userspace can also poll on this file to
+ get notified when new messages are available.
+Users: i2c-slave-mqueue driver
--
2.21.0