devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add dma controller for hisilicon ascend310/910
@ 2023-08-24  4:00 Guo Mengqi
  2023-08-24  4:00 ` [PATCH v3 1/2] dmaengine: Add HiSilicon Ascend SDMA engine support Guo Mengqi
  2023-08-24  4:00 ` [PATCH v3 2/2] dt-bindings: dma: hisi: Add bindings for Hisi Ascend sdma Guo Mengqi
  0 siblings, 2 replies; 7+ messages in thread
From: Guo Mengqi @ 2023-08-24  4:00 UTC (permalink / raw)
  To: vkoul, robh+dt, krzysztof.kozlowski+dt, conor+dt, dmaengine,
	devicetree
  Cc: guomengqi3, xuqiang36, chenweilong

The patch set add driver and device-tree bindings for a dma controller
on hisilicon ascend310/910 platform.

Changes v2 to v3:
	- Fix dts-binding error: 
		* Use "hisilicon" as a unified vendor prefix.

Changes v1 to v2:
	- Fix dts-binding error:
		* change "compatible" to two exact models: ascend310/ascend910.
		* add vendor prefix for customized channel-map property.
		* add $ref for customized channel-map property.
		* remove unnecessary label in example.
	- Logic change in probe function:
		* If iommu sva feature is disabled, probe will not lead to failure
	- Use common driver apis: dev_xxx() devm_xxx()

V2: https://lore.kernel.org/dmaengine/53729f0f-2341-4329-8b2d-95dd377752d7@linaro.org/T/#t
V1: https://lore.kernel.org/dmaengine/20230811034822.107229-1-guomengqi3@huawei.com/T/#t

Guo Mengqi (2):
  dmaengine: Add HiSilicon Ascend SDMA engine support
  dt-bindings: dma: hisi: Add bindings for Hisi Ascend sdma

 .../bindings/dma/hisi,ascend-sdma.yaml        |  75 ++
 drivers/dma/Kconfig                           |   9 +
 drivers/dma/Makefile                          |   1 +
 drivers/dma/ascend_sdma.c                     | 817 ++++++++++++++++++
 4 files changed, 902 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/hisi,ascend-sdma.yaml
 create mode 100644 drivers/dma/ascend_sdma.c

-- 
2.17.1


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

end of thread, other threads:[~2023-08-30 18:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24  4:00 [PATCH v3 0/2] Add dma controller for hisilicon ascend310/910 Guo Mengqi
2023-08-24  4:00 ` [PATCH v3 1/2] dmaengine: Add HiSilicon Ascend SDMA engine support Guo Mengqi
2023-08-24  4:00 ` [PATCH v3 2/2] dt-bindings: dma: hisi: Add bindings for Hisi Ascend sdma Guo Mengqi
2023-08-24  7:15   ` Krzysztof Kozlowski
2023-08-30  6:31     ` guomengqi (A)
2023-08-24 19:43   ` Rob Herring
2023-08-30  9:33     ` guomengqi (A)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).