Searched hist:"92 f7a35836c2e13ae5f0dc8c7f889e92f66a9d19" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-104-dio-48e.c | diff 92f7a35836c2e13ae5f0dc8c7f889e92f66a9d19 Thu Jul 20 20:49:43 CEST 2023 William Breathitt Gray <william.gray@linaro.org> gpio: 104-dio-48e: Add Counter/Timer support
The 104-DIO-48E features an 8254 Counter/Timer chip providing three counter/timers which can be used for frequency measurement, frequency output, pulse width modulation, pulse width measurement, event count, etc. The counter/timers use the same addresses as PPI 0 (addresses 0x0 to 0x3), so a raw_spinlock_t is used to synchronize operations between the two regmap mappings to prevent clobbering.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
|
H A D | Kconfig | diff 92f7a35836c2e13ae5f0dc8c7f889e92f66a9d19 Thu Jul 20 20:49:43 CEST 2023 William Breathitt Gray <william.gray@linaro.org> gpio: 104-dio-48e: Add Counter/Timer support
The 104-DIO-48E features an 8254 Counter/Timer chip providing three counter/timers which can be used for frequency measurement, frequency output, pulse width modulation, pulse width measurement, event count, etc. The counter/timers use the same addresses as PPI 0 (addresses 0x0 to 0x3), so a raw_spinlock_t is used to synchronize operations between the two regmap mappings to prevent clobbering.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
|