summary refs log tree commit diff
path: root/drivers/pwm/pwm-pxa.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2020-12-08 11:04:35 +0200
committerVinod Koul <vkoul@kernel.org>2020-12-11 21:20:09 +0530
commitfc373e47d72605cc3f5012ddda49d2dca430d51f (patch)
treeb8c5134bd919b321e09c1d4ff8e6ce8ebbe54a1c /drivers/pwm/pwm-pxa.c
parent2329725d1a228fb0d6424ee8d499f266020cc113 (diff)
downloadlinux-fc373e47d72605cc3f5012ddda49d2dca430d51f.tar.gz
dmaengine: ti: Add support for k3 event routers
In k3 architecture a DMA channel (in TR momde) can be triggered by global
events, origination from different modules.

The events for triggers can be sent from any module which is connected to
PSI-L fabric, but the event number to be sent is DMA channel specific, it
is only known after the channel itself is requested.

The router operation needs to be split up:
- route_allocate: configure the dma_spec for the DMA and store the
  configuration which is needed for the router's input
- set_event: callback used by the DMA driver to set the event number for
  the channel and enable the routing

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201208090440.31792-16-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-pxa.c')
0 files changed, 0 insertions, 0 deletions