[PATCH v3] counter: microchip-tcb-capture: Add watch validation support

William Breathitt Gray wbg at kernel.org
Thu May 22 02:53:43 PDT 2025


On Tue, 20 May 2025 20:51:46 +0530, Dharma Balasubiramani wrote:
> The Timer Counter Block (TCB) exposes several kinds of events to the
> Counter framework, but not every event is meaningful on every hardware
> channel. Add a `watch_validate()` callback so userspace may register only
> the combinations actually supported:
> 
> * Channel 0 (COUNTER_MCHP_EVCHN_CV, COUNTER_MCHP_EVCHN_RA)
>    - COUNTER_EVENT_CAPTURE
>    - COUNTER_EVENT_CHANGE_OF_STATE
>    - COUNTER_EVENT_OVERFLOW
> 
> [...]

Applied, thanks!

[1/1] counter: microchip-tcb-capture: Add watch validation support
      commit: ae3392c0f12f179b969ce17856ed18bf8d69a35e

Best regards,
-- 
William Breathitt Gray <wbg at kernel.org>



More information about the linux-arm-kernel mailing list