Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver

From: "Steven A. Falco" <[email-masked]>
Date: Tue, 09 Dec 2008 17:14:12 -0500

Steven A. Falco wrote:
> Stefan Roese wrote:
>> This adds a SPI driver for the SPI controller found in the IBM/AMCC
>> 4xx PowerPC's.
>>
>> Signed-off-by: Stefan Roese <[email-masked]>
>> Signed-off-by: Wolfgang Ocker <[email-masked]>
>> Acked-by: Josh Boyer <[email-masked]>
>> ---
>
> How is this intended to work?  An example .dts would be greatly
> appreciated.

Answered my own question.  The gpios must be directly under the spi
node rather than elsewhere in the tree.  This works:

			SPI0: spi@ef600900 {
				compatible = "ibm,ppc4xx-spi";
				reg = <ef600900 7>;
				interrupts = <8 4>;
				interrupt-parent = <&UIC0>;

				gpios = <&GPIO1 14 0>;
			};