bcm2835-analog-audio: Is my driver PWM, ALSA or neither

Michael Zoran mzoran at crowfest.net
Sun Mar 12 03:37:01 PDT 2017

I have submitted to ALSA a driver that uses the PWM hardware of the
Raspbery PI(bcm2835) as an audio driver.


The driver is currently mutually exclusive with the standard PWM
driver, mostly because the standard PWM interface is not adequate to
have an audio driver written on top of it.  

But as I think more, I see no reason the user needs to chose at boot
time if they want traditional PWM or AUDIO. So I'm thinking of some how
combining the two drivers.

My question:
1. Is my driver a PWM driver that exposes an ALSA interface in additon
to PWM?
2. Is my driver a ALSA driver that also exposes PWM.
3. Could my driver potentially go under misc or something new and
expose both a PWM and ALSA interface.
4. Perhaps I should have both a PWM driver and a ALSA driver that both
talk through a totally new but very small driver that controls access
to the PWM hardware.  How would the function drivers get loaded in this

And the $10,000 question of the day is who should I be e-mailing the
driver to and which topic branches should the driver be merged through?

More information about the linux-rpi-kernel mailing list