RE: [PATCH v1 2/2] ASoC: dt-bindings: Add Everest ES8389 audio CODEC

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

 



> > +  everest,adc-slot:
> > +    $ref: /schemas/types.yaml#/definitions/uint8
> > +    description: |
> > +      This property is used to set the slots of recording data when multiple
> > +      codecs are connected in PTDM mode.
> > +      please set this property to default if you are setting STDM mode.
> > +    minimum: 0x00
> > +    maximum: 0x07
> > +    default: 0x00
> > +
> > +  everest,dac-slot:
> > +    $ref: /schemas/types.yaml#/definitions/uint8
> > +    description: |
> > +      This property is used to set the slots of playing data when multiple
> > +      codecs are connected in TDM mode.
> > +      please do not set this property if you use single codec.
> > +    minimum: 0x00
> > +    maximum: 0x07
> > +    default: 0x00
> 
> Can't the dai-tdm-* properties work for you?

We will register multiple codecs inside a single dai_link and differentiate these
codecs by of_node. so we can't use dai-tdm-slot* to define the slot for each codec

> > +
> > +  prefix_name:
> > +    $ref: /schemas/types.yaml#/definitions/string
> > +    description: device name prefix
> 
> Why do you need this?

When using multiple codecs, we utilize prefix_name to distinguish the dapm and
kcontro of each individual codec.



[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