OSDN Git Service

remoteproc: core: Register the character device interface
authorSiddharth Gupta <sidgup@codeaurora.org>
Wed, 29 Jul 2020 17:40:01 +0000 (10:40 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 5 Aug 2020 03:17:08 +0000 (20:17 -0700)
commit62b8f9e99329c92286534d05dac9dc0a6e0ba0cf
tree0c8c49f46887f4176c532488f00b5b64037d658c
parent4476770881d7ac647e3bcae0943f37e00b9c3f3c
remoteproc: core: Register the character device interface

Add the character device during rproc_add. This would create
a character device node at /dev/remoteproc<index>. Userspace
applications can interact with the remote processor using this
interface.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Link: https://lore.kernel.org/r/1596044401-22083-3-git-send-email-sidgup@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c