From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753101AbbCSKXW (ORCPT ); Thu, 19 Mar 2015 06:23:22 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:32876 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbbCSKXS (ORCPT ); Thu, 19 Mar 2015 06:23:18 -0400 X-Originating-IP: 83.155.44.161 Message-ID: <1426760577.6764.14.camel@hadess.net> Subject: Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer From: Bastien Nocera To: Martin Kepplinger Cc: Alexander Stein , robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, dmitry.torokhov@gmail.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, linux-api@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kepplinger , Christoph Muellner Date: Thu, 19 Mar 2015 11:22:57 +0100 In-Reply-To: <5509C3E6.8070000@posteo.de> References: <1426694157-10866-1-git-send-email-martink@posteo.de> <2231139.ojeyer6qnI@ws-stein> <5509AAE5.1000503@posteo.de> <1426697978.6764.8.camel@hadess.net> <5509BDA0.9000806@posteo.de> <1426701934.6764.10.camel@hadess.net> <5509C3E6.8070000@posteo.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.15.91 (3.15.91-1.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-03-18 at 19:28 +0100, Martin Kepplinger wrote: > Am 2015-03-18 um 19:05 schrieb Bastien Nocera: > > On Wed, 2015-03-18 at 19:02 +0100, Martin Kepplinger wrote: > > > Am 2015-03-18 um 17:59 schrieb Bastien Nocera: > > > > On Wed, 2015-03-18 at 17:42 +0100, Martin Kepplinger wrote: > > > > > > > > > > > > > > It could have gone to drivers/iio/accel if it would use an > > > > > iio interface, which would make more sense, you are right, > > > > > but I > > > > > simply don't have the time to merge it in to iio. > > > > > > > > > > It doesn't use an input interface either but I don't see a > > > > > good place for an accelerometer that uses sysfs only. > > > > > > > > > > It works well, is a relatively recent chip and a clean > > > > > dirver. But this is all I can provide. > > > > > > > > As a person who works on the user-space interaction of those > > > > with desktops [1]: Urgh. > > > > > > > > I already have 3 (probably 4) types of accelerometers to > > > > contend with, I'm not fond of adding yet another type. > > > > > > > > Is there any way to get this hardware working outside the SoCs > > > > it's designed for (say, a device with I2C like a Raspberry > > > > Pi), so that a kind soul could handle getting this using the > > > > right interfaces? > > > > > > > > > > It works on basically any SoC and is in no way limited in this > > > regard. Sure, userspace has to expicitely support it and I hear > > > you. Using the iio interface would make more sense. I can only > > > say I'd love to have the time to move this driver over. I'm > > > very sorry. > > > > How can we get the hardware for somebody to use on their own > > laptops/embedded boards to implement this driver? > > > > It's connected over I2C. If the included documentation is not clear > please tell me what exacly. Thanks! I'll ask the question a different way: can you please give the address of a shop where that hardware is available?