| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The light sensor now uses the lux to current formula in the datasheet,
I = 10 * log(Ev) uA, and multiplies the result by 4 as an attempt
to correct for the glass in front of the sensor.
Also update the config_autoBrightnessLevels table so the auto brightness
change occurs at the same adc values as before (or close for 7.2 lux).
Change-Id: I121ce0f23dca093c9607ac9447b9263f48507a09
|
|
|
|
|
|
|
|
|
|
| |
Sensor HAL changes to make light sensor value to be reported on
enabling light sensor.
- Ignore the dummy initial value -1 that is pushed by driver
- Set previous light value to -1 on enable
Change-Id: Iaa64fb02f4b82339ba96146d170ca447f409a5ad
Signed-off-by: Vishnudev Ramakrishnan <vramakri@sta.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changed the light sensor ADC calibration values to the ones
provided by proxima hardware team.
Also corrected the comparison operator during adc to lux lookup
to account for boundary values.
Change-Id: I434f5bf8774f5eff0e639377db73c058a10f7d2d
Signed-off-by: Vishnudev Ramakrishnan <vramakri@sta.samsung.com>
|
|
NOTE:
- light sensor ADC values need to be calibrated.
Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb
Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>
|