From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH v3 0/3] ucm: Add support for component devices Date: Fri, 02 Dec 2016 11:30:21 +0000 Message-ID: <1480678221.4636.108.camel@loki> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id E345226774D for ; Fri, 2 Dec 2016 12:30:29 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: mengdong.lin@linux.intel.com Cc: alsa-devel@alsa-project.org, tiwai@suse.de, mengdong.lin@intel.com, vinod.koul@intel.com, broonie@kernel.org List-Id: alsa-devel@alsa-project.org On Mon, 2016-11-28 at 13:33 +0800, mengdong.lin@linux.intel.com wrote: > From: Mengdong Lin > > Sound cards are defined by machines. And off-soc codecs and DSPs embedded > in DSP can be taken as the components and resued by different machines/ > sound cards. This series allows codec and SOC vendors to install UCM > configuration files for a specific codec or DSP, and sound card verb > files can include these conf files of components. > > Component devices will not be exposed to applications for backward > compatibility. So audio servers like PulseAudio and CRAS still only see > the machine devices. > > History: > v2: Use an array to define component directories. Document syntax to > enable/disable a component device. Hide cdev defined by the parent > device in ucm manager for executing a component sequence. > > v3: No longer use macros for UCM manager to enter/exit component domain, > to make code simpler. > > Mengdong Lin (3): > ucm: Skip component directories when scanning sound card configuration > files > ucm: Parse sequence of component devices > ucm: Execute sequence of component devices > > src/ucm/main.c | 78 +++++++++++++++++++++++++- > src/ucm/parser.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++- > src/ucm/ucm_local.h | 19 +++++++ > src/ucm/utils.c | 1 + > 4 files changed, 249 insertions(+), 3 deletions(-) > All Acked-by: Liam Girdwood