linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: cros_ec: Add support for RGB light sensor
@ 2020-04-23  0:02 Gwendal Grignou
  2020-04-23  0:02 ` [PATCH 1/2] iio: cros_ec: Allow enabling/disabling calibration mode Gwendal Grignou
  2020-04-23  0:02 ` [PATCH 2/2] iio: cros_ec_light: Add support for RGB sensor Gwendal Grignou
  0 siblings, 2 replies; 8+ messages in thread
From: Gwendal Grignou @ 2020-04-23  0:02 UTC (permalink / raw)
  To: enric.balletbo, jic23
  Cc: bleung, groeck, linux-kernel, linux-iio, Gwendal Grignou

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-02 17:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23  0:02 [PATCH 0/2] iio: cros_ec: Add support for RGB light sensor Gwendal Grignou
2020-04-23  0:02 ` [PATCH 1/2] iio: cros_ec: Allow enabling/disabling calibration mode Gwendal Grignou
2020-04-23  0:02 ` [PATCH 2/2] iio: cros_ec_light: Add support for RGB sensor Gwendal Grignou
2020-04-23  7:50   ` Peter Meerwald-Stadler
2020-04-30 21:06     ` Gwendal Grignou
2020-04-25 17:31   ` Jonathan Cameron
2020-04-30 21:07     ` Gwendal Grignou
2020-05-02 17:56       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).