author | Suman Anna <s-anna@ti.com> | |
Fri, 9 Aug 2019 22:20:57 +0000 (17:20 -0500) | ||
committer | Suman Anna <s-anna@ti.com> | |
Tue, 3 Sep 2019 17:08:14 +0000 (12:08 -0500) | ||
commit | 71d09746b3937a442e18c1c68b73820c1c3797fe | |
tree | 83632256f6f09fb01cf7518765150def3d83c59f | tree | snapshot (tar.xz tar.gz zip) |
parent | 80e8ce38b7ad087765b21cecbd39ffd1dd820905 | commit | diff |
remoteproc: Add a sysfs interface for name
[ Upstream commit 6ed756aa0148a5ad0dbdced6f14f22e2f5748d35 ]
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.
[s-anna@ti.com: cherry-pick commit '6ed756aa0148' from v5.4]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[ Upstream commit 6ed756aa0148a5ad0dbdced6f14f22e2f5748d35 ]
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.
[s-anna@ti.com: cherry-pick commit '6ed756aa0148' from v5.4]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/ABI/testing/sysfs-class-remoteproc | diff | blob | history | |
drivers/remoteproc/remoteproc_sysfs.c | diff | blob | history |