lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Mar 2015 09:40:12 +0100
From:	Lars-Peter Clausen <lars@...afoo.de>
To:	Octavian Purdila <octavian.purdila@...el.com>,
	Daniel Baluta <daniel.baluta@...el.com>
CC:	Jonathan Cameron <jic23@...nel.org>,
	Hartmut Knaack <knaack.h@....de>,
	Peter Meerwald <pmeerw@...erw.net>,
	"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: iio: trigger: Use standard attr for sampling
 frequency

On 03/12/2015 09:16 AM, Octavian Purdila wrote:
> On Wed, Mar 11, 2015 at 6:36 PM, Daniel Baluta <daniel.baluta@...el.com> wrote:
>>
>> As written in Documentation/ABI/testing/sysfs-bus-iio the trigger
>> attribute for sampling frequency should be sampling_frequency.
>>
>> Fix this for iio-trig-periodic-rtc module in order to prepare it
>> for moving out of staging.
>>
>> Signed-off-by: Daniel Baluta <daniel.baluta@...el.com>
>> ---
>> Jonathan, this module is very useful for devices that do not have
>> an interrupt pin.
>>
>> We are working on drivers for such devices and would be very nice to
>> move this driver in advance to the IIO non-staging location.
>>
>> What do you say?
>>
>
> Hmm, I wonder what are the advantages of using RTC timers. Couldn't we
> use a regular kernel timer instead?

The long term plan is to get rid of the RTC timer trigger due to its various 
limitations (poor resolution, etc).

There is the hrtimer trigger 
(https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/staging/iio/trigger/iio-trig-hrtimer.c) 
but we haven't agreed on a proper interface yet how to instantiate the 
hrtimer trigger.

Check the ml archive for the various discussions on it: 
http://marc.info/?l=linux-iio&w=2&r=1&s=hrtimer&q=b

- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ