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

Cc: Rob Herring <robh...@kernel.org>
Cc: Mark Rutland <mark.rutl...@arm.com>
Cc: Wolfram Sang <w...@the-dreams.de>
Cc: linux-...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edu...@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 <edu...@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

Reply via email to