AnsweredAssumed Answered

Synchronizing between drivers

Question asked by mathew_k_t on Sep 3, 2018


I'm using imx6ull based board.


I have a connected same ADC device in ecspi3 and ecspi4. So that it uses the same device driver.

Each device generated ADC ready interrupts at every 10 msec.


I would like to implement a 5msec delay between the devices. i.e. if I'm getting interrupt from device1 first means after 5msec interrupt from device2 should be received.


Simply, Delay between interrupts of the same device is 10msec and delay between the devices is 5mesc.


How to implement this in kernel?