Skip to content

Commit a0ff4aa

Browse files
oleremandersson
authored andcommitted
remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver
Provide a basic driver to control Cortex M4 co-processor found on NXP i.MX7D and i.MX6SX. Currently it is able to resolve addresses between M4 and main CPU, start and stop the co-processor. Other functionality is not provided or test. This driver was tested on NXP i.MX7D and expected to work on i.MX6SX as well. Signed-off-by: Oleksij Rempel <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0862bff commit a0ff4aa

File tree

3 files changed

+436
-0
lines changed

3 files changed

+436
-0
lines changed

drivers/remoteproc/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ config REMOTEPROC
1212

1313
if REMOTEPROC
1414

15+
config IMX_REMOTEPROC
16+
tristate "IMX6/7 remoteproc support"
17+
depends on SOC_IMX6SX || SOC_IMX7D
18+
help
19+
Say y here to support iMX's remote processors (Cortex M4
20+
on iMX7D) via the remote processor framework.
21+
22+
It's safe to say N here.
23+
1524
config OMAP_REMOTEPROC
1625
tristate "OMAP remoteproc support"
1726
depends on HAS_DMA

drivers/remoteproc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ remoteproc-y += remoteproc_debugfs.o
88
remoteproc-y += remoteproc_sysfs.o
99
remoteproc-y += remoteproc_virtio.o
1010
remoteproc-y += remoteproc_elf_loader.o
11+
obj-$(CONFIG_IMX_REMOTEPROC) += imx_rproc.o
1112
obj-$(CONFIG_OMAP_REMOTEPROC) += omap_remoteproc.o
1213
obj-$(CONFIG_WKUP_M3_RPROC) += wkup_m3_rproc.o
1314
obj-$(CONFIG_DA8XX_REMOTEPROC) += da8xx_remoteproc.o

0 commit comments

Comments
 (0)