Re: device tree binding for iio-trig-hrtimer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/21/20 6:45 AM, yarl-baudig@xxxxxxxxxx wrote:
Hello,

Is it possible to create and bind an iio-trig-hrtimer as an interrupt-parent (or something like that) for a sensor?
If so, what would the dts look like?

The very first version of the iio-trig-hrtimer driver did have devicetree bindings[1].

But since the iio-trig-hrtimer does not represent any piece of hardware and the devicetree is a description of the hardware this was dropped before upstreaming the driver. And a new interface for being able to dynamically create hrtimer triggers using configfs was created.

Creating a hrtimer trigger and assigning it to a sensor has to be done from a userspace application.

- Lars

[1] https://github.com/analogdevicesinc/linux/blob/1594c10513b7becdf7ed6026bb70a07ba8118d5f/drivers/staging/iio/trigger/iio-trig-hrtimer.c#L166-L170 <https://github.com/analogdevicesinc/linux/blob/1594c10513b7becdf7ed6026bb70a07ba8118d5f/drivers/staging/iio/trigger/iio-trig-hrtimer.c#L166-L170>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux