From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by ozlabs.org (Postfix) with ESMTP id 23267DDED9 for ; Mon, 5 May 2008 23:55:42 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c34so705708anc.78 for ; Mon, 05 May 2008 06:55:41 -0700 (PDT) Message-ID: Date: Mon, 5 May 2008 07:55:40 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Fabrizio Garetto" Subject: Re: MPC52xx and SPI (native one, NOT psc) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, May 5, 2008 at 2:00 AM, Fabrizio Garetto wrote: > Hello to everyone, > I was trying to enable the SPI of a lite5200 board. I've seen that > there's something related to this in > arch/powerpc/boot/dts/lite5200b.dts > > >spi@f00 { > > device_type = "spi"; > > compatible = "mpc5200b-spi\0mpc5200-spi"; > > reg = ; > > interrupts = <2 d 0 2 e 0>; > > interrupt-parent = <&mpc5200_pic>; > > }; > > > > but I'm not able to find where to enable it in menuconfig. Under > device drivers -> Spi support there only the PSC SPI. > Where am I wrong? The device tree describes the hardware; even if there isn't a driver for it. The non-PSC SPI does not have a driver right now. I'm actually working on a driver for it *right now*. Are you able to help with testing? Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.