From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 1/2] powerpc: add platform registration for ALSA SoC drivers Date: Thu, 29 Apr 2010 10:50:14 +1000 Message-ID: <1272502214.24542.133.camel@pasglop> References: <1272314980-23679-1-git-send-email-timur@freescale.com> <1272350168.24542.6.camel@pasglop> <20100427095440.GA15492@rakim.wolfsonmicro.main> <1272362955.24542.24.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by alsa0.perex.cz (Postfix) with ESMTP id E85D8103844 for ; Thu, 29 Apr 2010 02:50:19 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Timur Tabi Cc: alsa-devel@alsa-project.org, kumar.gala@freescale.com, Mark Brown , Grant Likely , linuxppc-dev@ozlabs.org, lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Wed, 2010-04-28 at 15:35 -0500, Timur Tabi wrote: > Second, how about this binding for the virtual sound node? It would > be a root-level node. > > sound-devices { > sound0 { > ssi = &ssi0; > playback-dma = &dma00; > capture-dma = &dma01; > codec = &cs4270; > } > }; Make sure you also have a "compatible" property to uniquely identify the design. You could use the toplevel board one but I'd rather keep a separate one here. I've seen case where the exact same base board may have different sound components (because they are dautherboards for example, but there's a few other cases). Cheers, Ben.