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

From: Eduardo Valentin
Date: Wed Jun 05 2019 - 12:51:17 EST


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

Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx>
Cc: linux-i2c@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Eduardo Valentin <eduval@xxxxxxxxxx>
---

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@xxxxxxxxxx>
+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