linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ppc405 + MCP23S17
@ 2010-10-12 14:49 WANG YiFei
  2010-10-13  3:09 ` tiejun.chen
  0 siblings, 1 reply; 8+ messages in thread
From: WANG YiFei @ 2010-10-12 14:49 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Hi,

 

I'm a newbie for linux device driver development.

We have a custom ppc405 board which has MCP23S17

(16-Bit I/O Expander with SPI Interface) on it.

I noticed that current kernel has MCP23S08 driver

support, I'd like to know:

1. if passing platform data to MCP23S08 driver, can it make

   MCP23S17 work?

2. Generally, I'd like to know how to pass platform data to

   a particular device driver. In my mind, platform data should

   not be in driver code, right? However, I don't know where is

   the suitable place to pass platform data to driver.

3. How to describe this in dts file?

 

Thanks in advance,

YiFei


[-- Attachment #2: Type: text/html, Size: 3499 bytes --]

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

end of thread, other threads:[~2010-10-18  8:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 14:49 ppc405 + MCP23S17 WANG YiFei
2010-10-13  3:09 ` tiejun.chen
2010-10-13  6:23   ` WANG YiFei
2010-10-13  7:49     ` tiejun.chen
2010-10-13 15:03       ` WANG YiFei
2010-10-14  5:03         ` tiejun.chen
2010-10-16 10:35     ` Help about chip select on SPI slave devices WANG YiFei
2010-10-18  8:17       ` tiejun.chen

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).