Re: [PATCH 2/2] ASoC: rt1011: ADCDAT pin config modification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > > ADCDAT pin config sets to output mode in default.
> > > > And the driver creates the kcontrol to control ADCDAT pin configuration.
> 
> > > Why would this change at runtime?  I'd expect this to be controlled
> > > by the machine driver or a DT property.
> 
> > It will not change at runtime in the normal case.
> > I think we may use it to test the feedback signal in factory mode.
> 
> So really this is setting up a loopback for testing?

We would not like to change ADCDAT pin to input mode in normal case.
That's why the driver enables ADCDAT pin to the output mode in default.
The rt1011 supports the feedback signal which could be playback data or I/V data, etc.
If the system wants the AEC reference data, rt1011 could feedback the playback data.

The product could connect 2/4/6/8 rt1011 chips on the same I2S bus.
In a test or debug mode, we could toggle ADCDAT pin to input mode that also
helps HW engineer check the slot of feedback signal for each rt1011.

> ------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux