RE: [PATCH 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

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

 




On November 05, 2015 14:59, Mark Brown wrote:

> > +- dlg,ldo-lvl : Required internal LDO voltage (mV) level
> > +	[<1050>, <1100>, <1200>, <1400>]
> 
> Why would this ever be anything other than the minimum voltage, and
> might we not want to vary it at runtime?

Normally you are correct and you'll want minimum voltage for the digital engine
but there may be the possibility for certain platform scenarios that to meet
timings a higher voltage is required. Would prefer to leave this in in case it
is required in the future. As a side, the default setting is the lowest voltage,
if this binding is not provided.

> 
> > +- dlg,biquad-cfg : List of data & address pairs to configure BiQuad filters
> > +	[ < {data1} {addr1} {data2} {addr2} ... >; ]
> > +- dlg,st-biquad-cfg : List of data & address pairs to configure Sidetone
> > +		      BiQuad filters
> > +	[ < {data1} {addr1} {data2} {addr2} ... >; ]
> 
> These look like DSP coefficients which I would therefore expect to be
> configurable at runtime via a binary control rather than specified in
> the DT - why are they in the DT?

The expectation was these would be set once and left for a platform, which is
why I added them to the DT. However there's no reason they couldn't be moved
to binary control. Having looked at other codecs, I assume SND_SOC_BYTES* would
be the preferred method for setting this kind of data?
��.n��������+%������w��{.n����z�{��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux