Add STM32 Cortex-M4 remoteproc driver
Get series with b4
b4 am 20190604103203.0983fbd3@jawaVersions newest first
- v3 Latest0 of 7 patches 0 repliesNew
Patches in v3 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [U-Boot] [PATCH v3 0/7] Add STM32 Cortex-M4 remoteproc driver
Hi Fabien,
Quoted 6 lines
This patchset adds an STM32 remoteproc driver.
Patch 1 adds the
xxx_translate_dma_address()API which is the equivalent of thexxx_translate_address()relying on the "dma-ranges" property instead of the "ranges" property.
Quoted 8 lines
Patch 2 fixes and completes function headers of
remoteproc.h.Patch 3 & 4 add the support of the ELF image loading (the current implementation supports only binary image loading).
Patch 5 is about the driver, and patches 6 & 7 are about
MAINTAINERSand configs update.
Thank you for your work - the Vybrid VF610 also has Cortex-M4/M3 embedded and (probably) in some future somebody will want to setup it in U-Boot. Those changes looks generic and shall be easily re-usable.
Thanks one more time.
Quoted 42 lines
Changes since v2:
(quoted diff) +0
-2-Moved helpers to rproc-elf-loader.c -Rename *elf* functions in *elf32*, preparing future support for elf64Changes since v1:
(quoted diff) +0
-2-Added tests for rproc_elf*() and *_translate_dma_address() -Changed memory translation ops from da_to_pa() to device_to_virt() :the name is updated and the translation now converts to virtual instead of physical. -Merged
rproc_elf_is_valid()inrproc_elf_sanity_check()-Used explicit error values inrproc_elf_sanity_check()-Added and fix comments in various headers -Misc minor changesFabien Dessenne (7):
dm: core: Introducexxx_translate_dma_address()
remoteproc: fix function headers
remoteproc: adddevice_to_virtops
remoteproc: add elf file load support
remoteproc: Introduce STM32 Cortex-M4 remoteproc driver
MAINTAINERS: Add stm32 remoteproc driver
configs: stm32mp15: enable stm32 remoteprocMAINTAINERS | 1 + arch/sandbox/dts/test.dts | 4 + common/fdt_support.c | 6 + configs/stm32mp15_basic_defconfig | 2 + configs/stm32mp15_trusted_defconfig | 2 + drivers/core/of_addr.c | 4 + drivers/core/ofnode.c | 8 ++ drivers/core/read.c | 5 + drivers/remoteproc/Kconfig | 10 ++ drivers/remoteproc/Makefile | 3 +- drivers/remoteproc/rproc-elf-loader.c | 106 ++++++++++++++ drivers/remoteproc/sandbox_testproc.c | 19 +++ drivers/remoteproc/stm32_copro.c | 257 ++++++++++++++++++++++++++++++++++ include/dm/of_addr.h | 18 +++ include/dm/ofnode.h | 16 ++- include/dm/read.h | 20 ++- include/fdt_support.h | 24 ++++ include/remoteproc.h | 146 +++++++++++++------ test/dm/remoteproc.c | 122 ++++++++++++++++ test/dm/test-fdt.c | 12 ++ 20 files changed, 743
Quoted 4 lines
insertions(+), 42 deletions(-) create mode 100644
drivers/remoteproc/rproc-elf-loader.ccreate mode 100644drivers/remoteproc/stm32_copro.c
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190604/71d0d02d/attachment.sig>