Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Amit Kucheria <amit.kucheria@verdurent.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: RFC small change to tsl2563 event interface.
Date: Wed, 04 May 2011 10:37:53 +0100	[thread overview]
Message-ID: <4DC11E71.4050407@cam.ac.uk> (raw)

Hi Amit,

As part of moving to an registration of IIO channels through
a table of iio_chan_spec structures, I'm proposing to make
a small change to the event interface for the tsl2563 driver.

Currently it has 

 intensity0_both_thresh_en as a single sysfs attr enabling both
rising and falling attributes (which have separate value attributes).

I propose changing this to a pair of attrs which are interlinked
(e.g. change one and you'll change the other - our interface
spec has always allowed this as it's vital in more complex
interlinked event cases).

intensity0_both_thresh_falling_en     intensity0_both_thresh_rising_en

It removes a fiddly special case (which I haven't figured out how to
do!) from the core code.

Any objections to this?

Thanks,

Jonathan

             reply	other threads:[~2011-05-04  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04  9:37 Jonathan Cameron [this message]
2011-05-04 12:08 ` RFC small change to tsl2563 event interface Amit Kucheria

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=4DC11E71.4050407@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=amit.kucheria@verdurent.com \
    --cc=linux-iio@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