I did not found the mach-mx6 in kernel_imx/arch/arm/ path in Android 5.1 Source code . But i have this folder in Android 4.3 Source code .Can I copy the the folder from Android 4.3 directly?
Something should be wrong in your kernel installation i just downloaded the L5,1 sources and can confirm that mach-imx is in the correct path. arch/arm/mach-imx
and I do not suggest to do copy/paste from the kernel for KK4.3