[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090806185322.GB28664@kroah.com>
Date: Thu, 6 Aug 2009 11:53:22 -0700
From: Greg KH <greg@...ah.com>
To: Zhang Rui <rui.zhang@...el.com>
Cc: linux-acpi <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>, Len Brown <lenb@...nel.org>,
Richard Purdie <rpurdie@...ys.net>,
Matthew Garrett <mjg59@...f.ucam.org>,
Bjorn Helgaas <bjorn.helgaas@...com>,
"Valdis.Kletnieks@...edu" <Valdis.Kletnieks@...edu>
Subject: Re: [RFC PATCH V2 1/2] introduce ALS sysfs class
On Thu, Aug 06, 2009 at 04:31:38PM +0800, Zhang Rui wrote:
>
> Introduce ALS sysfs class device.
>
> ALS sysfs class device provides a standard sysfs interface
> for Ambient Light Sensor devices.
>
> Only two sysfs I/F are introduced currently.
> /sys/class/als/alsX/illuminance:
> indicates the amount of light incident upon a specified surface area.
> /sys/class/als/alsX/mappings:
> exports ambient light illuminance to display luminance mappings
> that can be used by an OS to calibrate its ambient light policy
> for a given sensor configuration.
> The OS can use this information to extrapolate an ALS response curve
> - noting that these values may be treated differently depending on the
> OS implementation but should be used in some form to calibrate ALS policy.
>
> Signed-off-by: Zhang Rui <rui.zhang@...el.com>
> ---
> Documentation/als/sysfs.txt | 138 ++++++++++++++++++++++
This needs to be in Documentation/ABI instead.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists