Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Writing to GPIO registers on NetBSD/RaspberryPi



On Sat, 4 Apr 2015, Jean-Baka Domelevo Entfellner wrote:

Another question: how to use the DMA for this BCM2835? What is the
corresponding kernel interface in NetBSD? In the Broadcom documentation(http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripher
als.pdf), I see that the "PWM DMA is mapped to DMA channel 5". What does it
mean and how to use that?

DMA controller interface is defined in sys/arch/arm/broadcom/bcm2835_dmac.h

The only user in the tree currently is bcm2835_emmc.c. That should give you an idea on how to use it.

Home | Main Index | Thread Index | Old Index