From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4FB2B9A8.1060103@kernel.org> Date: Tue, 15 May 2012 21:16:40 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Johan Hovold CC: Andrew Morton , Jonathan Cameron , Rob Landley , Richard Purdie , Samuel Ortiz , Greg Kroah-Hartman , Florian Tobias Schandinat , Arnd Bergmann , Mark Brown , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH v3] iio: add LM3533 ambient-light-sensor driver References: <1336040799-18433-3-git-send-email-jhovold@gmail.com> <1337100396-29024-1-git-send-email-jhovold@gmail.com> <20120515122705.42461e7e.akpm@linux-foundation.org> <20120515200027.GA9132@localhost> In-Reply-To: <20120515200027.GA9132@localhost> Content-Type: text/plain; charset=ISO-8859-1 List-ID: On 05/15/2012 09:00 PM, Johan Hovold wrote: > On Tue, May 15, 2012 at 12:27:05PM -0700, Andrew Morton wrote: >> On Tue, 15 May 2012 18:46:36 +0200 >> Johan Hovold wrote: >> >>> Add sub-driver for the ambient-light-sensor interface on National >>> Semiconductor / TI LM3533 lighting power chips. >>> >>> The sensor interface can be used to control the LEDs and backlights of >>> the chip through defining five light zones and three sets of >>> corresponding brightness target levels. >>> >>> The driver provides raw and mean adc readings along with the current >>> light zone through sysfs. A threshold event can be generated on zone >>> changes. >>> >>> ... >>> >>> drivers/staging/iio/light/Kconfig | 16 + >>> drivers/staging/iio/light/Makefile | 1 + >>> drivers/staging/iio/light/lm3533-als.c | 726 ++++++++++++++++++++ >> >> Why is this aimed at drivers/staging/, rather than directly into >> drivers/iio/? > > I understood it as it was only iio core which was moving out of staging > in 3.5, but I see now that some drivers have been added directly to > driver/iio. My mistake. It was more a case that the core was the priority. Drivers would if ready and people had time to do the patches! > > I'll make sure to move it to drivers/iio/light. Yup, that's sensible for a new driver like this. I'll be even fussier about the userspace interfaces though ;) > > Thanks for pointing it out, > Johan