Re: [PATCHv4 1/4] dt-bindings: sound: add motorola,cpcap-audio-codec

From: Mark Brown
Date: Fri Feb 16 2018 - 08:45:04 EST


On Fri, Feb 16, 2018 at 02:25:38PM +0100, Sebastian Reichel wrote:
> On Fri, Feb 16, 2018 at 11:30:08AM +0000, Mark Brown wrote:

> > Why are we adding a separate DT node with no content for this? This is
> > a single chip, we already know that the CODEC part is there from the DT
> > telling us that the chip is there and what we decide is part of the
> > CODEC is going to depend on what the OS running on the system is doing.

> While it looks empty in the DT binding file, it's actually not empty
> once some standard properties are added to support audio-graph-card.

This tells me you're missing something in the binding defining the DAIs
and...

> A real world example looks like this:

> &cpcap {
> audio-codec {
> compatible = "motorola,cpcap-audio-codec";
> #sound-dai-cells = <1>;

...that still doesn't require a compatible here.

Attachment: signature.asc
Description: PGP signature