Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760585AbZCUHqT (ORCPT ); Sat, 21 Mar 2009 03:46:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754277AbZCUHqJ (ORCPT ); Sat, 21 Mar 2009 03:46:09 -0400 Received: from smtp11.m3.home.ne.jp ([220.152.44.17]:58239 "EHLO smtp11.m3.home.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753651AbZCUHqJ (ORCPT ); Sat, 21 Mar 2009 03:46:09 -0400 Message-Id: <200903210747.AA00743@cj3020122-b.jcom.home.ne.jp> From: yamazaki Date: Sat, 21 Mar 2009 16:47:47 +0900 To: avorontsov@ru.mvista.com Cc: sdhci-devel@list.drzeus.cx, Arnd Bergmann , Liu Dave , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Ben Dooks , Pierre Ossman Subject: Re: [PATCH 11/11] mmc: Add OpenFirmware bindings for SDHCI driver In-Reply-To: <20090321004506.GA13031@oksana.dev.rtsoft.ru> References: <20090321004506.GA13031@oksana.dev.rtsoft.ru> MIME-Version: 1.0 X-Mailer: AL-Mail32 Version 1.12 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1954 Lines: 59 Hi Thank you for your reply again. >Ah, then it must be connected via MPC8347's localbus. That's right. I will try it,and I inform them of the result. >On Sat, Mar 21, 2009 at 09:15:25AM +0900, yamazaki wrote: >> Hi >> >> Thank you for your reply. >> I know RICOH has PCI SD/MMC controller. But R5C807 RICOH is not the PCI device >> which is probably new product. > >Ah, then it must be connected via MPC8347's localbus. > >Well, then you need 2.6.29-rcX kernels, for example >http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.29-rc8.tar.bz2 >is suitable. > >Untar it and apply the patches (they'll apply fine on that >kernel). Then you'll need some device tree additions for >your MPC8347 board, something like this: > > localbus@e0005000 { > #address-cells = <2>; > #size-cells = <1>; > compatible = "fsl,mpc8347-localbus", > "fsl,pq2pro-localbus"; > reg = <0xe0005000 0xd8>; > ranges = <0x1 0x0 0xf0000000 0x1000>; > // ^^ change the 0xf0000000 to the actual address > sdhci@1,0 { > compatible = "ricoh,r5c807", "generic-sdhci"; > reg = <0x1 0x0 0x1000>; > interrupts = ; > interrupt-parent = <&ipic>; > // if needed, clock-frequency = ; > }; > }; > >Note that I'm not sure what endiannes you'll get when connecting >the ricoh chip to the big-endinan host... > >-- >Anton Vorontsov >email: cbouatmailru@gmail.com >irc://irc.freenode.net/bd2 ---- yamazaki-seiji@jcom.home.ne.jp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/