Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Fri, 07 Nov 2008 00:48:14 +0200
M. Warner Losh wrote:
> In message: <49131109.2020601_at_FreeBSD.org>
>             Alexander Motin <mav_at_FreeBSD.org> writes:
> : Lars Engels wrote:
> : > 1. How can I tune the PCI configuration? With pciconf -w or so?
> : 
> : Yes. `pciconf -r -b device addr` to read and `pciconf -w -b device addr
> : value` to write.
> 
> I have changes that almost make my TI card do it.
> 
> : > 2. Unfortunately the sysctl did not change a thing with regard to the
> : > Card reader.
> : 
> : Have you added it to the loader.conf and rebooted?
> : 
> : > 3. I added the chip ID and the second device is now recognized as a
> : > sdhci device but still does not see any card inserted:
> : > 
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify base
> : > clock frequency.
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify
> : > timeout clock frequency.
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't report any
> : > support voltages.
> : 
> : Looks like it is not enough compatible, or even not compatible.
> 
> Chances are good that you need to the workaround to turn on these
> things.


Here is some datasheet I have found for R5C832, but it looks not too 
detailed to say something for sure: 
http://www.aeneas.com.cn/PDF/Ricoh/2005/R5C832E1%5B1%5D.00.pdf

At least it says that it's MMC interface is single-bit, while standard 
SD host controller has 4 bit's bus.

-- 
Alexander Motin
Received on Thu Nov 06 2008 - 21:48:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC