Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
35e0db66
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
14
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
35e0db66
编写于
8月 17, 2018
作者:
V
Vinod Koul
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'topic/owl' into for-linus
上级
e48696fb
47e20577
变更
4
展开全部
显示空白变更内容
内联
并排
Showing
4 changed file
with
1027 addition
and
0 deletion
+1027
-0
Documentation/devicetree/bindings/dma/owl-dma.txt
Documentation/devicetree/bindings/dma/owl-dma.txt
+47
-0
drivers/dma/Kconfig
drivers/dma/Kconfig
+8
-0
drivers/dma/Makefile
drivers/dma/Makefile
+1
-0
drivers/dma/owl-dma.c
drivers/dma/owl-dma.c
+971
-0
未找到文件。
Documentation/devicetree/bindings/dma/owl-dma.txt
0 → 100644
浏览文件 @
35e0db66
* Actions Semi Owl SoCs DMA controller
This binding follows the generic DMA bindings defined in dma.txt.
Required properties:
- compatible: Should be "actions,s900-dma".
- reg: Should contain DMA registers location and length.
- interrupts: Should contain 4 interrupts shared by all channel.
- #dma-cells: Must be <1>. Used to represent the number of integer
cells in the dmas property of client device.
- dma-channels: Physical channels supported.
- dma-requests: Number of DMA request signals supported by the controller.
Refer to Documentation/devicetree/bindings/dma/dma.txt
- clocks: Phandle and Specifier of the clock feeding the DMA controller.
Example:
Controller:
dma: dma-controller@e0260000 {
compatible = "actions,s900-dma";
reg = <0x0 0xe0260000 0x0 0x1000>;
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
dma-channels = <12>;
dma-requests = <46>;
clocks = <&clock CLK_DMAC>;
};
Client:
DMA clients connected to the Actions Semi Owl SoCs DMA controller must
use the format described in the dma.txt file, using a two-cell specifier
for each channel.
The two cells in order are:
1. A phandle pointing to the DMA controller.
2. The channel id.
uart5: serial@e012a000 {
...
dma-names = "tx", "rx";
dmas = <&dma 26>, <&dma 27>;
...
};
drivers/dma/Kconfig
浏览文件 @
35e0db66
...
@@ -413,6 +413,14 @@ config NBPFAXI_DMA
...
@@ -413,6 +413,14 @@ config NBPFAXI_DMA
help
help
Support for "Type-AXI" NBPF DMA IPs from Renesas
Support for "Type-AXI" NBPF DMA IPs from Renesas
config OWL_DMA
tristate "Actions Semi Owl SoCs DMA support"
depends on ARCH_ACTIONS
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
Enable support for the Actions Semi Owl SoCs DMA controller.
config PCH_DMA
config PCH_DMA
tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
depends on PCI && (X86_32 || COMPILE_TEST)
depends on PCI && (X86_32 || COMPILE_TEST)
...
...
drivers/dma/Makefile
浏览文件 @
35e0db66
...
@@ -52,6 +52,7 @@ obj-$(CONFIG_MV_XOR_V2) += mv_xor_v2.o
...
@@ -52,6 +52,7 @@ obj-$(CONFIG_MV_XOR_V2) += mv_xor_v2.o
obj-$(CONFIG_MXS_DMA)
+=
mxs-dma.o
obj-$(CONFIG_MXS_DMA)
+=
mxs-dma.o
obj-$(CONFIG_MX3_IPU)
+=
ipu/
obj-$(CONFIG_MX3_IPU)
+=
ipu/
obj-$(CONFIG_NBPFAXI_DMA)
+=
nbpfaxi.o
obj-$(CONFIG_NBPFAXI_DMA)
+=
nbpfaxi.o
obj-$(CONFIG_OWL_DMA)
+=
owl-dma.o
obj-$(CONFIG_PCH_DMA)
+=
pch_dma.o
obj-$(CONFIG_PCH_DMA)
+=
pch_dma.o
obj-$(CONFIG_PL330_DMA)
+=
pl330.o
obj-$(CONFIG_PL330_DMA)
+=
pl330.o
obj-$(CONFIG_PPC_BESTCOMM)
+=
bestcomm/
obj-$(CONFIG_PPC_BESTCOMM)
+=
bestcomm/
...
...
drivers/dma/owl-dma.c
0 → 100644
浏览文件 @
35e0db66
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录