Hello Kamel, I was looking over the microchip-tcb-capture driver recently and noticed that the code doesn't seem to account for Signal1. In particular, it appears that mchp_tc_count_signal_read() and mchp_tc_count_action_read() don't check the Signal id at all and just assume they are handling Signal0. This creates a situation where the information returned for the Signal1 sysfs attributes are just duplicated reports of Signal0. What exactly is the relationship of Signal0 ("Channel A") and Signal1 ("Channel B"); is SignalB only relevant when the counter device is configured for quadrature mode? Sincerely, William Breathitt Gray
Attachment:
signature.asc
Description: PGP signature