public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/7] Add STM32 Cortex-M4 remoteproc driver
@ 2019-05-31 13:11 Fabien Dessenne
  2019-05-31 13:11 ` [U-Boot] [PATCH v3 1/7] dm: core: Introduce xxx_translate_dma_address() Fabien Dessenne
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Fabien Dessenne @ 2019-05-31 13:11 UTC (permalink / raw)
  To: u-boot

This patchset adds an STM32 remoteproc driver.

Patch 1 adds the xxx_translate_dma_address() API which is the equivalent
of the xxx_translate_address() relying on the "dma-ranges" property
instead of the "ranges" property.

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 MAINTAINERS
and configs update.

Changes since v2:
-Moved helpers to rproc-elf-loader.c
-Rename *elf* functions in *elf32*, preparing future support for elf64
Changes since v1:
-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() in rproc_elf_sanity_check()
-Used explicit error values in rproc_elf_sanity_check()
-Added and fix comments in various headers
-Misc minor changes

Fabien Dessenne (7):
  dm: core: Introduce xxx_translate_dma_address()
  remoteproc: fix function headers
  remoteproc: add device_to_virt ops
  remoteproc: add elf file load support
  remoteproc: Introduce STM32 Cortex-M4 remoteproc driver
  MAINTAINERS: Add stm32 remoteproc driver
  configs: stm32mp15: enable stm32 remoteproc

 MAINTAINERS                           |   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 insertions(+), 42 deletions(-)
 create mode 100644 drivers/remoteproc/rproc-elf-loader.c
 create mode 100644 drivers/remoteproc/stm32_copro.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-07-22 12:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-31 13:11 [U-Boot] [PATCH v3 0/7] Add STM32 Cortex-M4 remoteproc driver Fabien Dessenne
2019-05-31 13:11 ` [U-Boot] [PATCH v3 1/7] dm: core: Introduce xxx_translate_dma_address() Fabien Dessenne
2019-07-22 12:27   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 2/7] remoteproc: fix function headers Fabien Dessenne
2019-06-03  5:32   ` Lokesh Vutla
2019-07-22 12:28   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 3/7] remoteproc: add device_to_virt ops Fabien Dessenne
2019-06-03  5:32   ` Lokesh Vutla
2019-07-22 12:28   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 4/7] remoteproc: add elf file load support Fabien Dessenne
2019-06-03  5:31   ` Lokesh Vutla
2019-07-22  6:58     ` Patrick DELAUNAY
2019-07-22 12:29   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 5/7] remoteproc: Introduce STM32 Cortex-M4 remoteproc driver Fabien Dessenne
2019-07-22 12:29   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 6/7] MAINTAINERS: Add stm32 " Fabien Dessenne
2019-07-22 12:29   ` Patrick DELAUNAY
2019-05-31 13:11 ` [U-Boot] [PATCH v3 7/7] configs: stm32mp15: enable stm32 remoteproc Fabien Dessenne
2019-07-22 12:30   ` Patrick DELAUNAY
2019-06-04  8:32 ` [U-Boot] [PATCH v3 0/7] Add STM32 Cortex-M4 remoteproc driver Lukasz Majewski
2019-06-19 12:47 ` Fabien DESSENNE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox