From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mlbe2k1.cs.myharris.net (mlbe2k1.cs.myharris.net [137.237.90.88]) by ozlabs.org (Postfix) with ESMTP id 0F240DDE0F for ; Wed, 10 Dec 2008 09:14:25 +1100 (EST) Message-ID: <493EEDB4.8070003@harris.com> Date: Tue, 09 Dec 2008 17:14:12 -0500 From: "Steven A. Falco" MIME-Version: 1.0 To: "Steven A. Falco" Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver References: <1227628088-10849-1-git-send-email-sr@denx.de> <493EE79C.9000405@harris.com> In-Reply-To: <493EE79C.9000405@harris.com> Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org, Stefan Roese List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 >> Signed-off-by: Wolfgang Ocker >> Acked-by: Josh Boyer >> --- > > 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 = ; interrupts = <8 4>; interrupt-parent = <&UIC0>; gpios = <&GPIO1 14 0>; };