[PATCH v3 7/7] ASoC: dt-bindings: mediatek,mt8188-mt6359: add NAU8825 support

Trevor Wu (吳文良) Trevor.Wu at mediatek.com
Thu Jun 1 18:03:22 PDT 2023


On Thu, 2023-06-01 at 12:29 +0100, Mark Brown wrote:
> On Fri, May 26, 2023 at 05:31:50PM +0800, Trevor Wu wrote:
> 
> > +      dai-format:
> > +        description: audio format.
> > +        items:
> > +          enum:
> > +            - i2s
> > +            - right_j
> > +            - left_j
> > +            - dsp_a
> > +            - dsp_b
> 
> Why is this a DT property - why not just pick one in the driver given
> that it's for a machine with a specific CODEC?

Hi Mark,

We aim to reuse the machine driver for various codec combinations. To
achieve this, I included the property that allows overwriting of the
default configuration in the machine driver.

Thanks,
Trevor


More information about the linux-arm-kernel mailing list