[PATCH v3 1/6] dma: Introduce dma_get_cfg() interface