[PATCH v3 bus+gpio 3/5] bus: moxtet: Add sysfs documentation

Marek Behún
2019-03-01T03:59:51Z

Add sysfs ABI documentation for the attribute files module_id,
module_name, input_value and output_value of Moxtet devices.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
---
.../ABI/testing/sysfs-bus-moxtet-devices | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-moxtet-devices

diff --git a/Documentation/ABI/testing/sysfs-bus-moxtet-devices b/Documentation/ABI/testing/sysfs-bus-moxtet-devices
new file mode 100644
index 000000000000..80bae358a90c
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-moxtet-devices
@@ -0,0 +1,25 @@
+What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_id
+Date: March 2019
+KernelVersion: 5.2
+Contact: Marek Behún <marek.behun@nic.cz>
+Description: (R) Moxtet module ID. Format: %x
+
+What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_name
+Date: March 2019
+KernelVersion: 5.2
+Contact: Marek Behún <marek.behun@nic.cz>
+Description: (R) Moxtet module name. Format: string
+
+What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/input_value
+Date: March 2019
+KernelVersion: 5.2
+Contact: Marek Behún <marek.behun@nic.cz>
+Description: (R) Read input value from module at this Moxtet address.
+ Format: %x
+
+What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/output_value
+Date: March 2019
+KernelVersion: 5.2
+Contact: Marek Behún <marek.behun@nic.cz>
+Description: (RW) Read last written value or write value to the module on
+ this Moxtet address. Format: %x
--
2.19.2