Skip to content

Commit ec896de

Browse files
robherringvinodkoul
authored andcommitted
dt-bindings: dma: Convert brcm,iproc-sba to DT schema
Convert the Broadcom SBA RAID engine binding to schema. It is a straight forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent c6ee78f commit ec896de

File tree

2 files changed

+41
-29
lines changed

2 files changed

+41
-29
lines changed

Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/dma/brcm,iproc-sba.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom SBA RAID engine
8+
9+
maintainers:
10+
- Ray Jui <[email protected]>
11+
- Scott Branden <[email protected]>
12+
13+
properties:
14+
compatible:
15+
enum:
16+
- brcm,iproc-sba
17+
- brcm,iproc-sba-v2
18+
19+
mboxes:
20+
minItems: 1
21+
maxItems: 8
22+
23+
required:
24+
- compatible
25+
- mboxes
26+
27+
additionalProperties: false
28+
29+
examples:
30+
- |
31+
raid0 {
32+
compatible = "brcm,iproc-sba-v2";
33+
mboxes = <&raid_mbox 0 0x1 0xffff>,
34+
<&raid_mbox 1 0x1 0xffff>,
35+
<&raid_mbox 2 0x1 0xffff>,
36+
<&raid_mbox 3 0x1 0xffff>,
37+
<&raid_mbox 4 0x1 0xffff>,
38+
<&raid_mbox 5 0x1 0xffff>,
39+
<&raid_mbox 6 0x1 0xffff>,
40+
<&raid_mbox 7 0x1 0xffff>;
41+
};

0 commit comments

Comments
 (0)