Linux device driver for I2S/PCM - Raspberry Pi Forums


greetings,

write character device driver i2s/pcm port on pi3. running 4.4.35-v7+ kernel i've cross-compiled using x86 lubuntu vmware vm on laptop.

aware there device driver i2s port, however, think there work alsa sub-system. cannot find device major , minor numbers access plain character device. not interested in using i2s port in conjunction alsa.

have written user-mode polled programme control i2s port, cannot keep data rate wish use. need write interrupt driven character driver - should able keep up.

having difficulty working out need allocate correct interrupt , assign interrupt handler it.

looking @ blog described interrupt driven character device driver gpio, however, 3.6 version of kernel running on pi1, , gave method allocating gpio interrupt. kernel header files seem lot different now.

can out there point me in right direction?

andrew.



raspberrypi



Comments