api: dma: dma api update
api: dma: dma api update

Update the dma API.

Recently, a RFC was posted and reviewed to update the dma
API. This change is to update the APIs. The change can be
summarized as follows,

1. Compress config data structure to reduce memory usage.
2. Add missing configuration parameters.

All the existing data structures and APIs will be
deprecated and replaced by new ones.

Jira: ZEP-873

Change-Id: I412935fce7a2db9d69b2ef700a995af07fa60e33
Signed-off-by: Baohong Liu <04f4a475e25708ef58f834bd7b5f2fc86c2e7841@intel.com>

sharronliu/zephyr,tidyjiang8/zephyr-doc,erwango/zephyr,punitvara/zephyr,ldts/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,zephyriot/zephyr,zephyriot/zephyr,tidyjiang8/zephyr-doc,erwango/zephyr,punitvara/zephyr,erwango/zephyr,galak/zephyr,Vudentz/zephyr,holtmann/zephyr,punitvara/zephyr,pklazy/zephyr,ldts/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,fbsder/zephyr,holtmann/zephyr,finikorg/zephyr,Vudentz/zephyr,finikorg/zephyr,zephyriot/zephyr,erwango/zephyr,rsalveti/zephyr,galak/zephyr,pklazy/zephyr,holtmann/zephyr,finikorg/zephyr,rsalveti/zephyr,pklazy/zephyr,pklazy/zephyr,bigdinotech/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,tidyjiang8/zephyr-doc,explora26/zephyr,sharronliu/zephyr,runchip/zephyr-cc3200,kraj/zephyr,aceofall/zephyr-iotos,pklazy/zephyr,runchip/zephyr-cc3220,explora26/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3220,ldts/zephyr,holtmann/zephyr,kraj/zephyr,fractalclone/zephyr-riscv,nashif/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,bigdinotech/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3200,nashif/zephyr,rsalveti/zephyr,Vudentz/zephyr,sharronliu/zephyr,erwango/zephyr,runchip/zephyr-cc3220,aceofall/zephyr-iotos,rsalveti/zephyr,nashif/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,aceofall/zephyr-iotos,bboozzoo/zephyr,galak/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3220,tidyjiang8/zephyr-doc,rsalveti/zephyr,mbolivar/zephyr,bboozzoo/zephyr,kraj/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,fractalclone/zephyr-riscv,galak/zephyr,Vudentz/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,explora26/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,zephyrproject-rtos/zephyr,tidyjiang8/zephyr-doc,zephyriot/zephyr,fbsder/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,zephyriot/zephyr,runchip/zephyr-cc3220,fbsder/zephyr,fbsder/zephyr,fbsder/zephyr,mbolivar/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,bboozzoo/zephyr,Vudentz/zephyr,sharronliu/zephyr,mbolivar/zephyr,ldts/zephyr,aceofall/zephyr-iotos,bigdinotech/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3200,kraj/zephyr,holtmann/zephyr,nashif/zephyr,runchip/zephyr-cc3200,punitvara/zephyr,bigdinotech/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr