login
Header Space

 
 

Re: [PATCH 3/4] spi: Add OF binding support for SPI busses

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Grant Likely <grant.likely@...>
Cc: <linuxppc-dev@...>, <spi-devel-general@...>, <linux-kernel@...>, <dbrownell@...>, <fabrizio.garetto@...>
Date: Friday, May 16, 2008 - 6:03 pm

On Fri, May 16, 2008 at 01:36:13PM -0600, Grant Likely wrote:
[...]

No way to pass platform data... can you suggest any idea to use
this for things like
"[POWERPC] 86xx: mpc8610_hpcd: add support for SPI and MMC-over-SPI"
I've sent just recently...?

Maybe this code could do something like
spi->dev.platform_data = nc->data;
and board code would fill nc->data at early stages? This needs to be a
convention, not just random use though.. Maybe we can expand the struct
device_node to explicitly include .platform_data for such cases?

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/4] spi: Add OF binding support for SPI busses, Grant Likely, (Fri May 16, 3:36 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Guennadi Liakhovetski, (Mon May 19, 9:17 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Guennadi Liakhovetski, (Mon May 19, 12:30 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Guennadi Liakhovetski, (Tue May 20, 11:26 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Segher Boessenkool, (Wed May 21, 3:11 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Gary Jennejohn, (Mon May 19, 1:09 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Anton Vorontsov, (Mon May 19, 1:19 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Anton Vorontsov, (Wed May 21, 11:19 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, David Brownell, (Thu May 22, 10:05 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, David Brownell, (Sat May 24, 1:43 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Jochen Friedrich, (Sat May 24, 1:14 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, David Brownell, (Sat May 24, 1:45 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Anton Vorontsov, (Fri May 16, 6:03 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, Anton Vorontsov, (Fri May 16, 6:49 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses, David Brownell, (Wed May 21, 9:16 pm)
speck-geostationary