Re: [PATCH v4 0/2] microchip-tcb-capture: Add Capture, Compare, Overflow etc. events

From
William Breathitt Gray <wbg@kernel.org>
Date
2025-02-28 00:13:31
Also in
linux-iio, lkml
Reply to
Csókás Bence, 2025-02-27
On Thu, Feb 27, 2025 at 04:56:17PM +0100, Csókás Bence wrote:
Hi,

On 2025. 02. 27. 16:52, William Breathitt Gray wrote:
quoted
Sorry, let me step back for a moment because maybe I'm trying to solve
a problem that might not actually be a problem.

I see functionality settings available in the TC Block Mode Register
(BMR) that can affect multiple TCCs at a time. Are these BMR settings
exposed already to users in someway? If not, do we have a way to
introduce these settings if someone wants them; e.g. would the
AutoCorrection function enable bit be exposed as a sysfs attribute, or
configured in the devicetree?

Finally, if there's not much interest in general for exposing these BMR
settings, then I suppose there is no need to change how things are right
now with the microchip-tcb-capture module and we can just keep it the
way it is. That's my only concern, whether there are users that want to
control these settings but don't have a way right now.
My knee-jerk answer to this is that if they do, they will bring it up by
submitting a patch or bug request. But I'll let others chime in, we only use
an extremely small subset of the features of the TCBs.

Bence
I think that's a reasonable stance to take. I don't have an elegant
solution either to this situation, so I'll defer trying to solve it
until an actual user shows up who needs the functionality. Until then,
it seems that what we have right now is adequate for the current
usecases.

William Breathitt Gray

Attachments

Thread (19 messages) 19 messages, 4 authors, last reply 2025-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help