All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: linux-mmc@vger.kernel.org
Cc: Kernel development list <linux-kernel@vger.kernel.org>
Subject: Toshiba TC6371AF PCI SD card controller (SD TypA) driver
Date: Tue, 10 Dec 2013 19:52:04 +0100	[thread overview]
Message-ID: <201312101952.05713.linux@rainbow-software.org> (raw)

Hello,
I have a nice small Toshiba Portege R100 laptop with this unsupported SD card
controller:

02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05)
        Subsystem: Toshiba America Info Systems Unknown device [1179:0001]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at dfd01000 (32-bit, non-prefetchable) [disabled] [size=512]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+


Richard Betts posted a non-working driver for this chip at:
http://osdir.com/ml/linux.drivers.sdhci.devel/2008-07/msg00002.html

I've installed old Debian (etch) and compiled the toshsd driver with old 
kernel 2.6.20 - and it really does not work - as promised :)

The comments are useful - seems that the chip internals are same as in ASIC3, 
now supported by tmio_mmc driver. But it's a MFD, not a PCI driver. I wonder 
how hard would be to modify tmio_mmc driver to use with a new "glue" PCI 
driver for this chip.

The registers in toshsd.h seem to match TC6371AF chip - datasheet is available 
e.g. at:
http://www.alldatasheet.com/datasheet-pdf/pdf/169239/TOSHIBA/TC6371AF.html
Only the PCI ID is a bit different (0x0805 instead of 0x0803).

More registers are described in TC6380AF datasheet, although it's not a PCI 
device:
http://www.datasheetarchive.com/dl/Datasheet-029/DSA00512912.pdf

-- 
Ondrej Zary

             reply	other threads:[~2013-12-10 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10 18:52 Ondrej Zary [this message]
2013-12-15 19:19 ` [PATCH] Re: Toshiba TC6371AF PCI SD card controller (SD TypA) driver Ondrej Zary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201312101952.05713.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.