On Thu, Dec 11, 2014 at 05:56:02PM +0100, Maxime Ripard wrote: > On Mon, Dec 08, 2014 at 04:13:59AM -0600, Alexandru Gagniuc wrote: > > This is a series of patches that gets SPI working in a better state on the > > Cubieboard. The main motivation was to use flashrom to to program SPI ROMs. > > There is one patch missing, which adds an spidev node on the Cubieboard. Since > > Maxime did not like the approach in that patch, I've left it out for now. > Just to make things straight, it's not me alone that didn't like the > approach. > It's both wrong on a theorical point of view to put that in the DT, > since it has no hardware meaning at all (ie it doesn't describe the > hardware, or the state the bootloader left the hardware in), and this > has been NAKed a number of times already by Mark Brown. > See http://permalink.gmane.org/gmane.linux.kernel.spi.devel/11747 for > example. Right, I'm getting sufficiently many people making this mistake that I think I'm going to add code to complain loudly if it's instantiated as spidev from DT.
Attachment:
signature.asc
Description: Digital signature