All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Gabriele Mazzotta" <gabriele.mzt@gmail.com>,
	linux-iio@vger.kernel.org, "Marek Vasut" <marex@denx.de>,
	"Martin Liška" <marxin.liska@gmail.com>
Subject: Re: Correctness of acpi-als channel mask
Date: Sat, 19 Dec 2015 16:09:33 +0000	[thread overview]
Message-ID: <5675813D.9040808@kernel.org> (raw)
In-Reply-To: <CABFtUbQw0nH5LXf_+D5_mSBqEdAsKEbbLCmrD=VDfgosqcWq1w@mail.gmail.com>

On 17/12/15 20:32, Gabriele Mazzotta wrote:
> Hi,
> 
> I have a question regarding the acpi-als driver.
> 
> Currently acpi-als uses IIO_CHAN_INFO_RAW to report the data coming
> from the sensor. However, as per the ACPI specification [1] (section
> 9.2.2), these values represent the ambient light illuminance expressed
> in lux. Wouldn't IIO_CHAN_INFO_PROCESSED be more appropriate in this
> case as the data are in theory pre-processed by the firmware of the
> platform?
Looks like it to me as well.  Cc'd Marek and Martin.
> 
> [1] http://www.acpi.info/DOWNLOADS/ACPIspec50.pdf
> 
> Regards,
> Gabriele
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2015-12-19 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 20:32 Correctness of acpi-als channel mask Gabriele Mazzotta
2015-12-19 16:09 ` Jonathan Cameron [this message]
2015-12-20 23:33   ` Marek Vasut
     [not found]     ` <CABFtUbTggGGs7s0QtA=FeZx_ejwFHTBuxyhD8H_gmo9=R-HjwA@mail.gmail.com>
2015-12-21 14:45       ` Marek Vasut

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=5675813D.9040808@kernel.org \
    --to=jic23@kernel.org \
    --cc=gabriele.mzt@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=marxin.liska@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.