Home
last modified time | relevance | path

Searched +full:jz4780 +full:- +full:dma (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/arch/mips/boot/dts/ingenic/
Djz4780.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
4 #include <dt-bindings/dma/jz4780-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
9 compatible = "ingenic,jz4780";
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
[all …]
Dx1830.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,tcu.h>
3 #include <dt-bindings/clock/ingenic,x1830-cgu.h>
4 #include <dt-bindings/dma/x1830-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu2.0-mxu2.0";
21 clock-names = "cpu";
[all …]
Dx1000.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,tcu.h>
3 #include <dt-bindings/clock/ingenic,x1000-cgu.h>
4 #include <dt-bindings/dma/x1000-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
21 clock-names = "cpu";
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/
Djz4780.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/jz4780-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
4 #include <dt-bindings/dma/jz4780-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
9 compatible = "ingenic,jz4780";
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
[all …]
Dx1830.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,tcu.h>
3 #include <dt-bindings/clock/x1830-cgu.h>
4 #include <dt-bindings/dma/x1830-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu2.0-mxu2.0";
21 clock-names = "cpu";
[all …]
Dx1000.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,tcu.h>
3 #include <dt-bindings/clock/x1000-cgu.h>
4 #include <dt-bindings/dma/x1000-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
21 clock-names = "cpu";
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/
Dingenic,mmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: mmc-controller.yaml#
18 - enum:
19 - ingenic,jz4740-mmc
20 - ingenic,jz4725b-mmc
21 - ingenic,jz4760-mmc
22 - ingenic,jz4775-mmc
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dingenic,mmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: mmc-controller.yaml#
18 - enum:
19 - ingenic,jz4740-mmc
20 - ingenic,jz4725b-mmc
21 - ingenic,jz4760-mmc
22 - ingenic,jz4780-mmc
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Dingenic,i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
17 pattern: "^i2c@[0-9a-f]+$"
21 - enum:
22 - ingenic,jz4770-i2c
23 - ingenic,x1000-i2c
24 - items:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Dingenic,i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
17 pattern: "^i2c@[0-9a-f]+$"
21 - enum:
22 - ingenic,jz4770-i2c
23 - ingenic,x1000-i2c
24 - items:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dingenic,uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: /schemas/serial.yaml#
17 pattern: "^serial@[0-9a-f]+$"
21 - enum:
22 - ingenic,jz4740-uart
23 - ingenic,jz4760-uart
24 - ingenic,jz4780-uart
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/
Dingenic,uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: serial.yaml#
17 pattern: "^serial@[0-9a-f]+$"
21 - enum:
22 - ingenic,jz4740-uart
23 - ingenic,jz4750-uart
24 - ingenic,jz4760-uart
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/
Dingenic,dma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/ingenic,dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs DMA Controller DT bindings
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: "dma-controller.yaml#"
18 - ingenic,jz4740-dma
19 - ingenic,jz4725b-dma
20 - ingenic,jz4770-dma
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/
Dingenic,dma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/ingenic,dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs DMA Controller
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: dma-controller.yaml#
18 - enum:
19 - ingenic,jz4740-dma
20 - ingenic,jz4725b-dma
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Ddma-jz4780.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Ingenic JZ4780 DMA controller
6 * Author: Alex Smith <alex@alex-smith.me.uk>
21 #include "virt-dma.h"
37 /* Per-channel registers. */
98 * struct jz4780_dma_hwdesc - descriptor structure read by the DMA controller.
178 return container_of(jzchan->vchan.chan.device, struct jz4780_dma_dev, in jz4780_dma_chan_parent()
185 return readl(jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_readl()
191 writel(val, jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_writel()
197 return readl(jzdma->ctrl_base + reg); in jz4780_dma_ctrl_readl()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
4 subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
7 obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
8 obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
9 obj-$(CONFIG_DMA_ACPI) += acpi-dma.o
10 obj-$(CONFIG_DMA_OF) += of-dma.o
13 obj-$(CONFIG_DMATEST) += dmatest.o
16 obj-$(CONFIG_ALTERA_MSGDMA) += altera-msgdma.o
17 obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # DMA engine configuration
7 bool "DMA Engine support"
10 DMA engines can do asynchronous data transfers without
14 DMA Device drivers supported by the configured arch, it may
18 bool "DMA Engine debugging"
22 say N here. This enables DMA engine core and driver debugging.
25 bool "DMA Engine verbose debugging"
30 the DMA engine core and drivers.
35 comment "DMA Devices"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dingenic,aic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
14 pattern: '^audio-controller@'
18 - enum:
19 - ingenic,jz4740-i2s
20 - ingenic,jz4760-i2s
21 - ingenic,jz4770-i2s
22 - ingenic,jz4780-i2s
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dingenic,aic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: dai-common.yaml#
17 pattern: '^audio-controller@'
21 - enum:
22 - ingenic,jz4740-i2s
23 - ingenic,jz4760-i2s
24 - ingenic,jz4770-i2s
[all …]
/kernel/linux/linux-6.6/drivers/dma/
Ddma-jz4780.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Ingenic JZ4780 DMA controller
6 * Author: Alex Smith <alex@alex-smith.me.uk>
11 #include <linux/dma-mapping.h>
21 #include "virt-dma.h"
37 /* Per-channel registers. */
98 * struct jz4780_dma_hwdesc - descriptor structure read by the DMA controller.
179 return container_of(jzchan->vchan.chan.device, struct jz4780_dma_dev, in jz4780_dma_chan_parent()
186 return readl(jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_readl()
192 writel(val, jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_writel()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
4 subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
7 obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
8 obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
9 obj-$(CONFIG_DMA_ACPI) += acpi-dma.o
10 obj-$(CONFIG_DMA_OF) += of-dma.o
13 obj-$(CONFIG_DMATEST) += dmatest.o
16 obj-$(CONFIG_ALTERA_MSGDMA) += altera-msgdma.o
17 obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # DMA engine configuration
7 bool "DMA Engine support"
10 DMA engines can do asynchronous data transfers without
14 DMA Device drivers supported by the configured arch, it may
18 bool "DMA Engine debugging"
22 say N here. This enables DMA engine core and driver debugging.
25 bool "DMA Engine verbose debugging"
30 the DMA engine core and drivers.
35 comment "DMA Devices"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Dingenic,spi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Artur Rojek <contact@artur-rojek.eu>
11 - Paul Cercueil <paul@crapouillou.net>
14 - $ref: /schemas/spi/spi-controller.yaml#
19 - enum:
20 - ingenic,jz4750-spi
21 - ingenic,jz4775-spi
22 - ingenic,jz4780-spi
[all …]
/kernel/linux/linux-6.6/drivers/mmc/host/
Djz4740_mmc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
13 #include <linux/dma-mapping.h>
19 #include <linux/mmc/slot-gpio.h>
131 * is in-flight. This is used via the pre_req/post_req hooks.
176 /* DMA support */
181 /* The DMA trigger level is 8 words, that is to say, the DMA read
182 * trigger is when data words in MSC_RXFIFO is >= 8 and the DMA write
191 if (host->version >= JZ_MMC_JZ4725B) in jz4740_mmc_write_irq_mask()
192 return writel(val, host->base + JZ_REG_MMC_IMASK); in jz4740_mmc_write_irq_mask()
[all …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-ingenic.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2017-2021 Artur Rojek <contact@artur-rojek.eu>
5 * Copyright (c) 2017-2021 Paul Cercueil <paul@crapouillou.net>
12 #include <linux/dma-mapping.h>
76 return regmap_read_poll_timeout(priv->map, REG_SSISR, val, in spi_ingenic_wait()
83 struct ingenic_spi *priv = spi_controller_get_devdata(spi->controller); in spi_ingenic_set_cs()
86 regmap_clear_bits(priv->map, REG_SSICR1, REG_SSICR1_UNFIN); in spi_ingenic_set_cs()
87 regmap_clear_bits(priv->map, REG_SSISR, in spi_ingenic_set_cs()
92 regmap_set_bits(priv->map, REG_SSICR1, REG_SSICR1_UNFIN); in spi_ingenic_set_cs()
95 regmap_set_bits(priv->map, REG_SSICR0, in spi_ingenic_set_cs()
[all …]

12