public inbox for dmaengine@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4]  dt-bindings: dma: ti: k3*: Update optional reg regions
@ 2023-11-24  4:57 Vignesh Raghavendra
  2023-11-24  4:57 ` [PATCH v3 1/4] dt-bindings: dma: ti: k3-*: Add descriptions for register regions Vignesh Raghavendra
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Vignesh Raghavendra @ 2023-11-24  4:57 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: dmaengine, devicetree, linux-kernel, Vignesh Raghavendra,
	linux-arm-kernel

DMAs on TI K3 SoCs have channel configuration registers region which are
usually hidden from Linux and configured via Device Manager Firmware
APIs. But certain early SWs like bootloader which run before Device
Manager is fully up would need to directly configure these registers and
thus require to be in DT description.

This add bindings for such configuration regions.  Backward
compatibility is maintained to existing DT by only mandating existing
regions to be present and this new region as optional.

This update is mainly to aid SPL/U-Boot to reuse kernel DT as is. And is
applicable to entire K3 SoCs.

v3:
Add back toplevel reg and reg-names constraints in k3-bcdma.yaml
v2: https://lore.kernel.org/all/20231122154238.815781-1-vigneshr@ti.com

v2:
Fix issues pointed out by Conor and Peter
* Add new patch 1/4 to describe existing register regions
* Rename cfg region as ring
* Add bchan register space for bcdma
* Include descriptions for new registers
v1: https://lore.kernel.org/all/20230810174356.3322583-1-vigneshr@ti.com/

Vignesh Raghavendra (4):
  dt-bindings: dma: ti: k3-*: Add descriptions for register regions
  dt-bindings: dma: ti: k3-bcdma: Describe cfg register regions
  dt-bindings: dma: ti: k3-pktdma: Describe cfg register regions
  dt-bindings: dma: ti: k3-udma: Describe cfg register regions

 .../devicetree/bindings/dma/ti/k3-bcdma.yaml  | 39 ++++++++++++++++---
 .../devicetree/bindings/dma/ti/k3-pktdma.yaml | 26 +++++++++++--
 .../devicetree/bindings/dma/ti/k3-udma.yaml   | 20 ++++++++--
 3 files changed, 73 insertions(+), 12 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2023-11-24 13:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-24  4:57 [PATCH v3 0/4] dt-bindings: dma: ti: k3*: Update optional reg regions Vignesh Raghavendra
2023-11-24  4:57 ` [PATCH v3 1/4] dt-bindings: dma: ti: k3-*: Add descriptions for register regions Vignesh Raghavendra
2023-11-24  8:15   ` Krzysztof Kozlowski
2023-11-24  4:57 ` [PATCH v3 2/4] dt-bindings: dma: ti: k3-bcdma: Describe cfg " Vignesh Raghavendra
2023-11-24  8:15   ` Krzysztof Kozlowski
2023-11-24  4:57 ` [PATCH v3 3/4] dt-bindings: dma: ti: k3-pktdma: " Vignesh Raghavendra
2023-11-24  8:16   ` Krzysztof Kozlowski
2023-11-24  4:57 ` [PATCH v3 4/4] dt-bindings: dma: ti: k3-udma: " Vignesh Raghavendra
2023-11-24  8:16   ` Krzysztof Kozlowski
2023-11-24 13:33 ` [PATCH v3 0/4] dt-bindings: dma: ti: k3*: Update optional reg regions Vinod Koul

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