[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150429131245.GL3480@opensource.wolfsonmicro.com>
Date: Wed, 29 Apr 2015 14:12:45 +0100
From: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
To: Lee Jones <lee.jones@...aro.org>
Cc: Inha Song <ideal.song@...sung.com>, devicetree@...r.kernel.org,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
patches@...nsource.wolfsonmicro.com, cw00.choi@...sung.com,
broonie@...nel.org, rf@...nsource.wolfsonmicro.com,
robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk
Subject: Re: [alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to
support hpdet channel
On Wed, Apr 29, 2015 at 11:57:37AM +0100, Lee Jones wrote:
> Does this looks okay to you Charles?
>
> > This patch add device tree bindings for the pdata needed to configure
> > the Accessory Detect Mode select when Headphone detection.
>
> Isn't the idea of headphone detection that it headphones are detected
> i.e. automatically?
>
Yeah, pretty much the chip can run an impedance measurement on
either the left or the right headphone pin and to complicate
things a little further you don't necessarily have to wire that
to the actual headphones in hardware. So people tend to wire
up all sorts of odd things that they thought sounded awesome. So
you do really need a way to inform the driver which pin is
actually going to be useful for measuring the headphone impedance
on a specific system.
In an ideal world we would just measure both and take the
average, but in practice it is very dependent on how the hardware
is wired up.
Thanks,
Charles
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists