From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934414AbZHENeS (ORCPT ); Wed, 5 Aug 2009 09:34:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934376AbZHENeR (ORCPT ); Wed, 5 Aug 2009 09:34:17 -0400 Received: from mail.mnementh.co.uk ([173.45.232.4]:49149 "EHLO mnementh.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934308AbZHENeO (ORCPT ); Wed, 5 Aug 2009 09:34:14 -0400 Message-ID: <4A798A4B.4000901@mnementh.co.uk> Date: Wed, 05 Aug 2009 14:34:03 +0100 From: Ian Molton User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Magnus Damm CC: Guennadi Liakhovetski , pHilipp Zabel , Paul Mundt , Mark Brown , linux-kernel@vger.kernel.org, Pierre Ossman , Magnus Damm Subject: Re: MMC: Make the configuration memory resource optional References: <4A7053E8.8050303@mnementh.co.uk> <20090729201702.GA28202@linux-sh.org> <74d0deb30907291355n39df7db0v1d7afc93917adc14@mail.gmail.com> <4A716F1C.2050805@mnementh.co.uk> <4A71F2A5.4060206@mnementh.co.uk> <4A787C2C.5070000@mnementh.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Could all non-MFD users of tmio-mmc please ensure that the following is actually true on your hardware? mmc->f_max = pdata->hclk; mmc->f_min = mmc->f_max / 512; According to all the data I have, the smallest divider setting of 0x100 is /2 and only MFD controllers with the CNF area can select no-divider mode. this would mean that non-MFD chips should be doing: mmc->f_max = pdata->hclk / 2; mmc->f_min = pdata->hclk / 512;