Re: [PATCH v2 5/5] ASoC: adau17x1: Support platform data via DT

From: Mark Brown
Date: Thu Feb 18 2016 - 12:39:20 EST


On Thu, Feb 18, 2016 at 08:37:35AM -0600, Rob Herring wrote:
> On Tue, Feb 16, 2016 at 01:56:45PM +0100, Andreas Irestål wrote:

> > + MICBIAS_0_90_AVDD - 0.9 * AVDD
> > + MICBIAS_0_65_AVDD - 0.65 * AVDD

> What does this mean?

It's specifying the microphone bias as a function of the AVDD supply
voltage. This should be obvious to anyone with any knowledge of the
domain, it's a fairly common way of configuring such things.

> > +Optional properties (ADAU1361/ADAU1461/ADAU1761/ADAU1961 only)

> > + - adi,jack-detection If present, configures codec to use the digmic/jackdet
> > + pin for jack detection. must provide one of
> > + JACKDETECT_ACTIVE_LO or JACKDETECT_ACTIVE_HI followed
> > + by debounce time in ms, which must be 5, 10, 20, or 40.

> Seems like this could be common. No existing examples to copy?

If it's just a GPIO with a fancy name and some offloading (sounds like
it) there's an existing binding for the GPIO.

Attachment: signature.asc
Description: PGP signature