From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: <enric.balletbo@collabora.com>, <jic23@kernel.org>,
<bleung@chromium.org>, <groeck@chromium.org>,
<linux-kernel@vger.kernel.org>, <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v3 0/3] iio: cros_ec: Add support for RGB light sensor
Date: Fri, 8 May 2020 15:56:13 +0100 [thread overview]
Message-ID: <20200508155613.00005c95@Huawei.com> (raw)
In-Reply-To: <20200506230324.139241-1-gwendal@chromium.org>
On Wed, 6 May 2020 16:03:21 -0700
Gwendal Grignou <gwendal@chromium.org> wrote:
> 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.
v3 of series with v2 patches?
Also my earlier comment about colour channels cannot be illuminance
still stands. It is a term that "only" applies to light measurements with
a particular frequency / sensitivity curve.
The colour channels should all be in_intensity_xxx_raw.
If you want to do the computation in driver to derive the illuminance
that would be great, otherwise we shouldn't have any illuminance channels.
Jonathan
>
> Gwendal Grignou (3):
> iio: Add in_illumincance vectors in different color spaces
> iio: cros_ec: Allow enabling/disabling calibration mode
> iio: cros_ec_light: Add support for RGB sensor
>
> Documentation/ABI/testing/sysfs-bus-iio | 27 +
> .../cros_ec_sensors/cros_ec_sensors_core.c | 3 +-
> drivers/iio/light/cros_ec_light_prox.c | 469 +++++++++++++++---
> 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 +-
> 6 files changed, 441 insertions(+), 76 deletions(-)
>
prev parent reply other threads:[~2020-05-08 14:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 23:03 [PATCH v3 0/3] iio: cros_ec: Add support for RGB light sensor Gwendal Grignou
2020-05-06 23:03 ` [PATCH v2 1/3] iio: Add in_illumincance vectors in different color spaces Gwendal Grignou
2020-05-08 15:16 ` Jonathan Cameron
2020-05-12 4:10 ` Gwendal Grignou
2020-05-16 15:49 ` Jonathan Cameron
2020-05-06 23:03 ` [PATCH v2 2/3] iio: cros_ec: Allow enabling/disabling calibration mode Gwendal Grignou
2020-05-06 23:03 ` [PATCH v2 3/3] iio: cros_ec_light: Add support for RGB sensor Gwendal Grignou
2020-05-08 15:23 ` Jonathan Cameron
2020-05-11 2:34 ` kbuild test robot
2020-05-11 6:31 ` kbuild test robot
2020-05-08 14:56 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200508155613.00005c95@Huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=bleung@chromium.org \
--cc=enric.balletbo@collabora.com \
--cc=groeck@chromium.org \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox