diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2015-04-07 20:28:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-04-09 22:50:10 +0200 |
commit | b0235b2263406728a0b6ee8b13be22f07507812d (patch) | |
tree | 265bcad6af8660cc44849eab1f899c7f1dd0baad /drivers/staging/greybus/Documentation | |
parent | 7baa184dbd407b4a1b619c6f5f78074f0bb19ae9 (diff) | |
download | op-kernel-dev-b0235b2263406728a0b6ee8b13be22f07507812d.zip op-kernel-dev-b0235b2263406728a0b6ee8b13be22f07507812d.tar.gz |
greybus: Documentation/sysfs-bus-greybus: document module sysfs files
This documents the module slot sysfs files "epm", "power_control", and
"present".
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/Documentation')
-rw-r--r-- | drivers/staging/greybus/Documentation/sysfs-bus-greybus | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index c0e0c0a..4b511db 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -21,6 +21,36 @@ Contact: Greg Kroah-Hartman <greg@kroah.com> Description: The version number of the firmware in the SVC device. +What: /sys/bus/greybus/device/endo-XXXX/../epm +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman <greg@kroah.com> +Description: + The EPM (Electropermanent Magnet) control file for + the specific module slot the file is present in. + Writing 1 to it turns it on, writing 0 to it turns it + off. Reading the value returns if it is on or off. + +What: /sys/bus/greybus/device/endo-XXXX/../power_control +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman <greg@kroah.com> +Description: + The power control file for the specific module slot that + the file is present in. Writing 1 to it turns power on + to the module, writing 0 to it turns power off to the + module. Reading the value returns if it is on or off. + +What: /sys/bus/greybus/device/endo-XXXX/../present +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman <greg@kroah.com> +Description: + The "is a module present in the slot" file for the + specific module slot that the file is present in. + This is read-only, 1 means a module is present, 0 means + no module is present. + What: /sys/bus/greybus/device/.../product Date: October 2015 KernelVersion: 4.XX |