remoteproc: pru: Configure firmware based on client setup
authorTero Kristo <t-kristo@ti.com>
Fri, 6 Jan 2023 12:10:46 +0000 (17:40 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 6 Jan 2023 16:16:42 +0000 (09:16 -0700)
commit133f30d3a8e1dd89d3c29324263d7065da1d39d0
treeb6013ea6448ae46c92287be3b44c90cd19bbbb09
parent102853400321baea2527917e6e89be33508c3e18
remoteproc: pru: Configure firmware based on client setup

Client device node property firmware-name is now used to configure
firmware for the PRU instances. The default firmware is also
restored once releasing the PRU resource.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230106121046.886863-7-danishanwar@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/pru_rproc.c