linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Brian Masney <masneyb@onstation.org>
Cc: gregkh@linuxfoundation.org, linux-iio@vger.kernel.org,
	devel@driverdev.osuosl.org
Subject: Re: [PATCH v2 7/8] staging: iio: isl29018: add ABI documentation for infrared suppression
Date: Sat, 15 Oct 2016 16:13:52 +0100	[thread overview]
Message-ID: <fd8556d6-466c-402f-9502-dd234cb1f448@kernel.org> (raw)
In-Reply-To: <f3f7db73-4eb4-3b40-d059-cf745b817321@kernel.org>

On 10/10/16 21:57, Jonathan Cameron wrote:
> On 10/10/16 08:20, Brian Masney wrote:
>> Add ABI documentation from the ISL29018 Data Sheet (FN6619.4, Oct 8,
>> 2012) about the infrared suppression that can be controlled
>> with the proximity_on_chip_ambient_infrared_suppression sysfs attribute.
>>
>> Signed-off-by: Brian Masney <masneyb@onstation.org>
> I'm going to let this and the final move out of staging sit on the
> list a while longer to gather reviews.
Meh. Long enough ;)

Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to ignore it.

Thanks,

Jonathan
> 
> It does feel like the below is rather cryptic and it might be possible
> to use a simpler description...  Maybe this is the best we can do.
> The naming makes it sound generic, but in reality it's a nasty bit
> of custom filtering that is not well described anywhere.
> 
> Jonathan
>> ---
>>  .../ABI/testing/sysfs-bus-iio-light-isl29018          | 19 +++++++++++++++++++
>>  1 file changed, 19 insertions(+)
>>  create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-light-isl29018
>>
>> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-light-isl29018 b/Documentation/ABI/testing/sysfs-bus-iio-light-isl29018
>> new file mode 100644
>> index 0000000..f0ce0a0
>> --- /dev/null
>> +++ b/Documentation/ABI/testing/sysfs-bus-iio-light-isl29018
>> @@ -0,0 +1,19 @@
>> +What:		/sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression
>> +Date:		January 2011
>> +KernelVersion:	2.6.37
>> +Contact:	linux-iio@vger.kernel.org
>> +Description:
>> +		From ISL29018 Data Sheet (FN6619.4, Oct 8, 2012) regarding the
>> +		infrared suppression:
>> +
>> +		Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
>> +		detection. The range of Scheme 0 proximity count is from 0 to
>> +		2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15)
>> +		bits (2's complementary) proximity_less_ambient detection. The
>> +		range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
>> +		The sign bit is extended for resolutions less than 16. While
>> +		Scheme 0 has wider dynamic range, Scheme 1 proximity detection
>> +		is less affected by the ambient IR noise variation.
>> +
>> +		0 Sensing IR from LED and ambient
>> +		1 Sensing IR from LED with ambient IR rejection
>>
> 
> --
> 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:[~2016-10-15 15:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10  7:19 [PATCH v2 0/8] staging: iio: isl29018: move out of staging Brian Masney
2016-10-10  7:19 ` [PATCH v2 1/8] staging: iio: isl29018: add newlines to improve readability Brian Masney
2016-10-10 20:31   ` Jonathan Cameron
2016-10-10  7:19 ` [PATCH v2 2/8] staging: iio: isl29018: fix poorly named function Brian Masney
2016-10-10 20:33   ` Jonathan Cameron
2016-10-10  7:19 ` [PATCH v2 3/8] staging: iio: isl29018: fix multiline comment syntax Brian Masney
2016-10-10 20:34   ` Jonathan Cameron
2016-10-10  7:19 ` [PATCH v2 4/8] staging: iio: isl29018: combine two return statements into one Brian Masney
2016-10-10 20:53   ` Jonathan Cameron
2016-10-10  7:19 ` [PATCH v2 5/8] staging: iio: isl29018: remove blank line for consistency Brian Masney
2016-10-10 20:53   ` Jonathan Cameron
2016-10-10  7:20 ` [PATCH v2 6/8] staging: iio: isl29018: rename description in Kconfig " Brian Masney
2016-10-10 20:54   ` Jonathan Cameron
2016-10-10  7:20 ` [PATCH v2 7/8] staging: iio: isl29018: add ABI documentation for infrared suppression Brian Masney
2016-10-10 20:57   ` Jonathan Cameron
2016-10-15 15:13     ` Jonathan Cameron [this message]
2016-10-10  7:20 ` [PATCH v2 8/8] staging: iio: isl29018: move out of staging Brian Masney
2016-10-15 15:15   ` Jonathan Cameron
2016-10-16  2:25     ` Brian Masney

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=fd8556d6-466c-402f-9502-dd234cb1f448@kernel.org \
    --to=jic23@kernel.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=masneyb@onstation.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;
as well as URLs for NNTP newsgroup(s).