OSDN Git Service

dt-bindings: mfd: stm32-timers: Add support for dmas
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 16 May 2018 07:35:56 +0000 (09:35 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 10:13:13 +0000 (11:13 +0100)
commitacc8e22f5d41558c90519aadc011b6d2839aedfe
tree05e9ece22b2d1c9e265c9954bba0cdd9c3fb4fdc
parentab3a897847834bf3e864fb07b733c444895a24ba
dt-bindings: mfd: stm32-timers: Add support for dmas

Add support for DMAs to STM32 timers. STM32 Timers can support up to 7
dma requests: up to 4 channels, update, compare and trigger.
DMAs may be used to transfer data from pwm capture for instance.
DMA support is made optional, PWM capture support is also an option.
This is much more wise system-wide to avoid shortage on DMA request
lines as there's significant amount of timer instances that can
request up to 7 channels.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/stm32-timers.txt