| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Renesas SuperH DMA Engine support |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
|---|
| 8 | 9 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
|---|
| 9 | 10 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 13 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 14 | | - * (at your option) any later version. |
|---|
| 15 | 11 | * |
|---|
| 16 | 12 | * - DMA of SuperH does not have Hardware DMA chain mode. |
|---|
| 17 | 13 | * - MAX DMA size is 16MB. |
|---|
| .. | .. |
|---|
| 669 | 665 | .get_partial = sh_dmae_get_partial, |
|---|
| 670 | 666 | }; |
|---|
| 671 | 667 | |
|---|
| 672 | | -static const struct of_device_id sh_dmae_of_match[] = { |
|---|
| 673 | | - {.compatible = "renesas,shdma-r8a73a4", .data = r8a73a4_shdma_devid,}, |
|---|
| 674 | | - {} |
|---|
| 675 | | -}; |
|---|
| 676 | | -MODULE_DEVICE_TABLE(of, sh_dmae_of_match); |
|---|
| 677 | | - |
|---|
| 678 | 668 | static int sh_dmae_probe(struct platform_device *pdev) |
|---|
| 679 | 669 | { |
|---|
| 680 | 670 | const enum dma_slave_buswidth widths = |
|---|
| .. | .. |
|---|
| 919 | 909 | .driver = { |
|---|
| 920 | 910 | .pm = &sh_dmae_pm, |
|---|
| 921 | 911 | .name = SH_DMAE_DRV_NAME, |
|---|
| 922 | | - .of_match_table = sh_dmae_of_match, |
|---|
| 923 | 912 | }, |
|---|
| 924 | 913 | .remove = sh_dmae_remove, |
|---|
| 925 | 914 | }; |
|---|