diff options
author | Fabrice Gasnier | 2024-03-07 14:33:04 +0100 |
---|---|---|
committer | William Breathitt Gray | 2024-04-02 13:10:34 -0400 |
commit | f7630270b67836bedc518e96fb4c64b11fe3fb5e (patch) | |
tree | 6a34cef4bd15b4ccd3025cb5137b932e1cf03064 /drivers/firmware | |
parent | efec660d78f06cd1101b3300ebfef4918cc0f63f (diff) |
counter: stm32-timer-cnt: probe number of channels from registers
Probe the number of capture compare channels, by writing CCER register bits
and read them back. Take care to restore the register original value.
This is a precursor patch to support capture channels.
Reviewed-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20240307133306.383045-9-fabrice.gasnier@foss.st.com
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions