Re: [PATCH] ASoC: generic: Add generic DT based simple codec

From
Mark Brown <hidden>
Date
2013-09-30 17:43:19
Also in
alsa-devel, linux-arm-kernel
On Mon, Sep 30, 2013 at 10:49:06AM -0600, Stephen Warren wrote:
The only potential issue with that approach is if the CODEC can be used
in a "simple" mode where e.g. no control GPIOs, regulator manipulation,
etc. are required, or in a more complex mode where such things are
required, you may end up with the device-specific binding being written
to the simple mode, and hence missing features required for the complex
mode. Having a separate simple binding prevents the device-specific
binding from being broken that way.
That would probably indicate a bug in the complex bindings since if the
simple mode exists then usually that would mean that the bindings for
the complex mode ought to be specifying things as optional, these things
are typically just done by strapping pins instead of routing them to the
CPU.

Attachments

Thread (1 message) 1 message, 1 author, last reply 2013-09-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help