From: Mark Brown Subject: Re: ASoC: at91sam9260-PCM1808/TAS5709-based board driver Date: Tue, 11 Aug 2009 23:41:32 +0100 Message-ID: <20090811224132.GB4691@sirena.org.uk> References: <4A7DB844.3030303@fosstel.com> <9e4733910908090635j29db4ebn64f92c2176f3cb85@mail.gmail.com> <9e4733910908090637g4b9eaf19ud1b46de354664df2@mail.gmail.com> <4A81BB75.3070405@fosstel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id 27EEB103820 for ; Wed, 12 Aug 2009 00:41:39 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4A81BB75.3070405@fosstel.com> 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: "Pedro I. Sanchez" Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, Aug 11, 2009 at 02:41:57PM -0400, Pedro I. Sanchez wrote: > 1. How do I specify in the machine driver that my pcm1808 is hardwired > to slave mode and that I need bit/frame clocks to be provided by the SSC > interface? Configure the SSC driver so that the CPU is in master mode (CBS_CFS). > 2. How do I set the SSC's clock divider to provide the right clock signals? Older versions of the sam9g20 driver ran the SSC in master mode, that might be useful to refer to. There's normally a clocking diagram in the manual for the SoC showing the clocking structure with all the dividers you can configure.