summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/samsung.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-09-18 13:08:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 17:36:10 +0100
commitff4411296e99db2c0896580d8b47348abf3ad703 (patch)
tree90faa5a89dd5c137396dfccca922257a93df800d /drivers/tty/serial/samsung.c
parente7327c09def48ccfd204025726f11b57a19a9c24 (diff)
serial: sh-sci: Add DT support to DMA setup
Add support for obtaining DMA channel information from the device tree. This requires switching from the legacy sh_dmae_slave structures with hardcoded channel numbers and the corresponding filter function to: 1. dma_request_slave_channel_compat(), - On legacy platforms, dma_request_slave_channel_compat() uses the passed DMA channel numbers that originate from platform device data, - On DT-based platforms, dma_request_slave_channel_compat() will retrieve the information from DT. 2. and the generic dmaengine_slave_config() configuration method, which requires filling in DMA register ports and slave bus widths. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/samsung.c')
0 files changed, 0 insertions, 0 deletions