[alsa-devel] [PATCH 4/4] dts: bcm283x.dtsi: Add analog audio/headphone jack for bcm2835

Michael Zoran mzoran at crowfest.net
Tue Mar 14 11:18:44 CET 2017


On Tue, 2017-03-14 at 11:07 +0100, Stefan Wahren wrote:
> Am 14.03.2017 um 09:47 schrieb Michael Zoran:
> > On Tue, 2017-03-14 at 09:05 +0100, Stefan Wahren wrote:
> > 
> > > AFAIK the Raspberry Pi 3 uses pin 40 and 41.
> > > 
> > 
> > I did all my testing on the RPI 3, so I'm almost certain it's
> > correct. 
> > It matches with the schematic and it matches with what the
> > downstream
> > tree uses for the firmware based driver(dummy claiming of pins).
> 
> The reduced schematic that i have name the pins as AUD_PWM0 and
> AUD_PWM1, which says nothing about the actual pins. Do you have a
> better
> document?
> 
> In the firmware dt-blob.dts [1] the Raspberry Pi 3 uses pin 40 and
> 41.
> 
> [1] - https://github.com/raspberrypi/firmware/blob/master/extra/dt-bl
> ob.dts

Here are the references I used:

https://www.raspberrypi.org/documentation/hardware/raspberrypi/schemati
cs/Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf

https://github.com/raspberrypi/linux/blob/rpi-4.9.y/arch/arm/boot/dts/o
verlays/pwm-2chan-overlay.dts

But looking at the downstream specific RPI 3 device tree, maybe it
should be 40,41 instead of 40,45.

The source code and tree I submitted does work.  But I agree this is
something that needs to be fixed.




More information about the Alsa-devel mailing list