Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757548Ab0FBM6s (ORCPT ); Wed, 2 Jun 2010 08:58:48 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:44955 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750749Ab0FBM6q (ORCPT ); Wed, 2 Jun 2010 08:58:46 -0400 Date: Wed, 2 Jun 2010 14:05:28 +0100 From: Alan Cox To: Andrew Morton Cc: "Hemanth V" , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Daniel Mack , Jonathan Cameron , Wolfram Sang Subject: Re: [PATCH V2] misc : ROHM BH1780GLI Ambient light sensor Driver Message-ID: <20100602140528.06013fee@lxorguk.ukuu.org.uk> In-Reply-To: <20100601131244.7164b43c.akpm@linux-foundation.org> References: <39216.10.24.255.17.1274699065.squirrel@dbdmail.itg.ti.com> <20100601131244.7164b43c.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 866 Lines: 18 > Is there any standardisation of the ABIs whcih these drivers offer? If > so, does this new driver comply with that? There was an attempt to sort this out but Linux vetoed it because he is under the delusion that light sensors are input devices. That doesn't work in many use cases as you have to go ask them the light level and the polling needed for input events keeps wrecks your idle behaviour when you need to sample them when required instead. Instead therefore the API is random and the devices appear in random ways and classes. We have some intel drivers to submit as well as and when sanity prevails. Alan -- 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/