Re: [PATCH 2/2] iio: st_sensors: support open drain mode

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

 




On Mon, Nov 16, 2015 at 7:15 AM, Denis Ciocca <denis.ciocca@xxxxxx> wrote:

> I'm not convinced about this one. If we declare sensors output as open drain,
> interrupt can be shared (as you also say).
>
> So, the irq management function should first check source registers if
> interrupt is really generated by sensor or not.

Yeah I was not testing actually using two sensors at the time so far, only
setting this property in the device tree for two sensors so that it was
possible to share a line between two sensors, but I only use one at a
time, I didn't try to start generic_buffer on both similtaneously...

OK I'll see if we can get the trigger to return IRQ_HANDLED or
IRQ_NO_IRQ.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux