Skip to content

Commit def1bae

Browse files
pwojtaszczyk-tsrobherring
authored andcommitted
dt-bindings: dma: Add lpc32xx DMA mux binding
LPC32XX SoCs use pl080 dma controller which have few request signals multiplexed between peripherals. This binding describes how devices can use the multiplexed request signals. Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240627150046.258795-3-piotr.wojtaszczyk@timesys.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent f8fd664 commit def1bae

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/dma/nxp,lpc3220-dmamux.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: DMA multiplexer for LPC32XX SoC (DMA request router)
8+
9+
maintainers:
10+
- J.M.B. Downing <jonathan.downing@nautel.com>
11+
- Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
12+
13+
allOf:
14+
- $ref: dma-router.yaml#
15+
16+
properties:
17+
compatible:
18+
const: nxp,lpc3220-dmamux
19+
20+
reg:
21+
maxItems: 1
22+
23+
dma-masters:
24+
description: phandle to a dma node compatible with arm,pl080
25+
maxItems: 1
26+
27+
"#dma-cells":
28+
const: 3
29+
description: |
30+
First two cells same as for device pointed in dma-masters.
31+
Third cell represents mux value for the request.
32+
33+
required:
34+
- compatible
35+
- reg
36+
- dma-masters
37+
38+
additionalProperties: false
39+
40+
examples:
41+
- |
42+
dma-router@7c {
43+
compatible = "nxp,lpc3220-dmamux";
44+
reg = <0x7c 0x8>;
45+
dma-masters = <&dma>;
46+
#dma-cells = <3>;
47+
};
48+
49+
...

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,6 +2428,7 @@ N: lpc18xx
24282428

24292429
ARM/LPC32XX SOC SUPPORT
24302430
M: Vladimir Zapolskiy <vz@mleia.com>
2431+
M: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
24312432
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
24322433
S: Maintained
24332434
T: git git://github.com/vzapolskiy/linux-lpc32xx.git
@@ -2440,6 +2441,14 @@ F: drivers/usb/host/ohci-nxp.c
24402441
F: drivers/watchdog/pnx4008_wdt.c
24412442
N: lpc32xx
24422443

2444+
LPC32XX DMAMUX SUPPORT
2445+
M: J.M.B. Downing <jonathan.downing@nautel.com>
2446+
M: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
2447+
R: Vladimir Zapolskiy <vz@mleia.com>
2448+
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
2449+
S: Maintained
2450+
F: Documentation/devicetree/bindings/dma/nxp,lpc3220-dmamux.yaml
2451+
24432452
ARM/Marvell Dove/MV78xx0/Orion SOC support
24442453
M: Andrew Lunn <andrew@lunn.ch>
24452454
M: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

0 commit comments

Comments
 (0)