[PATCH 4/4] dt-bindings: sound: intel,keembay-i2s: Add channel-max property

Sit, Michael Wei Hong michael.wei.hong.sit at intel.com
Mon Aug 3 03:59:10 CEST 2020



> -----Original Message-----
> From: Mark Brown <broonie at kernel.org>
> Sent: Thursday, 30 July, 2020 7:30 PM
> To: Sit, Michael Wei Hong <michael.wei.hong.sit at intel.com>
> Cc: alsa-devel at alsa-project.org; tiwai at suse.com; pierre-
> louis.bossart at linux.intel.com; Rojewski, Cezary
> <cezary.rojewski at intel.com>; Shevchenko, Andriy
> <andriy.shevchenko at intel.com>; liam.r.girdwood at linux.intel.com; Sia,
> Jee Heng <jee.heng.sia at intel.com>
> Subject: Re: [PATCH 4/4] dt-bindings: sound: intel,keembay-i2s: Add
> channel-max property
> 
> On Thu, Jul 30, 2020 at 01:53:19PM +0800, Michael Sit Wei Hong wrote:
> 
> > Add a property that configures the interface to the desired max number
> > of capture channels. The platform may have multiple interfaces with
> > different number of capture channels.
> 
> Why?  None of the other platforms which support many channels need
> this defining and the constraint code and/or machine driver would
> normally be where this would be handled.

The platform uses the audio-graph-card to create the dai-links, and doesn't use a specific machine driver code.
The platform also has 2 different interfaces which have different supported max-channels.
Using this value in the device-tree to determine the maximum supported channel of the interface.


More information about the Alsa-devel mailing list