diff options
author | Suman Anna <s-anna@ti.com> | 2019-08-09 17:20:57 -0500 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-08-26 14:50:16 -0700 |
commit | 6ed756aa0148a5ad0dbdced6f14f22e2f5748d35 (patch) | |
tree | 066def8c68bac68032be93823a51ae9e39eb5660 /Documentation | |
parent | 1417dba1034d644953238add381e31ada3a3a199 (diff) | |
download | linux-stable-6ed756aa0148a5ad0dbdced6f14f22e2f5748d35.tar.gz linux-stable-6ed756aa0148a5ad0dbdced6f14f22e2f5748d35.tar.bz2 linux-stable-6ed756aa0148a5ad0dbdced6f14f22e2f5748d35.zip |
remoteproc: Add a sysfs interface for name
This patch adds a sysfs interface that provides the name of the
remote processor to userspace. This allows the userspace to identify
a remote processor as the remoteproc devices themselves are created
based on probe order and can change from one boot to another or
at runtime.
The name is made available in debugfs originally, and is being
retained for now. This can be cleaned up after couple of releases
once users get familiar with the new interface.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-remoteproc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-remoteproc b/Documentation/ABI/testing/sysfs-class-remoteproc index c3afe9fab646..36094fbeb974 100644 --- a/Documentation/ABI/testing/sysfs-class-remoteproc +++ b/Documentation/ABI/testing/sysfs-class-remoteproc @@ -48,3 +48,13 @@ Description: Remote processor state Writing "stop" will attempt to halt the remote processor and return it to the "offline" state. + +What: /sys/class/remoteproc/.../name +Date: August 2019 +KernelVersion: 5.4 +Contact: Suman Anna <s-anna@ti.com> +Description: Remote processor name + + Reports the name of the remote processor. This can be used by + userspace in exactly identifying a remote processor and ease + up the usage in modifying the 'firmware' or 'state' files. |