All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18]  Add support for FDMA DMA controller found on STi chipsets
@ 2016-04-21 11:04 ` Peter Griffin
  0 siblings, 0 replies; 137+ messages in thread
From: Peter Griffin @ 2016-04-21 11:04 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
	maxime.coquelin, patrice.chotard, vinod.koul
  Cc: peter.griffin, lee.jones, dmaengine, devicetree, arnd, broonie,
	ludovic.barre

Hi Vinod / Maxime,

Sorry for the delay between v2 and v3. I've been out on sick leave for a few months.

This patchset adds support for the Flexible Direct Memory Access (FDMA) core
found on STi chipsets from STMicroelectronics. The FDMA is a slim (xp70) core CPU
with a dedicated firmware. It is a general purpose DMA controller supporting
16 independent channels and data can be moved from memory to memory or between
memory and paced latency critical real time targets.

After some discussion with the DT maintainers I've decided not to include the
firmware name in DT, and generate the name based on the compatible string.
This is in keeping with how most other kernel drivers request firmware, and avoids
a new DT firmware name or fdma id binding.

I've also dropped the xbar support for the moment, as I believe it should be
re-worked based on some of the xbar API's that TI recently added. As requested
I've also split it into smaller patches to help with a faster review.

V3 also includes updates to the ASoC DT documentation, and extra DT patches
for Maximes STi tree to enable ASoC on STi407 based platforms using the fdma
driver.

regards,

Peter.

Changes since v2:
 - Change to dma-controller (Arnd)
 - Remove platform data header file and simplifiy code (Arnd)
 - Remove FW_LOADER_USER_HELPER_FALLBACK and rework firmware loading to device config (Vinod)
 - Use SET_RUNTIME_PM_OPS helpers (Vinod)
 - Remove fdma-id dt prop and use compatibles to generate different fdma firmware names (Arnd / Lee)
 - Add sti-asoc-card DT nodes and pinmux config for uniperif player & reader (Peter)
 - Update sti-asoc-card DT binding documentation (Peter)
 - Enable STi audio drivers in multi_v7_defconfig (Peter)

Changes since v1:
 - split into smaller patches for easier / faster review (Vinod)
 - new fill_hw_mode() with common code (Vinod)
 - new config_reqctrl() called from *_prep() instead of device_config cb (Vinod)
 - fdma-xbar support removed (Peter)
 - rework firmware name mechanism so fwname isn't in DT (Peter / Lee)
 - st_fdma_seg_to_mem can be static (Paul)
 - EXPORT_SYMBOL st_fdma_filter_fn not required (Paul)
 - s/channel/channels (vinod)
 - better describe "Must be <3>" (vinod)
 - sizeof(*ehdr) (vinod)
 - print values on error debug (vinod)
 - empty line (Vinod)
 - Update to -EIO (Vinod)
 - Make st_fdma tristate (Paul)
 - Remove __exit tag from .remove (Maxime)
 - Update MAINTAINERS rule to fdma* (Lee)
 - Unit address should match reg property (Lee)

Peter Griffin (18):
  dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding
    documentation
  dmaengine: st_fdma:  Add STMicroelectronics FDMA driver header file
  dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support
  dmaengine: st_fdma: Add xp70 firmware loading mechanism.
  dmaengine: st_fdma: Add fdma suspend and resume callbacks.
  ARM: STi: DT: STiH407: Add FDMA driver dt nodes.
  MAINTAINERS: Add FDMA driver files to STi section.
  ARM: multi_v7_defconfig: Enable STi FDMA driver
  ASoC: sti: Update DT example to match the driver code
  ASoC: sti: Update example to include assigned-clocks and mclk-fs
  ARM: multi_v7_defconfig: Enable STi and simple-card drivers.
  ARM: DT: STiH407: Add i2s_out pinctrl configuration
  ARM: DT: STiH407: Add i2s_in pinctrl configuration
  ARM: DT: STiH407: Add spdif_out pinctrl config
  ARM: STi: DT: STiH407: Add sti-sasg-codec dt node
  ARM: STi: DT: STiH407: Add uniperif player dt nodes
  ARM: STi: DT: STiH407: Add uniperif reader dt nodes
  ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card

 Documentation/devicetree/bindings/dma/st_fdma.txt  |   87 ++
 .../devicetree/bindings/sound/st,sti-asoc-card.txt |   22 +-
 MAINTAINERS                                        |    1 +
 arch/arm/boot/dts/stih407-family.dtsi              |  164 +++
 arch/arm/boot/dts/stih407-pinctrl.dtsi             |   55 +
 arch/arm/boot/dts/stihxxx-b2120.dtsi               |   40 +
 arch/arm/configs/multi_v7_defconfig                |    4 +
 drivers/dma/Kconfig                                |   12 +
 drivers/dma/Makefile                               |    1 +
 drivers/dma/st_fdma.c                              | 1203 ++++++++++++++++++++
 drivers/dma/st_fdma.h                              |  281 +++++
 11 files changed, 1863 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/st_fdma.txt
 create mode 100644 drivers/dma/st_fdma.c
 create mode 100644 drivers/dma/st_fdma.h

-- 
1.9.1

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

end of thread, other threads:[~2016-05-12  5:40 UTC | newest]

Thread overview: 137+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 11:04 [PATCH 00/18] Add support for FDMA DMA controller found on STi chipsets Peter Griffin
2016-04-21 11:04 ` Peter Griffin
2016-04-21 11:04 ` Peter Griffin
2016-04-21 11:04 ` [PATCH 01/18] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:25   ` Arnd Bergmann
2016-04-21 11:25     ` Arnd Bergmann
2016-04-21 11:25     ` Arnd Bergmann
2016-04-26 12:00     ` Peter Griffin
2016-04-26 12:00       ` Peter Griffin
2016-04-26 12:00       ` Peter Griffin
2016-04-21 11:04 ` [PATCH 02/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:20   ` Arnd Bergmann
2016-04-21 11:20     ` Arnd Bergmann
2016-04-21 11:20     ` Arnd Bergmann
2016-04-21 11:04 ` [PATCH 03/18] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:24   ` Arnd Bergmann
2016-04-21 11:24     ` Arnd Bergmann
2016-04-21 11:26   ` Appana Durga Kedareswara Rao
2016-04-21 11:26     ` Appana Durga Kedareswara Rao
2016-04-21 11:26     ` Appana Durga Kedareswara Rao
2016-04-21 14:58     ` Peter Griffin
2016-04-21 14:58       ` Peter Griffin
2016-04-21 14:58       ` Peter Griffin
2016-04-25  9:04     ` Lee Jones
2016-04-25  9:04       ` Lee Jones
2016-04-25  9:04       ` Lee Jones
2016-04-26 16:56   ` Vinod Koul
2016-04-26 16:56     ` Vinod Koul
2016-04-27 12:59     ` Peter Griffin
2016-04-27 12:59       ` Peter Griffin
2016-04-27 12:59       ` Peter Griffin
2016-05-02  9:30       ` Vinod Koul
2016-05-02  9:30         ` Vinod Koul
2016-05-02  9:30         ` Vinod Koul
2016-05-09 17:30         ` Peter Griffin
2016-05-09 17:30           ` Peter Griffin
2016-05-09 17:30           ` Peter Griffin
2016-04-21 11:04 ` [PATCH 04/18] dmaengine: st_fdma: Add xp70 firmware loading mechanism Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-26 17:00   ` Vinod Koul
2016-04-26 17:00     ` Vinod Koul
2016-04-26 17:00     ` Vinod Koul
2016-05-11  7:57     ` Peter Griffin
2016-05-11  7:57       ` Peter Griffin
2016-05-12  5:40       ` Vinod Koul
2016-05-12  5:40         ` Vinod Koul
2016-04-21 11:04 ` [PATCH 05/18] dmaengine: st_fdma: Add fdma suspend and resume callbacks Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 07/18] MAINTAINERS: Add FDMA driver files to STi section Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 08/18] ARM: multi_v7_defconfig: Enable STi FDMA driver Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:25   ` Arnd Bergmann
2016-04-21 11:25     ` Arnd Bergmann
2016-04-21 11:25     ` Arnd Bergmann
2016-04-26 10:42     ` Peter Griffin
2016-04-26 10:42       ` Peter Griffin
2016-04-26 10:42       ` Peter Griffin
2016-04-21 11:04 ` [PATCH 09/18] ASoC: sti: Update DT example to match the driver code Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:27   ` Arnd Bergmann
2016-04-21 11:27     ` Arnd Bergmann
2016-04-21 11:27     ` Arnd Bergmann
2016-04-26 10:11     ` Peter Griffin
2016-04-26 10:11       ` Peter Griffin
2016-04-26 10:58       ` Arnd Bergmann
2016-04-26 10:58         ` Arnd Bergmann
2016-04-26 10:58         ` Arnd Bergmann
2016-04-26 11:15         ` Peter Griffin
2016-04-26 11:15           ` Peter Griffin
2016-04-26 11:44           ` Arnd Bergmann
2016-04-26 11:44             ` Arnd Bergmann
2016-04-26 11:44             ` Arnd Bergmann
2016-05-04  7:52             ` Arnaud Pouliquen
2016-05-04  7:52               ` Arnaud Pouliquen
2016-05-04  7:52               ` Arnaud Pouliquen
2016-05-04  9:05               ` Arnd Bergmann
2016-05-04  9:05                 ` Arnd Bergmann
2016-04-21 15:57   ` Mark Brown
2016-04-21 15:57     ` Mark Brown
2016-04-21 15:57     ` Mark Brown
2016-04-26 11:02     ` Peter Griffin
2016-04-26 11:02       ` Peter Griffin
2016-04-26 11:02       ` Peter Griffin
2016-05-03 15:46       ` Arnaud Pouliquen
2016-05-03 15:46         ` Arnaud Pouliquen
2016-05-03 15:46         ` Arnaud Pouliquen
2016-04-21 11:04 ` [PATCH 10/18] ASoC: sti: Update example to include assigned-clocks and mclk-fs Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 15:49   ` Mark Brown
2016-04-21 15:49     ` Mark Brown
2016-04-21 15:49     ` Mark Brown
2016-04-26 11:52     ` Peter Griffin
2016-04-26 11:52       ` Peter Griffin
2016-04-26 11:52       ` Peter Griffin
2016-04-26 14:23       ` Mark Brown
2016-04-26 14:23         ` Mark Brown
2016-04-26 14:23         ` Mark Brown
2016-04-26 14:51         ` Peter Griffin
2016-04-26 14:51           ` Peter Griffin
2016-04-26 15:03           ` Mark Brown
2016-04-26 15:03             ` Mark Brown
2016-04-26 16:14             ` Peter Griffin
2016-04-26 16:14               ` Peter Griffin
2016-04-26 16:14               ` Peter Griffin
2016-04-26 16:41               ` Mark Brown
2016-04-26 16:41                 ` Mark Brown
2016-04-26 17:49                 ` Peter Griffin
2016-04-26 17:49                   ` Peter Griffin
2016-04-26 17:49                   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 11/18] ARM: multi_v7_defconfig: Enable STi and simple-card drivers Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 12/18] ARM: DT: STiH407: Add i2s_out pinctrl configuration Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 13/18] ARM: DT: STiH407: Add i2s_in " Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 14/18] ARM: DT: STiH407: Add spdif_out pinctrl config Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 15/18] ARM: STi: DT: STiH407: Add sti-sasg-codec dt node Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 16/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 17/18] ARM: STi: DT: STiH407: Add uniperif reader " Peter Griffin
2016-04-21 11:04   ` Peter Griffin
2016-04-21 11:04 ` [PATCH 18/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card Peter Griffin
2016-04-21 11:04   ` Peter Griffin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.