All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Zoran <mzoran@crowfest.net>
To: Stefan Wahren <stefan.wahren@i2se.com>,
	perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org,
	mark.rutland@arm.com, eric@anholt.net,
	alsa-devel@alsa-project.org,
	linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 4/4] dts: bcm283x.dtsi: Add analog audio/headphone jack for bcm2835
Date: Tue, 14 Mar 2017 03:18:44 -0700	[thread overview]
Message-ID: <1489486724.656.9.camel@crowfest.net> (raw)
In-Reply-To: <952dc3e0-a01a-bb21-78bd-d3639251c84a@i2se.com>

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.


_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2017-03-14 10:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-12  6:38 [PATCH 1/4] dt-bindings: Document the dmas and dma-names properties for bcm2835-analog-audio Michael Zoran
     [not found] ` <20170312063820.19313-1-mzoran-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-12  6:38   ` [PATCH 2/4] sound: bcm2835-analog-audio: Add driver for bcm2835(Raspberry PI) headphone jack Michael Zoran
2017-03-16  0:01     ` Eric Anholt
2017-03-12  6:38   ` [PATCH 3/4] sound: arm: Add build system for bcm2835-analog-audio driver Michael Zoran
     [not found]     ` <20170312063820.19313-3-mzoran-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-14  7:15       ` [alsa-devel] " kbuild test robot
     [not found]         ` <201703141503.gyuLu0Kr%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-03-14  8:58           ` Michael Zoran
     [not found]             ` <1489481899.656.5.camel-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-14  9:13               ` Stefan Wahren
     [not found]                 ` <5a437138-bf9c-1e48-9fa6-82fac9b6e54c-eS4NqCHxEME@public.gmane.org>
2017-03-14  9:53                   ` Michael Zoran
2017-03-12  6:38   ` [PATCH 4/4] dts: bcm283x.dtsi: Add analog audio/headphone jack for bcm2835 Michael Zoran
     [not found]     ` <20170312063820.19313-4-mzoran-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-14  8:05       ` Stefan Wahren
     [not found]         ` <a5ae562f-6843-f137-6470-36c53cfd1799-eS4NqCHxEME@public.gmane.org>
2017-03-14  8:47           ` Michael Zoran
     [not found]             ` <1489481279.656.1.camel-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-14 10:07               ` Stefan Wahren
2017-03-14 10:18                 ` Michael Zoran [this message]
2017-03-20 16:50 ` [PATCH 1/4] dt-bindings: Document the dmas and dma-names properties for bcm2835-analog-audio Rob Herring
2017-03-20 17:07   ` [alsa-devel] " Michael Zoran
     [not found]     ` <1490029654.11105.7.camel-O+n0w2l5AFbk1uMJSBkQmQ@public.gmane.org>
2017-03-21 12:53       ` Rob Herring
2017-03-21 13:30         ` Michael Zoran
2017-03-21 17:59           ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489486724.656.9.camel@crowfest.net \
    --to=mzoran@crowfest.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=stefan.wahren@i2se.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.