On Thu, Mar 29, 2012 at 10:04:23PM +0800, Shawn Guo wrote:
On Thu, Mar 29, 2012 at 11:58:32AM +0100, Mark Brown wrote:
No, the bias should be a supply for the microphone - ensuring that this happens is the whole point of the patch I sent the other day.
The "MIC" above is confusing. I guess the following that I have in machine driver might be a little clearer.
{"Mic Bias", NULL, "Mic Jack"}, {"MIC_IN", NULL, "Mic Bias"},
This should be something like:
{ "Mic Jack", NULL, "Mic Bias" }, { "MIC_IN", NULL, "Mic Bias" },
(with the conversion of Mic Bias to a supply widget) which has the bonus of being a whole lot easier to understand.
And I need to present it in device tree though.
Use the generic stuff that Stephen put into the core for reading machine driver routing maps out of the device tree (unless there's some problem with it, but it should work).