mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
dmaengine: loongson2-apb: Rename the prefix ls2x to loongson2
Since commit e06c432312
("dmaengine: Loongson1: Add Loongson-1 APB DMA
driver"), the Loongson-1 dma controller was added.
Unfortunately their naming has not been standardized, as CPUs belonging
to the same Loongson family, we expect to standardize the naming for
ease of understanding.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://lore.kernel.org/r/20240924064241.2414629-1-zhoubinbin@loongson.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
7655ec4d0d
commit
8974f34de2
5 changed files with 20 additions and 20 deletions
|
@ -13369,12 +13369,12 @@ S: Maintained
|
||||||
F: Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml
|
F: Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml
|
||||||
F: drivers/gpio/gpio-loongson-64bit.c
|
F: drivers/gpio/gpio-loongson-64bit.c
|
||||||
|
|
||||||
LOONGSON LS2X APB DMA DRIVER
|
LOONGSON-2 APB DMA DRIVER
|
||||||
M: Binbin Zhou <zhoubinbin@loongson.cn>
|
M: Binbin Zhou <zhoubinbin@loongson.cn>
|
||||||
L: dmaengine@vger.kernel.org
|
L: dmaengine@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: Documentation/devicetree/bindings/dma/loongson,ls2x-apbdma.yaml
|
F: Documentation/devicetree/bindings/dma/loongson,ls2x-apbdma.yaml
|
||||||
F: drivers/dma/ls2x-apb-dma.c
|
F: drivers/dma/loongson2-apb-dma.c
|
||||||
|
|
||||||
LOONGSON LS2X I2C DRIVER
|
LOONGSON LS2X I2C DRIVER
|
||||||
M: Binbin Zhou <zhoubinbin@loongson.cn>
|
M: Binbin Zhou <zhoubinbin@loongson.cn>
|
||||||
|
|
|
@ -775,7 +775,7 @@ CONFIG_RTC_CLASS=y
|
||||||
CONFIG_RTC_DRV_EFI=y
|
CONFIG_RTC_DRV_EFI=y
|
||||||
CONFIG_RTC_DRV_LOONGSON=y
|
CONFIG_RTC_DRV_LOONGSON=y
|
||||||
CONFIG_DMADEVICES=y
|
CONFIG_DMADEVICES=y
|
||||||
CONFIG_LS2X_APB_DMA=y
|
CONFIG_LOONGSON2_APB_DMA=y
|
||||||
CONFIG_UDMABUF=y
|
CONFIG_UDMABUF=y
|
||||||
CONFIG_DMABUF_HEAPS=y
|
CONFIG_DMABUF_HEAPS=y
|
||||||
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
||||||
|
|
|
@ -378,6 +378,20 @@ config LOONGSON1_APB_DMA
|
||||||
This selects support for the APB DMA controller in Loongson1 SoCs,
|
This selects support for the APB DMA controller in Loongson1 SoCs,
|
||||||
which is required by Loongson1 NAND and audio support.
|
which is required by Loongson1 NAND and audio support.
|
||||||
|
|
||||||
|
config LOONGSON2_APB_DMA
|
||||||
|
tristate "Loongson2 APB DMA support"
|
||||||
|
depends on LOONGARCH || COMPILE_TEST
|
||||||
|
select DMA_ENGINE
|
||||||
|
select DMA_VIRTUAL_CHANNELS
|
||||||
|
help
|
||||||
|
Support for the Loongson2 APB DMA controller driver. The
|
||||||
|
DMA controller is having single DMA channel which can be
|
||||||
|
configured for different peripherals like audio, nand, sdio
|
||||||
|
etc which is in APB bus.
|
||||||
|
|
||||||
|
This DMA controller transfers data from memory to peripheral fifo.
|
||||||
|
It does not support memory to memory data transfer.
|
||||||
|
|
||||||
config LPC18XX_DMAMUX
|
config LPC18XX_DMAMUX
|
||||||
bool "NXP LPC18xx/43xx DMA MUX for PL080"
|
bool "NXP LPC18xx/43xx DMA MUX for PL080"
|
||||||
depends on ARCH_LPC18XX || COMPILE_TEST
|
depends on ARCH_LPC18XX || COMPILE_TEST
|
||||||
|
@ -396,20 +410,6 @@ config LPC32XX_DMAMUX
|
||||||
Support for PL080 multiplexed DMA request lines on
|
Support for PL080 multiplexed DMA request lines on
|
||||||
LPC32XX platrofm.
|
LPC32XX platrofm.
|
||||||
|
|
||||||
config LS2X_APB_DMA
|
|
||||||
tristate "Loongson LS2X APB DMA support"
|
|
||||||
depends on LOONGARCH || COMPILE_TEST
|
|
||||||
select DMA_ENGINE
|
|
||||||
select DMA_VIRTUAL_CHANNELS
|
|
||||||
help
|
|
||||||
Support for the Loongson LS2X APB DMA controller driver. The
|
|
||||||
DMA controller is having single DMA channel which can be
|
|
||||||
configured for different peripherals like audio, nand, sdio
|
|
||||||
etc which is in APB bus.
|
|
||||||
|
|
||||||
This DMA controller transfers data from memory to peripheral fifo.
|
|
||||||
It does not support memory to memory data transfer.
|
|
||||||
|
|
||||||
config MCF_EDMA
|
config MCF_EDMA
|
||||||
tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
|
tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
|
||||||
depends on M5441x || (COMPILE_TEST && FSL_EDMA=n)
|
depends on M5441x || (COMPILE_TEST && FSL_EDMA=n)
|
||||||
|
|
|
@ -50,9 +50,9 @@ obj-$(CONFIG_INTEL_IOATDMA) += ioat/
|
||||||
obj-y += idxd/
|
obj-y += idxd/
|
||||||
obj-$(CONFIG_K3_DMA) += k3dma.o
|
obj-$(CONFIG_K3_DMA) += k3dma.o
|
||||||
obj-$(CONFIG_LOONGSON1_APB_DMA) += loongson1-apb-dma.o
|
obj-$(CONFIG_LOONGSON1_APB_DMA) += loongson1-apb-dma.o
|
||||||
|
obj-$(CONFIG_LOONGSON2_APB_DMA) += loongson2-apb-dma.o
|
||||||
obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o
|
obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o
|
||||||
obj-$(CONFIG_LPC32XX_DMAMUX) += lpc32xx-dmamux.o
|
obj-$(CONFIG_LPC32XX_DMAMUX) += lpc32xx-dmamux.o
|
||||||
obj-$(CONFIG_LS2X_APB_DMA) += ls2x-apb-dma.o
|
|
||||||
obj-$(CONFIG_MILBEAUT_HDMAC) += milbeaut-hdmac.o
|
obj-$(CONFIG_MILBEAUT_HDMAC) += milbeaut-hdmac.o
|
||||||
obj-$(CONFIG_MILBEAUT_XDMAC) += milbeaut-xdmac.o
|
obj-$(CONFIG_MILBEAUT_XDMAC) += milbeaut-xdmac.o
|
||||||
obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o
|
obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
/*
|
/*
|
||||||
* Driver for the Loongson LS2X APB DMA Controller
|
* Driver for the Loongson-2 APB DMA Controller
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017-2023 Loongson Corporation
|
* Copyright (C) 2017-2023 Loongson Corporation
|
||||||
*/
|
*/
|
||||||
|
@ -700,6 +700,6 @@ static struct platform_driver ls2x_dmac_driver = {
|
||||||
};
|
};
|
||||||
module_platform_driver(ls2x_dmac_driver);
|
module_platform_driver(ls2x_dmac_driver);
|
||||||
|
|
||||||
MODULE_DESCRIPTION("Loongson LS2X APB DMA Controller driver");
|
MODULE_DESCRIPTION("Loongson-2 APB DMA Controller driver");
|
||||||
MODULE_AUTHOR("Loongson Technology Corporation Limited");
|
MODULE_AUTHOR("Loongson Technology Corporation Limited");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
Loading…
Add table
Reference in a new issue