On Thu, 06 Mar 2025 14:44:35 +0100, Bence Csókás wrote:
The TCB has three R/W-able "general purpose" hardware registers:
RA, RB and RC. The hardware is capable of:
* sampling Counter Value Register (CV) to RA/RB on a trigger edge
* sending an interrupt of this change
* sending an interrupt on CV change due to trigger
* triggering an interrupt on CV compare to RC
* stop counting after sampling to RB
[...]
Applied to counter-next, thanks!
[1/2] counter: microchip-tcb-capture: Add IRQ handling
commit: e5d5813968217b99ef2b83f13353967b218e3841
[2/2] counter: microchip-tcb-capture: Add capture extensions for registers RA/RB
commit: 1adc6240a80278c613f655b71c6c0d447b2d5932
Bence, I've submitted a patchset adding support for the RC Compare as a
new 'compare' Count extension.[^1] If it works for you, please Ack that
series and we can hopefully get everything picked up by the 6.15 merge
window.
William Breathitt Gray [off-list ref]
[^1] https://lore.kernel.org/linux-iio/20250306-introduce-compare-component-v1-0-93993b3dca9c@kernel.org/ (local)