linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Toshiba TC6371AF PCI SD card controller (SD TypA) driver
@ 2013-12-10 18:52 Ondrej Zary
  2013-12-15 19:19 ` [PATCH] " Ondrej Zary
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2013-12-10 18:52 UTC (permalink / raw)
  To: linux-mmc; +Cc: Kernel development list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-15 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 18:52 Toshiba TC6371AF PCI SD card controller (SD TypA) driver Ondrej Zary
2013-12-15 19:19 ` [PATCH] " Ondrej Zary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).