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

Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
---
 .../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 <[email protected]>
+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

Reply via email to