Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932524Ab1CWLJn (ORCPT ); Wed, 23 Mar 2011 07:09:43 -0400 Received: from ppsw-52.csi.cam.ac.uk ([131.111.8.152]:46373 "EHLO ppsw-52.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932326Ab1CWLJm (ORCPT ); Wed, 23 Mar 2011 07:09:42 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Message-ID: <4D89D541.8060303@cam.ac.uk> Date: Wed, 23 Mar 2011 11:10:57 +0000 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110122 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: "Cai, Cliff" CC: "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Drivers , "device-drivers-devel@blackfin.uclinux.org" , Cliff Cai Subject: Re: [PATCH RESEND v2]IIO driver for Analog Devices Digital Output Gyroscope ADXRS450 References: <1300526846-27183-1-git-send-email-cliff.cai@analog.com> <4D878D8B.6070902@cam.ac.uk> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 26 ... >>> +} >>> + >> I note there are two versions of this chip (from datasheet). >> We should probably support changing this axis according to >> which one we have. Z is out of chip plane. The other two are >> arbitrary if we only have 1 axis on the chip. > > Currently,I don't know the way to tell what kind package the device has. > So,just keep the Z-axis one. > Fine. Only way I can think of doing it would be to use an id_table and rely on the board file being correct. I guess this is a feature someone can add when they want it! As an aside: It is really helpful if you crop the text when responding to a particular point in an email - keeps a particular branch of a thread focussed and easy to follow. Jonathan ... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/