From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 79724B7243 for ; Fri, 19 Jun 2009 21:16:19 +1000 (EST) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by ozlabs.org (Postfix) with ESMTP id 0DEE9DDD04 for ; Fri, 19 Jun 2009 21:16:19 +1000 (EST) Message-ID: <4A3B7378.8050003@arvoo.nl> Date: Fri, 19 Jun 2009 13:16:08 +0200 From: Rini van Zetten MIME-Version: 1.0 To: Kumar Gala Subject: Re: [PATCH -mm v3][POWERPC] mpc8xxx : allow SPI without cs. References: <4A39DC80.7030906@arvoo.nl> <20090618130955.GA1369@oksana.dev.rtsoft.ru> <4A3B3D90.5030100@arvoo.nl> <292C3A97-D618-460C-BE3F-B8770F63C2E3@kernel.crashing.org> In-Reply-To: <292C3A97-D618-460C-BE3F-B8770F63C2E3@kernel.crashing.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: spi-devel-general@lists.sourceforge.net, linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > On Jun 19, 2009, at 2:26 AM, Rini van Zetten wrote: > >> This patch adds the possibility to have a spi device without a cs. >> >> For example, the dts file should look something like this: >> >> spi-controller { >> gpios = <&pio1 1 0 /* cs0 */ >> 0 /* cs1, no GPIO */ >> &pio2 2 0>; /* cs2 */ >> >> Signed-off-by: Rini van Zetten >> --- >> Changes : >> patch against 2.6.30-rc8-mm1 >> style updates >> compiler warning fix >> comment : >> This feature is needed on our home made board to program an >> onboard fpga. >> The fpga needs some special pin toggling to put it in programming >> mode. >> That's why we want to skip the usual gpio cs and do the pin toggling >> in our driver >> > > Which FSL chip are you using? We use the MPC8377E Rini > > - k > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev -- Rini van Zetten Senior Software Engineer ------------------------- ARVOO Engineering B.V. Tasveld 13 3417 XS Montfoort The Netherlands E-mail : Rini van Zetten Web : www.arvoo.com