[RFC] Mobile Storage Host support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Now we implemented the mobile storage and want to posting it to mmc.
But during code review I know that it's almost similar with sdhci core
except register offset and fifo support.

So I wonder what's the better way to implement it.
1) create the mstorage.[ch]
2) override the existing sdhci using io accessors function.

Basic Mobile Storage Host controller register is following.

CTRL: 0x0000
PWREN: 0x0004
CLKDIV: 0x0008
CLKSRC: 0x000C
CLKENA: 0x0010
TMOUT: 0x0014
CTYPE: 0x0018
BLKSIZ: 0x001C
BYTCNT: 0x0020
INTMASK: 0x0024
CMDARG: 0x0028
CMD: 0x002C
...

Any comments are welcome.

Thank you,
Kyungmin Park
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux