lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@intel.com>
> ---
> Documentation/als/sysfs.txt | 138 ++++++++++++++++++++++

This needs to be in Documentation/ABI instead.

thanks,

greg k-h


\
 
 \ /
  Last update: 2009-08-06 21:01    [W:0.257 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site