remoteproc: pru: Add enum for PRU Core Identifiers.
authorMD Danish Anwar <danishanwar@ti.com>
Fri, 6 Jan 2023 12:10:42 +0000 (17:40 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 6 Jan 2023 16:14:08 +0000 (09:14 -0700)
commit9b9ad70f28675c45ef93cfb6e4af9403cb7bd34c
treea90000f080df910bb70099c427df2b8ef3cc3ad0
parentd6e21ef31e7fa43554f9c7666b7b4c54651c256f
remoteproc: pru: Add enum for PRU Core Identifiers.

Introducing enum pruss_pru_id for PRU Core Identifiers.
PRUSS_PRU0 indicates PRU Core 0.
PRUSS_PRU1 indicates PRU Core 1.
PRUSS_NUM_PRUS indicates the total number of PRU Cores.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230106121046.886863-3-danishanwar@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/pru_rproc.c
include/linux/remoteproc/pruss.h [new file with mode: 0644]