Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2011
Physical to virtual address conversion for DMA transfer
I am writing a ADC device driver in which I am using DMA transfer from ADC register and kmaloced memory.
While adding ADC register as source in dma_map_single, it is giving error saying invalid virtual address.
I tried converting register address to virtual address using
__va, phys_to_virt(), ioremap but failed.
ADC register address: 0x5F400050
dma_map_single is accepting address with oxCXXXXXXX only.
Please guide me how to solve this issue.
Thanks and regards.