All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: DAPM and differential inputs
@ 2016-05-10 19:52 Jeremy McDermond
  0 siblings, 0 replies; only message in thread
From: Jeremy McDermond @ 2016-05-10 19:52 UTC (permalink / raw)
  To: alsa-devel

I’ve been working on the tlv320aic32x4 driver for a while now to add some features for some projects I’m working on using the chip.  I’m trying to wrap my head around DAPM and getting it to work with the variety of inputs on the aic32x4.

Basically, the codec has a set of registers that control the positive and negative inputs to each of the right and left input mixers.  The only setting is what value of resistor to connect between the input pin and a particular mixer (none, 10k, 20k, 40k).  For example, you can have a differential pair between IN1_R and IN2_R, or between IN1_R and IN3_R, or single ended by setting the negative pin to the common.  So, there’s a lot of flexibility and not just a differential “mode”.  The registers would even allow you to set up two negative pins, although I’m not sure why that would be useful.

I’m currently setting up DAPM so that both the positive and negative pins are wired to a single mixer.  This doesn’t seem to be working since only the negative pin seems to cause the path to be enabled.  Do I have to set up another “Negative Right” and “Negative Left” mixer to handle the negative pins?  Am I missing something else?

--
Jeremy McDermond (NH6Z)
Xenotropic Systems
mcdermj@xenotropic.com




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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-10 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10 19:52 ASoC: DAPM and differential inputs Jeremy McDermond

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.