[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200423000230.82750-1-gwendal@chromium.org>
Date: Wed, 22 Apr 2020 17:02:28 -0700
From: Gwendal Grignou <gwendal@...omium.org>
To: enric.balletbo@...labora.com, jic23@...nel.org
Cc: bleung@...omium.org, groeck@...omium.org,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
Gwendal Grignou <gwendal@...omium.org>
Subject: [PATCH 0/2] iio: cros_ec: Add support for RGB light sensor
Add support for color light sensor presented by the Chromebook Embedded
Controller (EC).
Instead of just presenting lux measurement (clear channel), a color light
sensor is able to report color temperature measurement.
The EC, using factory settings, can transform the raw measurement into
the CIE 1931 XYZ color space (XYZ) and take adavantage of color sensor
autocalibration to provide the most accurate measurements.
Gwendal Grignou (2):
iio: cros_ec: Allow enabling/disabling calibration mode
iio: cros_ec_light: Add support for RGB sensor
.../cros_ec_sensors/cros_ec_sensors_core.c | 3 +-
drivers/iio/light/cros_ec_light_prox.c | 470 +++++++++++++++---
drivers/platform/chrome/cros_ec_sensorhub.c | 3 +
.../linux/iio/common/cros_ec_sensors_core.h | 1 -
.../linux/platform_data/cros_ec_commands.h | 14 +-
5 files changed, 415 insertions(+), 76 deletions(-)
--
2.26.1.301.g55bc3eb7cb9-goog
Powered by blists - more mailing lists