summaryrefslogtreecommitdiff
path: root/block/bsg-lib.c
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>2024-03-07 14:33:00 +0100
committerWilliam Breathitt Gray <wbg@kernel.org>2024-04-02 13:10:34 -0400
commit7a6c69f2be82e60a57d75ef9ad29fac0aa3d619e (patch)
tree110500097cc1f25ad094c8ee10661df7d691c5e3 /block/bsg-lib.c
parent5679d5f76ca781c46212db3e274e610aeea62af9 (diff)
counter: stm32-timer-cnt: introduce clock signal
Introduce the internal clock signal, used to count when in simple rising function. Also add the "frequency" extension to the clock signal. With this patch, signal action reports a consistent state when "increase" function is used, and the counting frequency: $ echo increase > function $ grep -H "" signal*_action signal0_action:none signal1_action:none signal2_action:rising edge $ echo 1 > enable $ cat count 25425 $ cat count 44439 $ cat ../signal2/frequency 208877930 Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20240307133306.383045-5-fabrice.gasnier@foss.st.com Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions