From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756601Ab3FMO5g (ORCPT ); Thu, 13 Jun 2013 10:57:36 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:37968 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756331Ab3FMO5d (ORCPT ); Thu, 13 Jun 2013 10:57:33 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 50.131.214.131 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19UwngPHslp8RDk+XEEuG+G Date: Thu, 13 Jun 2013 07:57:24 -0700 From: Tony Lindgren To: Pavel Machek Cc: Aaro Koskinen , pali.rohar@gmail.com, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org Subject: Re: N900 device tree conversion: how to do first step Message-ID: <20130613145724.GH8164@atomide.com> References: <20130609015944.GA23559@amd.pavel.ucw.cz> <20130609201119.GA3190@blackmetal.musicnaut.iki.fi> <20130613132624.GA3464@amd.pavel.ucw.cz> <20130613141001.GF8164@atomide.com> <20130613142809.GA3775@amd.pavel.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130613142809.GA3775@amd.pavel.ucw.cz> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [130613 07:34]: > On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > > * Pavel Machek [130613 06:32]: > > > > > If I init spi manually (and some more hacks), it works in the > > > qemu. But I have not tested on real hw for a while. > > > > You should be able to initialize spi by adding the .dts entry, > > or is there something missing in drivers/spi/spi-omap2-mcspi.c? > > Not sure, I guess I'll find out soon. Do you have example dts that > uses drivers/spi/spi-omap2-mcspi.c? Grepping spi in dts/ was not too > successful. Hmm I think all we have is what's written in Documentation/devicetree/bindings/spi/omap-spi.txt and omap4-sdp.dts. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Thu, 13 Jun 2013 07:57:24 -0700 Subject: N900 device tree conversion: how to do first step In-Reply-To: <20130613142809.GA3775@amd.pavel.ucw.cz> References: <20130609015944.GA23559@amd.pavel.ucw.cz> <20130609201119.GA3190@blackmetal.musicnaut.iki.fi> <20130613132624.GA3464@amd.pavel.ucw.cz> <20130613141001.GF8164@atomide.com> <20130613142809.GA3775@amd.pavel.ucw.cz> Message-ID: <20130613145724.GH8164@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Pavel Machek [130613 07:34]: > On Thu 2013-06-13 07:10:01, Tony Lindgren wrote: > > * Pavel Machek [130613 06:32]: > > > > > If I init spi manually (and some more hacks), it works in the > > > qemu. But I have not tested on real hw for a while. > > > > You should be able to initialize spi by adding the .dts entry, > > or is there something missing in drivers/spi/spi-omap2-mcspi.c? > > Not sure, I guess I'll find out soon. Do you have example dts that > uses drivers/spi/spi-omap2-mcspi.c? Grepping spi in dts/ was not too > successful. Hmm I think all we have is what's written in Documentation/devicetree/bindings/spi/omap-spi.txt and omap4-sdp.dts. Regards, Tony