dma: ti: k3-udma: Add support for native configuration of chan/flow

In absence of Device Manager (DM) services such as at R5 SPL stage,
driver will have to natively setup TCHAN/RCHAN/RFLOW cfg registers.
Add support for the same.

Note that we still need to send chan/flow cfg message to TIFS via TISCI
client driver in order to open up firewalls around chan/flow but setting
up of cfg registers is handled locally.

U-Boot specific code is in a separate file included in main driver so
as to maintain similarity with kernel driver in order to ease porting of
code in future.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210607141753.28796-8-vigneshr@ti.com
40 jobs for ti-v2021.10-next in 64 minutes and 51 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Testsuites
passed Build envtools #277734

00:00:13

passed Build tools-only #277733

00:00:27

passed Check for configs without MAINTAINERS entry #277732

00:00:10

passed cppcheck #277728

00:00:56

passed grep TODO/FIXME/HACK #277729

00:00:29

passed htmldocs #277730

00:00:53

passed Run binman, buildman, dtoc, Kconfig and patman testsuites #277735

00:01:25

passed Run tests for Nokia RX-51 (aka N900) #277736

00:03:07

passed sloccount #277731

00:00:45

 
  Test.Py
passed evb-ast2500 test.py #277741

00:01:00

passed integratorcp_cm926ejs test.py #277743

00:00:38

passed qemu_arm64 test.py #277745

00:01:20

passed qemu_arm test.py #277744

00:01:38

passed qemu_malta64el test.py #277749

00:01:00

passed qemu_malta64 test.py #277748

00:00:57

passed qemu_maltael test.py #277747

00:00:42

passed qemu_malta test.py #277746

00:01:00

passed qemu-ppce500 test.py #277750

00:00:38

passed qemu-riscv32_spl test.py #277753

00:00:45

passed qemu-riscv32 test.py #277751

00:01:17

passed qemu-riscv64_spl test.py #277754

00:00:49

passed qemu-riscv64 test.py #277752

00:01:28

passed qemu-x86_64 test.py #277756

00:01:40

passed qemu-x86 test.py #277755

00:01:35

passed r2dplus_i82557c test.py #277757

00:00:37

passed r2dplus_pcnet test.py #277758

00:00:36

passed r2dplus_rtl8139 test.py #277759

00:00:58

passed r2dplus_tulip test.py #277760

00:00:38

passed sandbox_flattree test.py #277742

00:01:19

passed sandbox_noinst_test.py #277740

00:01:17

passed sandbox_spl test.py #277739

00:01:19

passed sandbox test.py #277737

00:03:52

passed sandbox with clang test.py #277738

00:04:14

passed xilinx_versal_virt test.py #277762

00:00:40

passed xilinx_zynq_virt test.py #277761

00:01:05

passed xtfpga test.py #277763

00:00:56

 
  World Build
passed build all 32bit ARM platforms #277764

00:48:42

passed build all 64bit ARM platforms #277765

00:14:07

passed build all other platforms #277767

00:06:36

passed build all PowerPC platforms #277766

00:07:04