From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Subject: Re: [PATCH 4/4] pxa-ssp: switch from network mode to psp Date: Thu, 5 Mar 2009 12:26:24 +0100 Message-ID: <20090305112624.GA29699@buzzloop.caiaq.de> References: <20090304201505.GE12183@buzzloop.caiaq.de> <1236197820-21022-1-git-send-email-daniel@caiaq.de> <1236197820-21022-2-git-send-email-daniel@caiaq.de> <1236197820-21022-3-git-send-email-daniel@caiaq.de> <1236197820-21022-4-git-send-email-daniel@caiaq.de> <74d0deb30903041256u8eeea03n5500cd59afadd86e@mail.gmail.com> <20090304230301.GA20915@buzzloop.caiaq.de> <20090305112133.GD2416@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from buzzloop.caiaq.de (buzzloop.caiaq.de [212.112.241.133]) by alsa0.perex.cz (Postfix) with ESMTP id 641A4103885 for ; Thu, 5 Mar 2009 12:26:28 +0100 (CET) Content-Disposition: inline In-Reply-To: <20090305112133.GD2416@sirena.org.uk> 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: Mark Brown Cc: alsa-devel@alsa-project.org, Tim Ruetz , Liam Girdwood , pHilipp Zabel List-Id: alsa-devel@alsa-project.org On Thu, Mar 05, 2009 at 11:21:33AM +0000, Mark Brown wrote: > > > Shouldn't this be somehow set by set_dai_clkdiv instead? > > > This is actually a very common case - MCLK is BCLK*4, so I put it here. > > We could still move it to some more configurable place if it turns out > > we need to configure it per board. > > It's a common option but far from universal - apart from anything else > normally the MCLK requirement is a multiple of the sampling frequency > rather than the bitclock rate so the ratio with BCLK will often vary > with sample size. I've seen devices able to operate as low as 64fs and > IIRC I've seen things up to 512fs, though 256fs is more common. Ok, agreed. I moved that to my board file (using DIV_SCR) and will drop that piece in the next patches. Daniel