From: Simon Richter <Simon.Richter@hogyros•de>
To: linuxppc-dev@ozlabs•org, linuxppc-embedded@ozlabs•org
Subject: Re: Generic MMC-over-SPI binding?
Date: Wed, 09 Jan 2008 18:17:22 +0100 [thread overview]
Message-ID: <478501A2.60506@hogyros.de> (raw)
In-Reply-To: <200801081827.13940.arnd@arndb.de>
Hi,
Arnd Bergmann wrote:
> The important part where this connects to the mmc-spi driver is that
> you need to set spi_board_info->modalias to "mmc-spi", if the
> device node can be identified as an mmc card.
Doing that now, using the code you provided as a base. The SPI child
device gets registered, but it appears something is still missing as no
messages I could attribute to mmc-spi appear. My suspicion would be that
it doesn't like the monolithic kernel for some reason (the mmc-spi
driver registers itself as a driver called "mmc_spi", not sure if the
modalias handling will catch that; still investigating there).
> Then you call that function after registering the master, from
> mpc52xx_psc_spi_of_probe.
I've changed mpc52xx_psc_spi_do_probe to have an additional argument for
the OF device node of the SPI master; ARCH=ppc can call this with NULL
as long as it still exists.
Simon
next prev parent reply other threads:[~2008-01-09 17:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 14:22 Generic MMC-over-SPI binding? Simon Richter
2008-01-08 16:11 ` Robert Schwebel
2008-01-08 16:29 ` Simon Richter
2008-01-08 17:27 ` Arnd Bergmann
2008-01-09 17:17 ` Simon Richter [this message]
2008-01-09 21:55 ` Arnd Bergmann
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=478501A2.60506@hogyros.de \
--to=simon.richter@hogyros$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox