GDMA driver will be adapted to more DMA peripherals in the future. This commit is to extract a minimal interface in the hal layer